worked on game state with GUI