footyrate Svelte Themes

Footyrate

A website to compare and rate footballers

FootyRate

A website to compare footballers, inspired by The Social Network movie.

Backend: go

Backend URL: Render

Frontend: Svelte

Frontend URL: Vercel

How it works?

A base ELO rating of 1400 is given to all the players.

When two players are compared, their ratings change according to the given formula.

ELO_DIFFERENCE = WINNER_CURRENT_ELO - LOSER_CURRENT_ELO

Expected = 1 / (10 ** (ELO_DIFFERENCE/400) + 1)

K = (10 if ROUNDS > 30, 20 if ROUNDS > 20, 30 if ROUNDS > 10, 40 if ROUNDS <= 10)

ELO_change = K * (1 - expected)

winner_ELO += ELO_change
loser_ELO -= ELO_change

TODO

  • Implement variable K value
  • Standings
  • Add styling to standings
  • Left and Right button to select players
  • Database to have persistent ratings
    • Switch to mongoDB
  • Responsive website
  • Reduce image size for faster loading
  • Better images without watermark

Top categories

Loading Svelte Themes