Oblivious —the darkness within— is a quick prototype game made up for Ludum Dare's 16th compo. With the theme "Exploration" I thought about making a sort-of Dungeon Crawler game, but in the end went with the simpler "maze crawler" implementation. It uses depth-first search algorithm to build the maze and a recursive light handling function that takes care of changing the alpha of each maze square. The game is build-up entirely on DOM, and makes some use of Protype and Scriptaculous libraries for manipulating nodes and applying effects. You can read more about the game and my plans on the Oblivious post-mortem blog entry.
It still has room for lots of optimizations, the source isn't well commented (maybe not commented at all), but bear in mind I had less than 24 hours to put it all together, and I'll work around these issues as soon as possible (I don't really like sharing messed codes with peoples, though I love sharing things).
The last version of the code is the 0.0.2. It includes all the source (and the lily framework) in a neat packed .zip distribution. However, you'll have to download your share of the Prototype and Scriptaculous. You can also use Google Ajax Libs to handle them for you, so you won't have to worry about bandwidth, caching, gzipping or whatever.
The code is open-source and released under MIT licence. So, go ahead and make whatever changes you like, distribute it, share it, and most importantly, have fun coding. But if you make some changes on the code, improvements, or find some bugs, you know, the usual stuff, I would love to know.
This is a piece of code.lab() project. Take your time to see other interesting codes over there.
Website, code and lab project by Quildreen Motta | Icons from Tango Desktop Project.