An HTML5 game and engine