GAMBOT
Arena tournament manager cobbled together for use at the local chess club.
Created by
Björn W Nauclér ([email protected])
Building
bin/build.sh all
- Builds server and tools
Usage
Output of bin/gambot -h
:
Usage of bin/gambot:
-d string
specify database to open (default ".gambot.db")
-p int
port number to listen (default 9001)
-r reset admin password
All files generated by gambot are stored in data/
. Use bin/clean.sh
for a full reset.
For API reference, take a look at APIREF.md.
Dumps the database contents to stdout
Output of bin/dbdump -h
:
Usage of bin/dbdump:
-a dump admin data
-d string
specify database to open (default ".gambot.db")
-j JSON format
-p dump player data
-t dump tournament data
Sets/resets all players ELO to a specific value
Output of bin/resetelo -h
:
Usage of bin/resetelo:
-d string
specify database to open (default "data/gambot.db")
-e int
ELO value to set (default 1000)
NB! This is destructive and will wipe all players ELO. There is currently no way to revert this change or to manually adjust the values.
Removes pidfile, all logs and databases from the data/
directory.
Invoke with -force
for a more aggressive approach. (Use with caution.)
Contributing
Please see CONTRIBUTING.md for best practices and information on how to get involved in the project.
Pull requests welcome!
License
MIT (do whatever you want)