py-stockfish / stockfish

Integrates the Stockfish chess engine with Python (Official fork)
https://py-stockfish.github.io/stockfish/
MIT License
30 stars 9 forks source link

Check for minimums and maximums when setting parameters #28

Closed kieferro closed 1 year ago

kieferro commented 1 year ago

For the most parameters which can be set with setoption name [NAME] value [VALUE] there are limits. They are also documented here. We should check if the limits are valid for the passed values when changing for example Skill Level or UCI_Elo.