Shokidoki wins silver at ICGA Olympiad for 5x5 Shogi

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

Moderators: hgm, Rebel, chrisw

User avatar
hgm
Posts: 27807
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Shokidoki wins silver at ICGA Olympiad for 5x5 Shogi

Post by hgm »

My Shogi engine Shokidoki turns out to be much stronger in mini-Shogi(with 6 pieces per side, on a 5x5 board) than in regular Shogi (on 9x9). I had not planned to even participate in 5x5 Shogi, because I did not know it existed. But when I learned (after coming here) that it is basically ordinary Shogi on a 5x5 board (with the same, but fewer pieces), it was trivial to convert Shokidoki to play that variant too. So over the weekend I spent my nights in the hotel to adapt the board size. And because I had nothing else to do on Tuesday (Chinese Chess already finished, and regular Shogi starts tomorrow), I asked if they would still allow me to participate. And because they had an odd number of participants, this was no problem.

To everyone's surprise, (and most of all my own), the algorithm used in Shokidoki (with a capture search for Quiescence as in Chess), which works only so-so in regular Shogi, seems perfect for mini-Shogi. Of course I was clobbered in the first few rounds, because my piece values were all wrong for the 5x5 board (a Rook has at most 8 moves there, and is thus hardly worth more than a Gold General), and my King Safety allowed the King to stray way too much forward (it turns out to be really essential to stay on the back-rank, and preferably in the corner in mini-Shogi).

But I was able to fix those apparent defects during the lunch break, by changing the piece values / piece-square tables. I must have had a very lucky hand in picking the new values, (there was no time for any testing, of course), because after that Shokdoki ran like a charm, and won all its games! So it came in second from 8 participants, with 11 wins and 3 losses:

1. (14 pt) Clairvoyant 1/128
2. (11 pt) Shokidoki 0.8m
3. (10 pt) 55Tacos
User avatar
Graham Banks
Posts: 41451
Joined: Sun Feb 26, 2006 10:52 am
Location: Auckland, NZ

Re: Shokidoki wins silver at ICGA Olympiad for 5x5 Shogi

Post by Graham Banks »

Congratulations H.G. :D
gbanksnz at gmail.com
Jack Lad
Posts: 8557
Joined: Wed Mar 08, 2006 10:01 pm
Location: UK

Re: Shokidoki wins silver at ICGA Olympiad for 5x5 Shogi

Post by Jack Lad »

Well done Prof Muller! :D

I am surprised that such a tournament exists because I thought that this simple game would always be easily drawn (via the 3 move repetition rule) between decent engines. :shock:
http://en.wikipedia.org/wiki/Minishogi

Perhaps you could make it play "Let's Catch the Lion!" aswell. This game is probably easily drawn but I would like to know if this is the case. :roll:
http://en.wikipedia.org/wiki/Dobutsu_shogi
Now cracks a noble heart.—Good night, sweet Princess, And flights of angels sing thee to thy rest!
User avatar
hgm
Posts: 27807
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: Shokidoki wins silver at ICGA Olympiad for 5x5 Shogi

Post by hgm »

They actually adopted the rule here that he who repeats loses (unless the other side is perpetually checking; then that side loses).
shogi4fun
Posts: 31
Joined: Thu Aug 26, 2010 5:32 pm

Re: Shokidoki wins silver at ICGA Olympiad for 5x5 Shogi

Post by shogi4fun »

Also congratulations from me.

Chinese Chess also finished?
Where can I read the results?

I expect here, but still not updated, yet.

Oh, and of course good luck for your Shogi tournament.
Gerd Isenberg
Posts: 2250
Joined: Wed Mar 08, 2006 8:47 pm
Location: Hattingen, Germany

Re: Shokidoki wins silver at ICGA Olympiad for 5x5 Shogi

Post by Gerd Isenberg »

Wow! Congrats as well.

Cheers,
Gerd
User avatar
beachknight
Posts: 3533
Joined: Tue Jan 09, 2007 8:33 pm
Location: Antalya, Turkey

Re: Shokidoki wins silver at ICGA Olympiad for 5x5 Shogi

Post by beachknight »

my congrats as well.

best,
hi, merhaba, hallo HT
gerold
Posts: 10121
Joined: Thu Mar 09, 2006 12:57 am
Location: van buren,missouri

Re: Shokidoki wins silver at ICGA Olympiad for 5x5 Shogi

Post by gerold »

Nice going H.G.

Good luck,
Gerold.
bob
Posts: 20943
Joined: Mon Feb 27, 2006 7:30 pm
Location: Birmingham, AL

Re: Shokidoki wins silver at ICGA Olympiad for 5x5 Shogi

Post by bob »

hgm wrote:My Shogi engine Shokidoki turns out to be much stronger in mini-Shogi(with 6 pieces per side, on a 5x5 board) than in regular Shogi (on 9x9). I had not planned to even participate in 5x5 Shogi, because I did not know it existed. But when I learned (after coming here) that it is basically ordinary Shogi on a 5x5 board (with the same, but fewer pieces), it was trivial to convert Shokidoki to play that variant too. So over the weekend I spent my nights in the hotel to adapt the board size. And because I had nothing else to do on Tuesday (Chinese Chess already finished, and regular Shogi starts tomorrow), I asked if they would still allow me to participate. And because they had an odd number of participants, this was no problem.

To everyone's surprise, (and most of all my own), the algorithm used in Shokidoki (with a capture search for Quiescence as in Chess), which works only so-so in regular Shogi, seems perfect for mini-Shogi. Of course I was clobbered in the first few rounds, because my piece values were all wrong for the 5x5 board (a Rook has at most 8 moves there, and is thus hardly worth more than a Gold General), and my King Safety allowed the King to stray way too much forward (it turns out to be really essential to stay on the back-rank, and preferably in the corner in mini-Shogi).

But I was able to fix those apparent defects during the lunch break, by changing the piece values / piece-square tables. I must have had a very lucky hand in picking the new values, (there was no time for any testing, of course), because after that Shokdoki ran like a charm, and won all its games! So it came in second from 8 participants, with 11 wins and 3 losses:

1. (14 pt) Clairvoyant 1/128
2. (11 pt) Shokidoki 0.8m
3. (10 pt) 55Tacos
Congrats...

I finished in 4th place at the 1976 ACM computer chess tournament. During that event, I rewrote major parts of that program when I suddenly discovered a glaring software problem that was major in its impact. It worked. :)

I have seen programmers tweaking between each round, many times since then. I have gotten out of that mode, trying to do all my testing _before_ an event, rather than during, as that avoids introducing unexpected bugs that cause ugly play.
uaf
Posts: 98
Joined: Sat Jul 31, 2010 8:48 pm
Full name: Ubaldo Andrea Farina

Re: Shokidoki wins silver at ICGA Olympiad for 5x5 Shogi

Post by uaf »

Congratulations HG.

This must be one of there rare case where the changes made during a tournament improve the program rather than introducing new bugs :D