Ferdy wrote:
One thing I observe on the Sjaak when run in console is that after typing new and pressing enter, nothing will happen. If I press enter again the # New game 'Chess' will appear.
Could this be the reason that winboard had already sent the command new and Sjaak has not recognized it yet?
Could you run the following experiment: take the mini-Shogi position where Sjaak stalled (from the other thread), then set Sjaak thinking by feeding it "go". If it stops producing output, hit enter.
[...]
feature done=1
new
variant 5x5+5_shogi
setboard rbsgk/4p/5/P4/KGSBR[-] w 0 1
st 10
go
Error (Illegal move or unknown command): newvariant 5x5+5_shogisetboard rbsgk/4p/5/P4/KGSBR[-] w 0 1st 10go
[...]
feature done=1
new
variant 5x5+5_shogi
setboard rbsgk/4p/5/P4/KGSBR[-] w 0 1
st 10
go
Error (Illegal move or unknown command): newvariant 5x5+5_shogisetboard rbsgk/4p/5/P4/KGSBR[-] w 0 1st 10go
That's odd. That suggests it can't work at all because all strings are strung together. It does normally work, right?
Evert wrote: I get the impression that apart from the event in 2011 where the game premiered, no one plays it.
There is a tournament in 2013 in Myanmar.
Point taken, but that's still 4 years ago. It doesn't convince me that the game is alive and well, unfortunately...
I am not really concerned if there are less people playing this variant. I like this variant because it is simple and close to chess. Simpler than chess as it has no castle and e.p captures (can be easily learned by starters) and best for human to play against an engine and not get crashed easily .
I don't know how many ASEAN games was played by humans at all, but Makruk seems definitely alive on http://www.playok.com/en/makruk/
My feeling is ASEAN will never be popular. Tradition counts.
gbtami wrote:PyChess plays ASEAN/Makruk/Cambodian/Sittuyin variants also.
This reminds me: I adjusted some of the Sittuyin rules in Sjaak based on user input. There are also official tournament rules floating around.
I think I mentioned the changes here in a post, but I can also send you the official rules document, if you're interested.
[...]
feature done=1
new
variant 5x5+5_shogi
setboard rbsgk/4p/5/P4/KGSBR[-] w 0 1
st 10
go
Error (Illegal move or unknown command): newvariant 5x5+5_shogisetboard rbsgk/4p/5/P4/KGSBR[-] w 0 1st 10go
That's odd. That suggests it can't work at all because all strings are strung together. It does normally work, right?
After typing new and pressing enter key, the engine should have processed the command new.
Evert wrote: I get the impression that apart from the event in 2011 where the game premiered, no one plays it.
There is a tournament in 2013 in Myanmar.
Point taken, but that's still 4 years ago. It doesn't convince me that the game is alive and well, unfortunately...
I am not really concerned if there are less people playing this variant. I like this variant because it is simple and close to chess. Simpler than chess as it has no castle and e.p captures (can be easily learned by starters) and best for human to play against an engine and not get crashed easily .
I don't know how many ASEAN games was played by humans at all, but Makruk seems definitely alive on http://www.playok.com/en/makruk/
My feeling is ASEAN will never be popular. Tradition counts.
Asean was created by the people in this region. In fact it is similar to makruk and some of the best players are from Thailand.
[...]
feature done=1
new
variant 5x5+5_shogi
setboard rbsgk/4p/5/P4/KGSBR[-] w 0 1
st 10
go
Error (Illegal move or unknown command): newvariant 5x5+5_shogisetboard rbsgk/4p/5/P4/KGSBR[-] w 0 1st 10go
That's odd. That suggests it can't work at all because all strings are strung together. It does normally work, right?
After typing new and pressing enter key, the engine should have processed the command new.
This seems to be a problem with command-line input, as under WinBoard it works fine. It looks like the input routine does not recognize the enter key as a newline (but perhaps as a carriage return?)
Unfortunately that makes it impossible to do simple command-line testing.
[...]
feature done=1
new
variant 5x5+5_shogi
setboard rbsgk/4p/5/P4/KGSBR[-] w 0 1
st 10
go
Error (Illegal move or unknown command): newvariant 5x5+5_shogisetboard rbsgk/4p/5/P4/KGSBR[-] w 0 1st 10go
That's odd. That suggests it can't work at all because all strings are strung together. It does normally work, right?
After typing new and pressing enter key, the engine should have processed the command new.
Of course, and it normally does that. Otherwise it would not work at all.
It reads a string from stdin using fgets() and then matches it against known commands using strcmp() (sometimes strstr()).
What seems to happen here is that all input is strung together in a single string, with newline characters removed. That's odd.