Re-wrote most of the prototype using tdd to create the initial real js for the game.