nsp/JSkills

Keep track of players after using rating calculator

Closed this issue · 0 comments

Hey @nsp,
Today I was using the TwoTeamRatingCalculator class to calculate ratings for a team game, the problem is, once I do TwoTeamRatingCalculator.calculateNewRatings(), it returns a Map<IPlayer,Rating>. When it does that, I can't keep track of which player in that map corresponds to which player in the game. I used Player.getID() to keep track of my players before, but since the IPlayer interface does not have IDs, I lose track of who is who. Is there currently a way to find out?

Thanks,
Jake.