Implemented game states.