Added JavaScript implementation of the game, using HTML5 canvas.