refactor en gameState