Skip to content
Fabian Fichter edited this page Sep 19, 2017 · 5 revisions

Perft based generation + position score filtering

test example: 2 ply book for standard chess

uci
setoption name multipv value 4
ucinewgame
position startpos
generate 2 perft
filter depth 8
size
print

4 ply book for standard chess

uci
setoption name multipv value 4
ucinewgame
position startpos
generate 4 perft
filter depth 12

MultiPV based generation

3 ply crazyhouse book

The following input generates and prints a small crazyhouse opening book of depth 3 ply, where a search of one second with multipv=5 is performed on each position. Only moves within a range of 50 * 0.9 ^ depth centipawns compared to the best move are considered during the generation of the book tree.

uci
setoption name MoveScoreRange value 50
setoption name DepthFactor value 90
setoption name MultiPV value 5
setoption name UCI_Variant value crazyhouse
ucinewgame
position startpos
generate 3 movetime 1000
print
Clone this wiki locally