Initial game logic and game state object implemented.