You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Kind of a long shot, but you mentioned here that it would be pretty easy to implement multiplayer team support. Can you point me in the right direction?
The text was updated successfully, but these errors were encountered:
It's been a while, but I think the key is here:
https://github.com/dougz/trueskill/blob/master/trueskill.py#L351. Each
team node 't' is linked to the performance 'p' of a single player on that
line. If you want to have a team with multiple players, you modify the
SumFactor to include multiple performances, each with a weight
coefficient. These must add to 1. If you want to have two players on a
team then your SumFactor expression becomes something like SumFactor(t,
[p1, p2], [0.5, 0.5]). (Remember that 'p' here is "performance", not
"player".) If the players are not equally responsible for the team (eg,
one's the "captain" or something) then you might weight them unequally.
Apart from that it's just plumbing and figuring out how to express the
composition of the teams. Maybe instead of ranked players, you pass in
ranked teams, where each team has a list of players and a weight for each
player.
dz
Kind of a long shot, but you mentioned here that it would be pretty easy to implement multiplayer team support. Can you point me in the right direction?
The text was updated successfully, but these errors were encountered: