A basic attempt at creating a game engine for HTML5 games.