This is the Arcade Game engine rewritten in Javascript.