You are browsing as a guest. Sign up (or log in) to start making projects!

5h 40m 59s logged

ELO system! let’s go!!

At the end, I did add an ELO system. Well, it’s not really ELO, it’s Glicko.

I used the glicko2-lite library, which is stateless unlike other glicko implementations I found. I wanted a stateless one because I’m saving the data on the DB anyways, so making it stateful would only make it use more resources (primarly RAM).

You start with a rating of 1500. After every match your rating will go up/down depending on whether you win or lose. How much you win or lose depends on how many matches you have played (the first one are worth a bit more to get you to the optimal points), and depending on the rating of your oponent.

If you win against someone with a bigger rating than yours, you’ll gain way more points than if you win agains someone around your rating or less.

I also added a settings page so you can change your name and username, along with a page to change your password.

Below is a small video showing how the ELO Glicko system works:

What remains is just to also add the name/username change for bots and improve the docs.

I also made a Stockfish bot which you can try to play against. (Keyword: try, because it’s probably almost impossible)

0
55

Comments 0

No comments yet. Be the first!