holomaze: collect much of the game state into a state struct.