JS1k 2010 demo — by Pradheep Ravichandran

This is a simple maze game. The algorithm chooses a random starting point and random directions and continues till it reaches any end of horizontal axis.