r/ComputerChess • u/aniketsaurav18 • Sep 17 '24
Noob here. How to control the strength of stockfish engine?
I am using this engine - (link). I want to control the elo of the stockfish engine but after setting the Elo to a lower value, the UCI command still shows 1320 as the default. What does this mean, and is there another way to control the engine's strength? I am building a chess platform where users can play against a lower-strength version of the engine.
2
Upvotes
2
u/annihilator00 Sep 17 '24
Assuming it works like the real Stockfish, if you want
UCI_Eloto be enabled, you need to enableUCI_LimitStrengthhttps://github.com/official-stockfish/Stockfish/wiki/UCI-&-Commands#setoption
1
u/taoyx Sep 19 '24
From my own code: