Implemented GameStates into the game