Install venv
.
sudo apt install python3-venv
Set up venv
. Install pip
dependencies and glicko2
submodule.
make init deps
Output the rankings and fairest match ups by running the main script.
Requires internet connection, as it currently fetches the Google Sheet every time.
./singles.py
./doubles.py
You can run the top-level script, e.g.
# Singles
./matchups.py benji norm
# Doubles
PONG_DOUBLES=1 ./matchups.py brandon thomas mal shane norm amos benji
NOTE: You can also run the script without player name arguments. Just set
the PLAYERS
variable in the .env
file, (see: "Filtering Players").
You can switch between modes by setting DOUBLES=1
in the .env
file.
When there are too many doubles pairings, you can filter by present players only.
Add this to a .env
file.
PONG_PLAYERS=player1 player2 player3 player4
- Test on Windows