Awesome.
Thanks.
An easy change to implement is to also show available parameters that can have different values.
With "gensfen" you can also specify a few other things:
https://github.com/nodchip/Stockfish/bl ... r.cpp#L958
Also please double check if what I say below is actually right.
examples:
random_move_minply will specify when the first random move can happen.
random_move_maxply
random_move_count: number of random moves
random_move_like_apery "x": 1 in x chance for a random move to happen. I think it will only happen between random_move_minply and maxply.
Google translate below:
Code: Select all
"// Phase to randomly select one from legal hands
if (
// 1. A mode that performs random_move_count random moves between random_move_minply and random_move_maxply
(random_move_minply != -1 && ply <(int)random_move_flag.size() && random_move_flag[ply]) ||
// 2. A mode to perform random move of random_move_count times after exiting the track
(random_move_minply == -1 && random_move_c <random_move_count))"
I guess that means if you set random_move_minply to -1, it will perform random_move_count consecutively.
And if you have set it to another value it will do the random moves randomly between random_move_minply and maxply.
random_multi_pv "y": Pick a random move from the multipv.
random_multi_pv_diff "z": random move from multipv can't be more than "z" worse than best move in multipv.
write_minply: When it will start writing out fens. Default is 16 but can be any number.
write_maxply: If a game exceeds maxply it gets adjudicated as a draw. Default is 400.