Coding the GameState