There are many ways to do that, but a very simple one (which I stole from HoiChess for the Fairy-Max package) is to use pod2man, and provide it as a .pod file. In fact the fairymax.pod file could be a useful template as Fairy-Max and SjaakII serve very similar functions. Although I understand that Sjaak also has its own command-line interface which might deserve some explanation.Evert wrote:Yes. I've done that in the past, but I'll need to refresh my memory of how to make a manpage. It's not too hard, from what I remember (I didn't use groff though).
Sjaak II - beta release!
Moderator: Ras
-
hgm
- Posts: 28503
- Joined: Fri Mar 10, 2006 10:06 am
- Location: Amsterdam
- Full name: H G Muller
Re: Sjaak II - beta release!
-
Ferdy
- Posts: 4853
- Joined: Sun Aug 10, 2008 3:15 pm
- Location: Philippines
Re: Sjaak II - beta release!
I am testing now the beta1 on mini shogi. Interesting play
.
Here is an issue that I found, its on repetition. I don't know if this was addressed in beta 2. I can't download beta2 at the moment "Not Found".
Here is an issue that I found, its on repetition. I don't know if this was addressed in beta 2. I can't download beta2 at the moment "Not Found".
Code: Select all
[Event "Computer Chess Game"]
[Site "INTEL-PC"]
[Date "2014.11.20"]
[Round "4"]
[White "Sjaak II 111M"]
[Black "Shokidoki Yokohama T04"]
[Result "0-1"]
[TimeControl "180+1"]
[Variant "shogi"]
[FEN "rbsgk/4p/5/P4/KGSBR[-] w 0 1"]
[SetUp "1"]
{--------------
r b s g k
. . . . p
. . . . .
P . . . .
K G S B R
white to play
--------------}
1. Gc2 Bc4 {+0.68/18 5:51} 2. Gb2 {-0.24/18 7:20} Sd4 {+0.20/17 1:55} 3.
Bc2 {-0.36/18 4:39} Rb5 {+0.12/17 4:04} 4. Sd2 {+0.16/16 2:31} Ra5
{-0.08/16 4:07} 5. Rc1 {+0.16/16 2:29} Rb5 {-0.20/16 1:53} 6. Ga3
{+0.80/16 3:46} Be2 {-0.44/16 2:30} 7. Bb3 {+0.44/17 3:50} Gc5
{-0.32/17 4:59} 8. Rxc5+ {+0.28/16 1:52} Rxc5 {-0.20/17 2:09} 9. Gb4
{+0.76/16 3:12} Bd1+ {-0.68/16 4:10} 10. Bxd1 {+1.20/16 4:57} R@c1
{-1.28/16 3:33} 11. G@b1 {+1.16/17 5:29} Rxd1+ {-1.16/16 3:34} 12. Gxc5
{+1.16/15 3:15} B@b2 {-1.16/14 2:20} 13. Kxb2 {+1.72/1} +Rxd2
{-1.12/14 4:28} 14. Ka1 {+1.04/14 4:11} Sxc5 {-1.08/13 2:18} 15. B@b2
{+1.12/13 7:55} S@d4 {-1.16/13 4:00} 16. R@b5 {+1.12/13 2:06} G@d5
{-0.96/15 3:58} 17. B@a5 {+1.24/13 1:58} +Rd3 {-1.08/15 3:15} 18. Be1+
{+0.84/17 4:08} Sc4 {-0.88/16 2:23} 19. Rb4+ {+0.96/16 6:05} +Re3
{-0.60/16 4:21} 20. +Bd1 Sdc3 {-1.00/11 2:16} 21. Bxc3 {+1.70/12} Sxc3
{+0.56/12 3} 22. +Ra4 {-0.52/13 7} B@d4 {+0.96/11 0.9} 23. +Bc1
{-0.84/13 9} Sd2 {+0.72/10 1.2} 24. +Bb2 {-0.95/12 6} Bxb2 {+2.88/10 0.9}
25. Gxb2 {-0.93/12 6} B@d4 {+3.48/10 0.7} 26. S@b1 {-2.79/11 6} Bxb2
{+8.80/11 1.7} 27. Kxb2 {-7.67/12 8} G@c3 {+9.24/11 4} 28. Ka3 {-6.49/11 5}
Gc2 {-400.00/11 9} 29. B@b3 {-6.22/12 7} Gxb1 {+7.24/9 0.5} 30. B@c4
{-4.98/12 4} S@b2 {+5.68/9 0.9} 31. Kb4 {-8.19/2} +Rc3 {+3.96/10 2.1} 32.
Kb5 {-2.83/13 13} Gd4 {+3.32/10 0.5} 33. Ka5 {+0.14/14 8} Gxc4
{+2.60/10 0.5} 34. Bxc4 {-0.17/13 4} B@d5 {+1.68/9 0.5} 35. Bxd5+
{+3.34/12 3} Kxd5 {+0.00/1 0.1} 36. B@b3 {+3.24/12 6} B@c4 {+0.88/10 1.2}
37. Bxc4 {+3.34/12 5} +Rxc4 {+0.88/9 0.1} 38. +Rxc4 {+3.34/12 5} Kxc4
{-0.44/9 0.6} 39. B@b5 {+1.93/11 5} Kb3 {-2.16/10 1.7} 40. R@b4
{+1.71/11 5} Kc2 {-0.60/11 0.7} 41. Ba4+ {+2.43/11 4} Kd3 {-0.52/11 0.8}
42. +Bb5 {+13.21/11 7} Kc2 {+8.68/8 0.4} 43. +Ba4 {+159.99/2 0.1} Kd3
{-0.52/11 0.2} 44. +Bb5 {+159.99/2 0.1} Kc2 {+8.76/9 1.4} 45. +Ba4
{+159.99/2 0.1} Kd3 {-0.52/11 0.2}
{False draw claim: '3-fold repetition'} 0-1-
Evert
- Posts: 2929
- Joined: Sat Jan 22, 2011 12:42 am
- Location: NL
Re: Sjaak II - beta release!
Oops, I forgot to change the "win64" to "win" in the download link. Fixed now.Ferdy wrote:I am testing now the beta1 on mini shogi. Interesting play.
Here is an issue that I found, its on repetition. I don't know if this was addressed in beta 2. I can't download beta2 at the moment "Not Found".
I didn't touch anything to do with shogi, so the issue is still there. The problem seems to be two-fold: scoring the third (rather than fourth) repetition, and scoring it incorrectly (as a draw). In the search, repetitions are disallowed (or should be - I'll double check that) but at the root they are still detected, and claimed. I'll have a look at that.
Thanks for testing!
-
hgm
- Posts: 28503
- Joined: Fri Mar 10, 2006 10:06 am
- Location: Amsterdam
- Full name: H G Muller
Re: Sjaak II - beta release!
Sjaak manages a fair number of mini-Shogi wins against Shokidoki, at 20-min sudden-death on my 2.4GHz laptop. I had it play all night, and it is currently 36-7 in favor of Shokidoki. I did not check for repeating games, though.
-
Evert
- Posts: 2929
- Joined: Sat Jan 22, 2011 12:42 am
- Location: NL
Re: Sjaak II - beta release!
I can't load the PGN in XBoard. It variously makes the Gold disappear after being captured (leading to an illegal move claim when it's dropped at move 11), or complains about a bad FEN if I change the variant name to "mini" in the PGN. If I delete the FEN it sets up the orthochess start position (even if I specify -variant mini on the commandline) and complains "illegal move: 1. Gc2". If I set the variant to 5x5+5 shogi in the "New Variant" dialog box and load the file by hand, it still complains about an illegal first move...
-
Ferdy
- Posts: 4853
- Joined: Sun Aug 10, 2008 3:15 pm
- Location: Philippines
Re: Sjaak II - beta release!
I use winboard, I have a "saved settings.ini" file and I have this as one of entries there.Evert wrote:I can't load the PGN in XBoard. It variously makes the Gold disappear after being captured (leading to an illegal move claim when it's dropped at move 11), or complains about a bad FEN if I change the variant name to "mini" in the PGN. If I delete the FEN it sets up the orthochess start position (even if I specify -variant mini on the commandline) and complains "illegal move: 1. Gc2". If I set the variant to 5x5+5 shogi in the "New Variant" dialog box and load the file by hand, it still complains about an illegal first move...
Code: Select all
/firstChessProgramNames={"Shokidoki" -fcp "sdk" -fd "../Shokidoki" @mini.ini
"Shokidoki Yokohama T04" -fcp "sdk.exe" -fd "C:\mini-Shogi-3\Shokidoki" /firstTimeOdds=4 /fn="Shokidoki Yokohama T04" @mini.ini
"TJ Shogi" -fcp "TJshogi5x5" -fd "../TJ" @mini.ini
"Nebiyu" -fcp "NebiyuAlien" -fd "../Nebiyu" @mini.ini
"Lima v1-41 x64 popcnt" -fcp "Lima_v1-41-x64-popcnt.exe" -fd "C:\MyFiles\Chess\engines\nobook\Shogi\Lima_19" /fn="Lima v1-41 x64 popcnt" @mini.ini
"sjaakii-w64-sse42.exe" -fd "C:\MyFiles\Chess\engines\nobook\Shogi\sjaakii-beta1-win64" -variant shogi @mini.ini
}The mini.ini file has this.
Code: Select all
;
; special settings required for mini-Shogi
;
; overrule board dimension and holdings size
;
/variant=shogi
/boardWidth=5
/boardHeight=5
/holdingsSize=5
;
; tell WB which pieces can participate (with normal abbreviation)
;
/pieceToCharTable="P.BR.S...G.+.++.+Kp.br.s...g.+.++.+k"
;
; give file for defining initial position
;
/loadPositionFile="mini.fen"
[...]
-
hgm
- Posts: 28503
- Joined: Fri Mar 10, 2006 10:06 am
- Location: Amsterdam
- Full name: H G Muller
Re: Sjaak II - beta release!
The problem is the -pieceToCharTable, which is inherited from Shogi and still containst Lance and Knight. This leaves no space for Silver and Gold in the holdings, so they are demoted to Pawn on capture, and subsequently cannot be dropped (as S or G).
When Sjaak has already configured XBoard for mini-Shogi, it should be possible to paste the PGN without tags.
I guess on loading the PGN the variant tag causes a reset to standard Shogi. XBoard 4.8 already makes an attempt to guess the board size from the FEN, (Although I was not completely happy with that, and did not announce it as a new feature.) But is does not guess at the pieceToCharTable.
Loading of engine-defined variants is still a problem area. I'd rather not have the engine-defined name ('mini' in this case) in the variant tag, as that would make the PGN useless in absence of the engine. So listing it as 'shogi' and deducing 5x5 from the FEN would be the logical thing to do. I don't want to store pieceToChar info in the PGN tags, as it is XBoard specific.
I guess what is needed is that it takes the pieceToChar from the parent variant to interpret the FEN, and eleminates all pieces not occurring in the initial position (and their Shogi-promoted versions) from that pieceToCharTable. And if there are pieces not in the parent variant, they should be defined in the VariantMen tag, and must be added. From this it should be able to deduce how large the holdings must be (which it cannot see from the FEN).
When Sjaak has already configured XBoard for mini-Shogi, it should be possible to paste the PGN without tags.
I guess on loading the PGN the variant tag causes a reset to standard Shogi. XBoard 4.8 already makes an attempt to guess the board size from the FEN, (Although I was not completely happy with that, and did not announce it as a new feature.) But is does not guess at the pieceToCharTable.
Loading of engine-defined variants is still a problem area. I'd rather not have the engine-defined name ('mini' in this case) in the variant tag, as that would make the PGN useless in absence of the engine. So listing it as 'shogi' and deducing 5x5 from the FEN would be the logical thing to do. I don't want to store pieceToChar info in the PGN tags, as it is XBoard specific.
I guess what is needed is that it takes the pieceToChar from the parent variant to interpret the FEN, and eleminates all pieces not occurring in the initial position (and their Shogi-promoted versions) from that pieceToCharTable. And if there are pieces not in the parent variant, they should be defined in the VariantMen tag, and must be added. From this it should be able to deduce how large the holdings must be (which it cannot see from the FEN).
-
hgm
- Posts: 28503
- Joined: Fri Mar 10, 2006 10:06 am
- Location: Amsterdam
- Full name: H G Muller
Re: Sjaak II - beta release!
With your current tar ball I get:
Code: Select all
-- Detecting C compiler ABI info - done
-- Subversion was not found.
-- Could NOT find Readline (missing: READLINE_LIBRARY READLINE_INCLUDE_DIR)
CMake Warning at CMakeLists.txt:226 (message):
Can't find readline library - disabling support
-- Configuring done
-- Generating done
-- Build files have been written to: /home/hgm/SjaakII/Build
hgm@hgm-xboard:~/SjaakII/Build$ make
Scanning dependencies of target libsjaak
[ 6%] Building C object CMakeFiles/libsjaak.dir/src/misc/aligned_malloc.o
/bin/sh: Syntax error: "(" unexpected
make[2]: *** [CMakeFiles/libsjaak.dir/src/misc/aligned_malloc.o] Error 2
make[1]: *** [CMakeFiles/libsjaak.dir/all] Error 2
make: *** [all] Error 2
hgm@hgm-xboard:~/SjaakII/Build$
-
Evert
- Posts: 2929
- Joined: Sat Jan 22, 2011 12:42 am
- Location: NL
Re: Sjaak II - beta release!
That's what I thought, but there still seems to be an issue. I start xboard withhgm wrote:The problem is the -pieceToCharTable, which is inherited from Shogi and still containst Lance and Knight. This leaves no space for Silver and Gold in the holdings, so they are demoted to Pawn on capture, and subsequently cannot be dropped (as S or G).
When Sjaak has already configured XBoard for mini-Shogi, it should be possible to paste the PGN without tags.
Code: Select all
xboard -variant minishogi -fcp ./sjaakii -lgf sshoki.pgn -debug
Code: Select all
705 >first : new
random
705 >first : variant minishogi
705 >first : level 40 5 0
705 >first : post
705 >first : hard
705 >first : easy
705 >first : ping 1
Impossible move , type = 0
47 45 46 48 87 46 45 47
44 44 44 44 44 44 44 44
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
0 0 0 0 0 0 0 0
3 1 2 4 43 2 1 3
47 45 46 48 87 46 45 47
44 44 44 44 44 44 44 44
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
0 0 0 0 0 0 0 0
3 1 2 4 43 2 1 3
47 45 46 48 87 46 45 47
44 44 44 44 44 44 44 44
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
0 0 0 0 0 0 0 0
3 1 2 4 43 2 1 3
47 45 46 48 87 46 45 47
44 44 44 44 44 44 44 44
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
0 0 0 0 0 0 0 0
3 1 2 4 43 2 1 3
47 45 46 48 87 46 45 47
44 44 44 44 44 44 44 44
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
0 0 0 0 0 0 0 0
3 1 2 4 43 2 1 3
47 45 46 48 87 46 45 47
44 44 44 44 44 44 44 44
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
0 0 0 0 0 0 0 0
3 1 2 4 43 2 1 3
47 45 46 48 87 46 45 47
44 44 44 44 44 44 44 44
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
0 0 0 0 0 0 0 0
3 1 2 4 43 2 1 3
47 45 46 48 87 46 45 47
44 44 44 44 44 44 44 44
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
0 0 0 0 0 0 0 0
3 1 2 4 43 2 1 3
47 45 46 48 87 46 45 47
44 44 44 44 44 44 44 44
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
0 0 0 0 0 0 0 0
3 1 2 4 43 2 1 3
47 45 46 48 87 46 45 47
44 44 44 44 44 44 44 44
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
0 0 0 0 0 0 0 0
3 1 2 4 43 2 1 3
47 45 46 48 87 46 45 47
44 44 44 44 44 44 44 44
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
0 0 0 0 0 0 0 0
3 1 2 4 43 2 1 3
47 45 46 48 87 46 45 47
44 44 44 44 44 44 44 44
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
0 0 0 0 0 0 0 0
3 1 2 4 43 2 1 3
LegalDrop: 3 @ 2,0)
47 45 46 48 87 46 45 47
44 44 44 44 44 44 44 44
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
0 0 0 0 0 0 0 0
3 1 2 4 43 2 1 3
LegalDrop: 2 @ 1,1)
47 45 46 48 87 46 45 47
44 44 44 44 44 44 44 44
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
0 0 0 0 0 0 0 0
3 1 2 4 43 2 1 3
47 45 46 48 87 46 45 47
44 44 44 44 44 44 44 44
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
0 0 0 0 0 0 0 0
3 1 2 4 43 2 1 3
47 45 46 48 87 46 45 47
44 44 44 44 44 44 44 44
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
0 0 0 0 0 0 0 0
3 1 2 4 43 2 1 3
LegalDrop: 2 @ 1,1)
LegalDrop: 3 @ 1,4)
LegalDrop: 2 @ 0,4)
47 45 46 48 87 46 45 47
44 44 44 44 44 44 44 44
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
0 0 0 0 0 0 0 0
3 1 2 4 43 2 1 3
47 45 46 48 87 46 45 47
44 44 44 44 44 44 44 44
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
0 0 0 0 0 0 0 0
3 1 2 4 43 2 1 3
47 45 46 48 87 46 45 47
44 44 44 44 44 44 44 44
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
0 0 0 0 0 0 0 0
3 1 2 4 43 2 1 3
47 45 46 48 87 46 45 47
44 44 44 44 44 44 44 44
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
0 0 0 0 0 0 0 0
3 1 2 4 43 2 1 3
47 45 46 48 87 46 45 47
44 44 44 44 44 44 44 44
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
0 0 0 0 0 0 0 0
3 1 2 4 43 2 1 3
47 45 46 48 87 46 45 47
44 44 44 44 44 44 44 44
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
0 0 0 0 0 0 0 0
3 1 2 4 43 2 1 3
47 45 46 48 87 46 45 47
44 44 44 44 44 44 44 44
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
0 0 0 0 0 0 0 0
3 1 2 4 43 2 1 3
LegalDrop: 2 @ 3,3)
47 45 46 48 87 46 45 47
44 44 44 44 44 44 44 44
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
0 0 0 0 0 0 0 0
3 1 2 4 43 2 1 3
47 45 46 48 87 46 45 47
44 44 44 44 44 44 44 44
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
0 0 0 0 0 0 0 0
3 1 2 4 43 2 1 3
47 45 46 48 87 46 45 47
44 44 44 44 44 44 44 44
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
0 0 0 0 0 0 0 0
3 1 2 4 43 2 1 3
LegalDrop: 2 @ 3,3)
47 45 46 48 87 46 45 47
44 44 44 44 44 44 44 44
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
0 0 0 0 0 0 0 0
3 1 2 4 43 2 1 3
47 45 46 48 87 46 45 47
44 44 44 44 44 44 44 44
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
0 0 0 0 0 0 0 0
3 1 2 4 43 2 1 3
47 45 46 48 87 46 45 47
44 44 44 44 44 44 44 44
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
0 0 0 0 0 0 0 0
3 1 2 4 43 2 1 3
LegalDrop: 2 @ 1,2)
LegalDrop: 2 @ 2,3)
47 45 46 48 87 46 45 47
44 44 44 44 44 44 44 44
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
0 0 0 0 0 0 0 0
3 1 2 4 43 2 1 3
47 45 46 48 87 46 45 47
44 44 44 44 44 44 44 44
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
0 0 0 0 0 0 0 0
3 1 2 4 43 2 1 3
47 45 46 48 87 46 45 47
44 44 44 44 44 44 44 44
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
0 0 0 0 0 0 0 0
3 1 2 4 43 2 1 3
47 45 46 48 87 46 45 47
44 44 44 44 44 44 44 44
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
0 0 0 0 0 0 0 0
3 1 2 4 43 2 1 3
47 45 46 48 87 46 45 47
44 44 44 44 44 44 44 44
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
0 0 0 0 0 0 0 0
3 1 2 4 43 2 1 3
LegalDrop: 2 @ 3,4)
47 45 46 48 87 46 45 47
44 44 44 44 44 44 44 44
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
0 0 0 0 0 0 0 0
3 1 2 4 43 2 1 3
47 45 46 48 87 46 45 47
44 44 44 44 44 44 44 44
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
0 0 0 0 0 0 0 0
3 1 2 4 43 2 1 3
LegalDrop: 2 @ 1,2)
LegalDrop: 2 @ 2,3)
47 45 46 48 87 46 45 47
44 44 44 44 44 44 44 44
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
0 0 0 0 0 0 0 0
3 1 2 4 43 2 1 3
47 45 46 48 87 46 45 47
44 44 44 44 44 44 44 44
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
0 0 0 0 0 0 0 0
3 1 2 4 43 2 1 3
47 45 46 48 87 46 45 47
44 44 44 44 44 44 44 44
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
0 0 0 0 0 0 0 0
3 1 2 4 43 2 1 3
47 45 46 48 87 46 45 47
44 44 44 44 44 44 44 44
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
0 0 0 0 0 0 0 0
3 1 2 4 43 2 1 3
LegalDrop: 2 @ 1,4)
47 45 46 48 87 46 45 47
44 44 44 44 44 44 44 44
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
0 0 0 0 0 0 0 0
3 1 2 4 43 2 1 3
LegalDrop: 3 @ 1,3)
47 45 46 48 87 46 45 47
44 44 44 44 44 44 44 44
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
0 0 0 0 0 0 0 0
3 1 2 4 43 2 1 3
47 45 46 48 87 46 45 47
44 44 44 44 44 44 44 44
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
0 0 0 0 0 0 0 0
3 1 2 4 43 2 1 3
47 45 46 48 87 46 45 47
44 44 44 44 44 44 44 44
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
0 0 0 0 0 0 0 0
3 1 2 4 43 2 1 3
47 45 46 48 87 46 45 47
44 44 44 44 44 44 44 44
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
0 0 0 0 0 0 0 0
3 1 2 4 43 2 1 3
47 45 46 48 87 46 45 47
44 44 44 44 44 44 44 44
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
0 0 0 0 0 0 0 0
3 1 2 4 43 2 1 3
47 45 46 48 87 46 45 47
44 44 44 44 44 44 44 44
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
0 0 0 0 0 0 0 0
3 1 2 4 43 2 1 3
47 45 46 48 87 46 45 47
44 44 44 44 44 44 44 44
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
0 0 0 0 0 0 0 0
3 1 2 4 43 2 1 3
47 45 46 48 87 46 45 47
44 44 44 44 44 44 44 44
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
0 0 0 0 0 0 0 0
3 1 2 4 43 2 1 3
47 45 46 48 87 46 45 47
44 44 44 44 44 44 44 44
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
0 0 0 0 0 0 0 0
3 1 2 4 43 2 1 3
47 45 46 48 87 46 45 47
44 44 44 44 44 44 44 44
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
0 0 0 0 0 0 0 0
3 1 2 4 43 2 1 3
47 45 46 48 87 46 45 47
44 44 44 44 44 44 44 44
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
88 88 88 88 88 88 88 88
0 0 0 0 0 0 0 0
3 1 2 4 43 2 1 3
Parsed game number 1, offset 0:
[Event "Computer Chess Game"]
[Site "INTEL-PC"]
[Date "2014.11.20"]
[Round "4"]
[White "Sjaak II 111M"]
[Black "Shokidoki Yokohama T04"]
[Result "0-1"]
[TimeControl "180+1"]
LoadGame(): on entry, gameMode 0
Parsed game start '[Event "Computer Chess Game"]' (39)
Parsed PGNTag: [Event "Computer Chess Game"]
Parsed PGNTag: [Site "INTEL-PC"]
Parsed PGNTag: [Date "2014.11.20"]
Parsed PGNTag: [Round "4"]
Parsed PGNTag: [White "Sjaak II 111M"]
Parsed PGNTag: [Black "Shokidoki Yokohama T04"]
Parsed PGNTag: [Result "0-1"]
Parsed PGNTag: [TimeControl "180+1"]
Parsed PGNTag: [SetUp "1"]
Parsed Comment: {--------------
r b s g k
. . . . p
. . . . .
P . . . .
K G S B R
white to play
--------------}
Append: in='{--------------
r b s g k
. . . . p
. . . . .
P . . . .
K G S B R
white to play
--------------}' 0
717 >first : memory 68
717 >first : new
random
717 >first : variant minishogi
717 >first : level 40 5 0
717 >first : post
717 >first : hard
717 >first : easy
717 >first : ping 2
Impossible move a1d1?, type = 0
717 >first : force
Parsed ImpossibleMove (type = 25): Gc2
AutoPlayOneMove(): current 0
LoadGame(): on exit, gameMode 7
786 <first : setup (P.BR.S...G.+.++.+Kp.br.s...g.+.++.+k) 5x5+5_shogi rbsgk/4p/5/P4/KGSBR [-] w 0 1
recognized 'shogi' (-1) as variant minishogi
shuffleOpenings = 0
923 <first : pong 1
923 <first : setup (P.BR.S...G.+.++.+Kp.br.s...g.+.++.+k) 5x5+5_shogi rbsgk/4p/5/P4/KGSBR [-] w 0 1
923 <first : setup (P.BR.S...G.+.++.+Kp.br.s...g.+.++.+k) 5x5+5_shogi rbsgk/4p/5/P4/KGSBR [-] w 0 1
923 <first : pong 2
GameEnds(27, xboard exit, 2)
11016 >first : quit
I eventually got it to work by starting with
Code: Select all
xboard -variant 5x5+5_shogi -pieceToCharTable "P.BR.S...G.+.++.+Kp.br.s...g.+.++.+k" -ncp -lgf sshoki.pgnEDIT:
if I try
Code: Select all
xboard -variant 5x5+5_shogi -pieceToCharTable "P.BR.S...G.+.++.+Kp.br.s...g.+.++.+k" -fcp ./sjaakii -lgf sshoki.pgn -debug
Sjaak calculates the required holding size by the number of pieces defined for the variant, minus pieces that can never show up in holdings (royals, and demote-on-capture pieces), unless those happen to be there already in the initial position.From this it should be able to deduce how large the holdings must be (which it cannot see from the FEN).
-
Evert
- Posts: 2929
- Joined: Sat Jan 22, 2011 12:42 am
- Location: NL
Re: Sjaak II - beta release!
Ok, some days I hate shell expansion.
Uploaded a fixed archive to the same location.
Uploaded a fixed archive to the same location.