A sample html5 game logic and render test