Added the notion of game state.