This is a work in progress (very slowly). When a level is ready for testing (or, ahem, broken), I tweet it on @hangoverjsnews.
scripts/build/hangoverx.js and enable debug features:
scripts/build/hangoverx.min.js and disable debug features:
To run the game locally, you need to set up a local server to serve
index.html (this step is necessary due to Access-Control-Allow-Origin restrictions).
First install http-server if you haven't already:
npm install http-server
While editing a level, you can leave the local server running,
scripts/build/hangoverx.js in debug mode simply with
Adding a new level
- Create a new file in
levels/, perhaps as a copy of another level.
- Edit the file
scripts/game.jsand add the level to the list.
makeand reload the page in your browser.
We'd like to thank:
- Alexandre, Pierre-Jean, Camille, and the TIPsy team for brainstorming and testing
- Alexandre for the idea of Level 3 (collapsing room)
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.