end game state redefined, game working