utilize UCI_LimitStrength option in stockfish

707 Views Asked by At

I am working on a chess game and use UCI to communicate with stockfish 12. Right now I want to limit the engine's strength to a specific ELO rating. I know there are UCI_LimitStrength and UCI_Elo options in Stockfish, but these are commands. I wonder if there is any API that I can use to achieve my goal? I am currently using python-chess, which has a depth attribute to limit the engine strength, but I have no clue how does a depth match to a Elo rating. Thanks.

0

There are 0 best solutions below