fairy-stockfish / Fairy-Stockfish

chess variant engine supporting Xiangqi, Shogi, Janggi, Makruk, S-Chess, Crazyhouse, Bughouse, and many more
https://fairy-stockfish.github.io/
GNU General Public License v3.0
612 stars 191 forks source link

How to embed a variant in PlayStrategy? #671

Closed Rechefiltr-is-Fire closed 1 year ago

Rechefiltr-is-Fire commented 1 year ago

(Particularly Nighty Zones and Faceoff, I write that here to get you notified)

gbtami commented 1 year ago

Why don't you ask it on https://github.com/mind-sports-games/lila ?

Rechefiltr-is-Fire commented 1 year ago

I’ve notified Statmatt (one of PlayStrategy devs) who said

Your best hope is to get this variant into the FairyStockfish project: github.com/fairy-stockfish/Fairy-Stockfish If you can do that, then it makes the job of adding it to PlayStrategy much easier and it would bring a high quality AI to play against/analyse games.

Imported from PlayStrategy PM.

Why don't you ask it on https://github.com/mind-sports-games/lila ?

https://github.com/Mind-Sports-Games/lila/issues/597#issue-1778824338

😑😑😑

ianfab commented 1 year ago

There are two different levels of "supported" variants in Fairy-SF:

Built-in variants generally are the easiest to handle for projects using Fairy-SF, but configurable variants should usually also not be a problem as you can e.g. see in use on pychess.

I generally won't accept newly invented variants as built-in variants unless there are very good reasons to do so, because built-in variants should be well established games. And for variants that are supported via configuration there is no need for code changes as everyone can define their own INI.

So only if playstrategy

  1. has serious plans to add a specific variant AND
  2. does not want to support variants via INI configuration

then it could at least be considered to add such a new variant to the built-in ones, but I doubt that will happen (as they also focus on relevant variants) and generally would not be much in favor of it.