added a test to determine the overall outcome of the game. Refactored the game so that it returns a status