Open Eventlesstew opened 5 months ago
It was actually added today =)
Ik, but you can't select it when playing against computer players.
Fabian provided guidance about how to use Fairy-Stockfish variant configuration for those interested in analyzing such games on their PCs:
Just learned that checkshogi has been added. If you need an engine for it, Fairy-SF should work, assuming I understand the rules correctly. Variant config could e.g. be as simple as:
[checkshogi:shogi] checkCounting = true
If the variant should be available as built-in for use in lishogi, just let me know, should be no problem to add that.
... and I confirmed that from a Linux command line, his advice is accurate... input:
make build ARCH=x86-64-bmi2 largeboards=yes
./stockfish
usi
setoption name VariantPath value checkshogi.ini
setoption name USI_Variant value checkshogi
position sfen ln1gk1s1l/4rg3/p2spp1p1/1p1p2p1p/3N1n3/P1P3P2/1P1PPP1PP/1S1GGS2R/L3K2NL b BPb 39
d
go depth 1
based upon position https://lishogi.org/NSUhWdAz#38 produces output:
info string variant checkshogi files 9 ranks 9 pocket 10 template shogi startpos lnsgkgsnl/1r5b1/ppppppppp/9/9/9/PPPPPPPPP/1B5R1/LNSGKGSNL[-] w 0 1
+---+---+---+---+---+---+---+---+---+
| l | n | | g | k | | s | | l |9 [b]
+---+---+---+---+---+---+---+---+---+
| | | | | r | g | | | |8
+---+---+---+---+---+---+---+---+---+
| p | | | s | p | p | | p | |7
+---+---+---+---+---+---+---+---+---+
| | p | | p | | | p | | p |6
+---+---+---+---+---+---+---+---+---+
| | | | N | | n | | | |5
+---+---+---+---+---+---+---+---+---+
| P | | P | | | | P | | |4
+---+---+---+---+---+---+---+---+---+
| | P | | P | P | P | | P | P |3
+---+---+---+---+---+---+---+---+---+
| | S | | G | G | S | | | R |2
+---+---+---+---+---+---+---+---+---+
| L | | | | K | | | N | L |1 * [PB]
+---+---+---+---+---+---+---+---+---+
a b c d e f g h i
Fen: ln1gk1s1l/4rg3/p2spp1p1/1p1p2p1p/3N1n3/P1P3P2/1P1PPP1PP/1S1GGS2R/L3K2NL[PBb] w - - 1+1 0 20
Sfen: ln1gk1s1l/4rg3/p2spp1p1/1p1p2p1p/3N1n3/P1P3P2/1P1PPP1PP/1S1GGS2R/L3K2NL b PBb 39
Key: EADF29CC15E431D1
Checkers:
Chased:
info string classical evaluation enabled
info depth 1 seldepth 1 multipv 1 score mate 1 nodes 93 nps 46500 tbhits 0 time 2 pv B*7c
bestmove B*7c
https://lishogi.org/@/FrogfuciusBot is now deployed with Fairy-Stockfish and accepts checkshogi game requests.
Since Fairy Stockfish can play 3-check Chess just fine, I think it makes sense that it can also play Checkshogi as well.