HangoverX is an exciting(?) Meta-Javascript Adventure Game wherein you guide the dashing, steadfast Mr. Klu(less?) through a mysterious world, wherein, using only his trusty computer and the TURING-COMPLETE power of Javascript, he must literally ALTER HIS REALITY in order to find his freedom! You must literally edit and re-execute the very Javascript running the game in your browser to save Mr. Klu(less?) from this dark and confusing reality!
The game presents you with a roguelike-like playing environment and a console window with the JavaScript code generating each level. As loaded, each level is unbeatable, and most of the JavaScript is blocked from editing. The challenge is to open a path to the next level using only the limited tools left open to you.
Run
make
to merge the JavaScript files into scripts/build/hangoverx.js
(and enables debug features).
make release
merges and minifies the JavaScript files into scripts/build/hangoverx.min.js
(and disables 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:
sudo npm install http-server
Then run:
make runlocal
HangoverX is based on (or a total rip-off of) another game called Untrusted by Alex Nisnevich and Greg Shuflin.
We'd like to thank:
- Alex for brainstorming
- Pierre-Jean for brainstorming
- Gregory for not saying "you suck" (I know it wasn't easy but you did it!)
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.