https://github.com/randomgamingdev/chesselole
Guess the Lichess ELO of a random chess game and see how well you fare
https://github.com/randomgamingdev/chesselole
Last synced: 9 months ago
JSON representation
Guess the Lichess ELO of a random chess game and see how well you fare
- Host: GitHub
- URL: https://github.com/randomgamingdev/chesselole
- Owner: RandomGamingDev
- License: gpl-3.0
- Created: 2024-11-24T18:53:14.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-26T00:15:32.000Z (about 1 year ago)
- Last Synced: 2024-11-26T00:28:03.960Z (about 1 year ago)
- Language: CSS
- Size: 599 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ChessELOLe

### Play the game here: https://randomgamingdev.github.io/ChessELOle
#### ChessELOle gets random games from lichess and gives you the game to guess the ELO of. Based on how close or far you are from the actual elos you get a reward or punishment determined by the following code:
```js
let reward = 2 * maxElo - 10 * (((Math.abs(whiteElo - whiteEloGuess) + Math.abs(blackElo - blackEloGuess)) * 0.028) ** 2);
if (reward < 0)
reward = -Math.log(Math.abs(reward)) / Math.log(1.005);
reward = Math.round(reward);
```
## UI:

This project uses the [`lichess-id-divider`](https://github.com/RandomGamingDev/lichess-id-divider) script and dataset for its random games.