a simple game in HTML5