An HTML5 game dev exercise