Coder Social home page Coder Social logo

jraleman / hometrap Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 2.36 MB

Captivating experience for families via a printable version of an escape game combined with interactivity with website.

Home Page: https://jraleman.com/hometrap

License: GNU Affero General Public License v3.0

HTML 7.62% JavaScript 81.55% CSS 10.83%
hackathon escp escape-room escape-sequences

hometrap's Introduction

Hometrap - Printable escape room for families

The goal of the project was to create a captivating experience for families via a printable version of an escape game combined with interactivity with website. The physical version of the product includes a personalized pirate kit with a treasure box, a pirate map, a personalized wanted poster, riddles, loot, and more...

42 Hackathon ESCP

42 Silicon Valley partnered with ESCP to do a 24 hour hackathon October 16th through October 17th. This way, 42 students can experience how it is to work with business students.

ESCP Europe is the oldest business school in the world. Its mission is to develop the next generation of transnational business leaders, preparing them to embrace the opportunities offered by cultural diversity. With six urban campuses in Berlin, London, Madrid, Paris, Turin and Warsaw, ESCP Europe's true European Identity enables the provision of a unique style of cross-cultural business education and a Global Perspective on international management issues.

Team

Updating Sections

If you want to update the poster generator (adding more sections to it), follow these steps:

index.html

Open up the index.html file with a text editor, and add a new section. For example, if I want to add a Secret Weapon section, I would do it like this:

html sections

  • Create a unique id in the div tag id="secretWeapon".
  • To set up a max number of characters that can be entered, change the value of max="50"; where 50 is the number of characters.

css/styles.css

Next, add the id of the section to the following css rule:

css rule

  • Add it like line 143 and 152.

js/scripts.js

Finally, create a new list in the JavaScript function generateDescription() and pass the id and the list as parameters to the randomizeText() function:

js random text

  • The list can be named however you want, but try to keep consistency.

If you want to toggle the validation of maximum number of characters for the sections, uncomment line 123, 124, and 125.

js max char

Known Issues

  • Characters cap for editable text don't work in Firefox.
  • Improve random number generator algorithm.

License

This project is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. For more information, see http://www.gnu.org/licenses/

hometrap's People

Contributors

jraleman avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.