Updated .gitignore.
Refactored GameState.