Framework for writing HTML5 games in CoffeeScript using TDD