Description
The win percentage calculation is incorrect.
Current State:
var win_percentage = n_wins / (((n_wins + n_losses) * 100) || 0);
This divides wins by (total_games * 100) instead of calculating the actual percentage.
Can I create a PR for this fix?
Example
Expected: 100%
Actual: 0.01%

Description
The win percentage calculation is incorrect.
Current State:
var win_percentage = n_wins / (((n_wins + n_losses) * 100) || 0);
This divides wins by (total_games * 100) instead of calculating the actual percentage.
Can I create a PR for this fix?
Example
Expected: 100%
Actual: 0.01%