asean chess engines and rating list

Discussion of anything and everything relating to chess playing software and machines.

Moderator: Ras

Ferdy
Posts: 4851
Joined: Sun Aug 10, 2008 3:15 pm
Location: Philippines

Re: asean chess engines and rating list

Post by Ferdy »

Evert wrote:
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.

Code: Select all

new

# New game 'Chess'
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.
This is what I get.

Code: Select all

[...]

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
User avatar
Evert
Posts: 2929
Joined: Sat Jan 22, 2011 12:42 am
Location: NL

Re: asean chess engines and rating list

Post by Evert »

Ferdy wrote: This is what I get.

Code: Select all

[...]

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?
User avatar
gbtami
Posts: 389
Joined: Wed Sep 26, 2012 1:29 pm
Location: Hungary

Re: asean chess engines and rating list

Post by gbtami »

PyChess plays ASEAN/Makruk/Cambodian/Sittuyin variants also.
User avatar
gbtami
Posts: 389
Joined: Wed Sep 26, 2012 1:29 pm
Location: Hungary

Re: asean chess engines and rating list

Post by gbtami »

Ferdy wrote:
Evert wrote:
Ferdy wrote:
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.
User avatar
Evert
Posts: 2929
Joined: Sat Jan 22, 2011 12:42 am
Location: NL

Re: asean chess engines and rating list

Post by Evert »

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.
Ferdy
Posts: 4851
Joined: Sun Aug 10, 2008 3:15 pm
Location: Philippines

Re: asean chess engines and rating list

Post by Ferdy »

Evert wrote:
Ferdy wrote: This is what I get.

Code: Select all

[...]

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.
Ferdy
Posts: 4851
Joined: Sun Aug 10, 2008 3:15 pm
Location: Philippines

Re: asean chess engines and rating list

Post by Ferdy »

gbtami wrote:PyChess plays ASEAN/Makruk/Cambodian/Sittuyin variants also.
Just tried it, I will run a gauntlet later.
Ferdy
Posts: 4851
Joined: Sun Aug 10, 2008 3:15 pm
Location: Philippines

Re: asean chess engines and rating list

Post by Ferdy »

gbtami wrote:
Ferdy wrote:
Evert wrote:
Ferdy wrote:
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.
User avatar
hgm
Posts: 28395
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: asean chess engines and rating list

Post by hgm »

Ferdy wrote:
Evert wrote:
Ferdy wrote: This is what I get.

Code: Select all

[...]

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.
User avatar
Evert
Posts: 2929
Joined: Sat Jan 22, 2011 12:42 am
Location: NL

Re: asean chess engines and rating list

Post by Evert »

Ferdy wrote:
Evert wrote:
Ferdy wrote: This is what I get.

Code: Select all

[...]

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.