In an environment where g++ and make are available, go to Ray's home directory and run make
command, which will generate an executable file.
Running ray without any command line options uses 1 thread and thinks for 10 seconds per move Ray has various command line options, you can change Ray's strength and time comsumption.
Option | Description | Note | |
---|---|---|---|
--playout < the number of playouts > | Setting the number of playouts per move | Use when you want to fix the strength. If you use playout , time , and const-time options simultaneously, only the last one is valid. |
|
--time < remaining time (seconds) > | Setting the amount of time to hold 1 game. | If you use playout , time , and const-time options simultaneously, only the last one is valid. |
|
--size < the size of the board > | Specify the size of the board. | If the boardsize command is sent via GTP, this option is not necessary to set. |
|
--const-time <thinking time (seconds) > | Setting the thinking time per move. | If you use playout , time , and const-time options simultaneously, only the last one is valid. |
|
--thread < the number of threads > | Setting the number of search threads. | ||
--komi < komi value > | Setting the komi value. | If the komi command is sent via GTP, this option not necessary to set. |
|
--handicap < the number of handicap stones > | Setting the number of handicap stones. | If the fixed_handicap command or the set_free_handicap is sent via GTP, this option is not necessary to set. |
|
--reuse-subtree | Reusing previous move search results. | This option makes Ray stronger and faster. | |
--pondering | Setting the pondering mode. | This option makes Ray stronger and faster. If this you use this option, the reuse-subtree option is automatically activated. |
|
--tree-size < the number of MCTS nodes > | Setting the number of MCTS nodes with the value of power of 2. (default value is 16384) |
||
--no-debug | Suppressing output of debug messages. | ||
--superko | Activating positional superko rule. |
If you have a powerful computer, I recommend following options.
./ray --pondering --tree-size 65536 --thread <the number of cores>