catching errors and stopping the game
moving the interval into the board so it can easily be reset
adding docblocks to all files