tage64 / chess-cli

A repl to edit and analyse chess games.
GNU General Public License v3.0
1 stars 0 forks source link

Improving analyses feature. #13

Closed GabrieleBattaglia closed 1 month ago

GabrieleBattaglia commented 1 month ago

My idea is to add value after "a" command that specify how many seconds the analyses should last, in order to save time and avoid to give a stop. You could set this value also as a variable to configure somewhere like set analysis time 5 For 5 second each time you give a command. I'd like also to have the best move as a single output

tage64 commented 1 month ago

Solved by 025bb52.

You can now achieve this with the --time argument to analysis start:

analysis start --time 5

Will analyze for 5 seconds for every move.

To control the number of lines shown by analysis show (or a for short) use the -n flag to analysis start:

analysis start --n 1

Actually, the number of variations analyzed impacts analysis strength, at least for Stockfish, so it may be dezirable to use -n 1.