[Python] use chess.uci to change stockfish skill level

Discussão em 'Python' iniciado por Stack, Março 23, 2025.

  1. Stack

    Stack Membro Participativo

    Our chess game project uses chess.uci and the stockfish engine. We used engine = chess.uci.popen_engine("/some_address/stockfish") to start an engine. However, I want to know if there is a way to change this engine's skill level. Could I achieve that by passing parameters to engine.go()? I saw there are options such as movetime and depth. Some Stack Overflow post says that there is a "skill level" option in stockfish but I didn't find it. What I want to achieve is to match the engine's skill to the player's skill. Thanks!

    Continue reading...

Compartilhe esta Página