updateScores method
Returns a copy of the GenericGame with the scores
added to
allRoundScores
Implementation
GenericGame updateScores(Map<PlayerID, double> scores) => copyWith(
allRoundScores:
allRoundScores.add(players.map((p) => scores[p.id]!).toIList()));