A few updates to drawing the game, fixed broken tests and added requirejs - though it is not used yet.