peirvine / frolf-manager

GNU General Public License v3.0
0 stars 0 forks source link

There should be way to simulate ELOs #15

Closed peirvine closed 9 months ago

peirvine commented 10 months ago

A request from a player (Benton) was to have a way to simulate rounds and figure out elo changes based on performance. This should be doable

The steps for this are:

  1. Get current and make a copy of current and historical elos in league/simuation/user.Displayname/... where ... is the same db layout as the league. The displayName is to handle multiple users at the same time in the same league playing with the tool.
  2. Take an input of either a udisc csv or manual entry
  3. Run identical elo calculations and save result to the league/simulation/userDisplayname
  4. Display the changes
  5. Present the user two options: 1) Start Over (goto step 1) 2) add another round (goto step 2)

Check if user created timestamp is more than 24 hours old, delete and restart