Belo is a command-line tool for managing player ratings using the Elo rating system. It is designed to be simple and easy to use, with a focus on the core functionality of managing player ratings. It allows you to containerize projects, add players, record match outcomes, and view player statistics in a neatly formatted table.
- Project Management: Initialize, activate, list, and deactivate multiple projects.
- Player Management: Add, remove, and list players within a project.
- Match Recording: Record match outcomes between players.
Note Belo is only tested on linux. Windows support is not guaranteed.
pip install belo
You can now use the belo
command to manage player ratings. Here are some example commands to get you started:
# Initialize a new project
belo init my_project
# Add players to the project
belo add player1
belo add player2
belo add player3
You can now record match outcomes between players and view player statistics. Here are some example commands:
# Record a match outcome
belo vs player1 gt player2
belo vs player2 eq player3
belo vs player3 lt player1
# View player statistics
belo head {optional n}
belo info player1
# Deactivate the project
belo deactivate
# Delete the project
belo delete my_project
Make sure to use only one thread when running
- This is because of a race condition in the current implementation of
belo
- Hopefully this will be fixed in the future..!
cargo test -- --test-threads=1