Simple HTML5 canvas logic game.