A tracker to calculate the rating of each player in the local fuseball tournament. Calculations are based on the Elo rating. Points are assigned or deducted based on the weighted average which depends on the score difference. The tracker provides statistics per player and tournament rankings.
How to use:
-
Install Python. For example, run
winget install python
in your PowerShell if you are running Windows. -
Clone this repository by running in your command line:
git clone https://github.com/framesfree/BFtracker.git
- Add your matches to the
scores.scv
in the following format:
Player1,Player2,Player3,Player4,Score1,Score2
Where Player1
and Player2
are in the Team 1 and Player3
and Player4
are in the Team 2.
- Run the script:
python3 main.py
The script will calculate and output the ratings and log personal development for every player in an xlsx file in the player_stats
folder.
Here is the typical console output:
- Change the input file from CSV to XLSX
- Adjust Elo factor according to user prompt
- Improve performance