This commit is contained in:
Miloslav Ciz 2024-03-08 16:56:58 +01:00
parent f920115b91
commit 75f99e7b81
69 changed files with 2008 additions and 1791 deletions

4
elo.md
View file

@ -67,7 +67,7 @@ int main(void)
for (int i = 0; i < PLAYERS; ++i)
{
players[i].elo = 1000; // give everyone inital Elo of 1000
players[i].elo = 1000; // give everyone initial Elo of 1000
// normally distributed skill in range 0-99:
players[i].skill = 0;
@ -144,4 +144,4 @@ The code may output e.g.:
#100: Elo: 788 (skill: 22%)
```
We can see that Elo quite nicely correlates with the player's real skill.
We can see that Elo quite nicely correlates with the player's real skill.