game state listener