Refactored Game class. Added javadoc comments.