sending arbitrary uci commands #938
Unanswered
pallabbasu
asked this question in
Q&A
Replies: 1 comment
-
Hi. Implementing a custom command is reasonably straight-forward: Lines 1435 to 1447 in 5535067 However much of the machinery to parse moves etc. is useless in this particular use case, so I am not sure if you gain much from using python-chess. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I want to test my own fairy variant in fairy-stockfish and python-chess.
I want to send a few uci command to fairy-stockfish, without using chess.board(), as I do not wish any legality checking, also I am using symbols other than "pnbrqk". I simply wish to send uci commands to fairy-stockfish (or any uci engines).
Is there an easy way to do that in python-chess.
Say I want to send the following commands to begin with:
setoption name UCI_variant value myvariant
position startpos move e2e4
go movetime 3000
And get back the best-move.
best,
Pallab
Beta Was this translation helpful? Give feedback.
All reactions