burtonjc / foos-net

Leader board for foosball games played in pairs.
1 stars 5 forks source link

Lower player in pair is loosing more points when match is lost #5

Closed burtonjc closed 11 years ago

burtonjc commented 11 years ago

The higher rated player should proportionally lose more and gain less points per loss and win respectively. Right now, the higher player is gaining less, but they are also loosing less. This is because the proportion is being calculated every time with the assumption that the pair won. It needs to be reversed for losses. See node/helpers/elo.coffee.