Added a simpler version of the GameState class from a previous commit.