A simple JavaScript game.