changed PlayersInGame from Array to Map