lucasart / c-chess-cli

Command Line Interface for UCI Chess engines written in C
GNU General Public License v3.0
70 stars 9 forks source link

Validate concurrency #57

Closed petur closed 1 year ago

petur commented 2 years ago

If concurrency isn't a positive integer, c-chess-cli hangs forever in the main thread loop.

This can be tested with:

./c-chess-cli -engine cmd=stockfish -engine cmd=stockfish -each tc=1+0 -games 1 -concurrency 'a'