minor changes
Added game state logic and updated documentation