Skip to content

How to use Fairy Chess with Stockfish in python for variant Antichess? #359

Answered by ianfab
JernejHenigman asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, I converted the issue to a discussion as issues are reserved for feature requests and bug reports. You can ask questions either here in the discussions or on the discord server linked on the project page.

Now back to the question. If by "playing" you refer only to the support of the rules, then you can set up antichess positions using pyffish and e.g. let it return the available legal moves. Perhaps the easiest way to get into how to use it is to have a look at the unit tests https://github.com/ianfab/Fairy-Stockfish/blob/master/test.py.

Actually running the engine, i.e., letting it evaluate the position and determine the best move, is only possible with the native engine. If you want…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@JernejHenigman
Comment options

@ianfab
Comment options

@JernejHenigman
Comment options

@ianfab
Comment options

@JernejHenigman
Comment options

Answer selected by ianfab
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #358 on September 14, 2021 15:40.