Skip to content

Commit 8ac79bc

Browse files
committed
Use Windows paths in one engine example
For niklasf#809.
1 parent 7f7e1cb commit 8ac79bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/engine.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Example: Let Stockfish play against itself, 100 milliseconds per move.
3030
import chess
3131
import chess.engine
3232
33-
engine = chess.engine.SimpleEngine.popen_uci("/usr/bin/stockfish")
33+
engine = chess.engine.SimpleEngine.popen_uci(r"C:\Users\xxxxx\Download\stockfish_14_win_x64\stockfish_14_win_x64_avx2.exe")
3434
3535
board = chess.Board()
3636
while not board.is_game_over():
@@ -46,7 +46,7 @@ Example: Let Stockfish play against itself, 100 milliseconds per move.
4646
import chess.engine
4747
4848
async def main() -> None:
49-
transport, engine = await chess.engine.popen_uci("/usr/bin/stockfish")
49+
transport, engine = await chess.engine.popen_uci(r"C:\Users\xxxxx\Download\stockfish_14_win_x64\stockfish_14_win_x64_avx2.exe")
5050
5151
board = chess.Board()
5252
while not board.is_game_over():

0 commit comments

Comments
 (0)