https://sites.google.com/site/gaviotach ... eding_edge
Readme flle
Code: Select all
# RRSIM
Simulation of round robin tournaments.
Model based on the program Ordo
### Compilation
Program can be compile and installed in GNU/Linux with
`make`
`make install`
### Quick Example
`rrsim -i input_example.csv -s100000`
Other switches provide the ability to determine white advantage, draw rate, whether colors are reversed, and how many legs the round-robin tournament has (see below).
### Input file
Input files are comma separated values. They are text files with two colums.
The first one contains the name of the engine with quotes, and in the second one, its rating.
For instance, it should look like this:
```
"Engine A", 3200
"Engine B", 3100
"Engine C", 3050
"Engine D", 3000
"Engine E", 2950
"Engine F", 2900
"Engine G", 2700
"Engine H", 2700
"Engine I", 2200
"Engine J", 2200
"Engine K", 2200
```
### Help reported by switch -h
```
Program to simulate round robin tournaments
quick example: rrsim -i input_example.csv -w30 -d30 -s100 -p simulated.pgn
- Processes input_example.csv
- White advantage is 30 points, draw rate is 30%, simulated 100 times
- Games simulated are saved in simulated.pgn
usage: rrsim [-OPTION]
-h print this help
-v print version number and exit
-L display the license information
-q quiet (no output except error messages)
-i <file> input file, with comma separated value format
-p <file> output file, containing all simulated games (optional)
-w <num> white advantage (rating points), default = 0.0
-d <num> draw rate for equal opponents (%), default = 50.0
-s <num> number of simulation repeats, default = 1
-r starts with reversed colors, (optional)
-l round robing legs, default = 1
Copyright (c) 2015 Miguel A. Ballicora
Thereis NO WARRANTY of any kind
```
Output example (work in progress)
Code: Select all
0 10 20 30 40 50 60 70 80 90 100 (%)
|----|----|----|----|----|----|----|----|----|----|
[*************************************************]
Tournament engines = 11
Tournament boards = 5
Tournament games/leg = 55
Tournament rounds/leg = 11
Tournament legs = 1
Tournament total games = 55
Tournament total rounds = 11
Simulations = 100000
Total games = 5500000
draw rate (equal strength) = 50.0%
White advantage = 0.0
First Engine (Engine A: 3200.0) Stats:
won = 56411
shared = 17373
loss = 26216
total = 100000
won outright % = 56.4
won shared % = 17.4
Miguel