jrasm91 / ping-pong-rankings

0 stars 0 forks source link

Streaks #10

Open FrostJr opened 6 years ago

FrostJr commented 6 years ago

It appears that win/lose streaks are the highest streak positive or negative vs a given player both incurring the opposite win/lose.

image

jrasm91 commented 6 years ago

Streak is currently calculated backwards. Match order should be flipped first.

See line 45 in player-detail.component.ts

https://github.com/jrasm91/ping-pong-rankings/blob/95d89aac75620b0f36b6ca169eaafcb5723ec5ec/src/app/views/player-detail/player-detail.component.ts#L45