SjaakII 1.0 RC1

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

Moderator: Ras

User avatar
Evert
Posts: 2929
Joined: Sat Jan 22, 2011 12:42 am
Location: NL

Re: SjaakII 1.0 RC6

Post by Evert »

myfish wrote:That's awesome, but also infuriating and crazy.

Look, I have checked and checked. This is MY definition.

Forgive the commented stuff, this is to make life easier.

[...]

Loaded last time into sjaakii RC6, it complained 'q' was missing

Error: unknown piece type 'q' (bad FEN dbugwkvcomh/1f3s3e1/pppqppprppp/3p3p3/11/11/11/3P3P3/PPPRPPPQPPP/1E3S3F1/HMOCVKWGUBD)
You have a typo:

Code: Select all

Piece: Treacherous Fox
Symbol: "Q", "Q","q"
Move: step NW,N,NE,SW,S,SE
Move: aleap (1,2)|(-1,2)[(-2,1)|(-2,-1)
Value: 750
Should be

Code: Select all

Symbol: "Q", "Q,q"
I suppose I could probably make the quotation marks optional, at least for the second bit. They're there because ' ' is an allowed notation (for pawns)...
myfish
Posts: 131
Joined: Sat Feb 07, 2015 3:17 pm

Re: SjaakII 1.0 RC6

Post by myfish »

OMG

Well spotted !
myfish
Posts: 131
Joined: Sat Feb 07, 2015 3:17 pm

Re: SjaakII 1.0 RC6

Post by myfish »

OK.

The story thus far.

Config was checked for 'more' typo's, non found.

Loads into sjaakii rc6 console

Image

All pieces present.
My original FEN was backwards and now corrected.

Loaded into xboard via a theme file @wa

Image

I then saved that position as a fen. shown below...
xboard-FEN wrote:hmocvkwgubd/1e3s3f1/ppprpppqppp/3p3p3/11/11/11/3P3P3/PPPQPPPRPPP/1E3S3F1/DBUGWKVCOM1 w - 0 1
As you can see, it should have 'H' on the end, not 1 so I don't think sjaakii can be sending the piece, or, xboard isn't reading it.

But, from the Xboard debug

Code: Select all

228 <first : setup (P.BRQFE.CWMOH..GDV.SU.++..++...+...........Kp.brqfe.cwmoh..gdv.su.++..++...+...........k) 11x11+0_chu hmocvkwgubd/1e3s3f1/ppprpppqppp/3p3p3/11/11/11/3P3P3/PPPQPPPRPPP/1E3S3F1/DBUGWKVCOMH
recognized 'chu' (-1) as variant washogi
I can post that debug if required.
User avatar
gbtami
Posts: 389
Joined: Wed Sep 26, 2012 1:29 pm
Location: Hungary

Re: SjaakII 1.0 RC6

Post by gbtami »

[Event "Helyi esemény"]
[Site "Helyben"]
[Date "2015.03.10"]
[Round "1"]
[White "PyChess.py"]
[Black "sjaakii"]
[Result "1-0"]
[TimeControl "60+0"]
[Time "21:32:00"]
[WhiteClock "0:00:16.605"]
[BlackClock "0:00:58.176"]
[Variant "Sittuyin"]
[SetUp "1"]
[FEN "8/8/4pppp/pppp4/4PPPP/PPPP4/8/8/nnssrrfkNNSSRRFK w - - 0 1"]
[PlyCount "89"]

1. K@a2 K@a6 2. R@a1 N@b6 3. N@c2 N@a7 4. N@b2 S@b7 5. R@b1 R@a8 6. S@d2 R@b8
7. S@e3 S@c6 8. F@e2 F@d6 9. d4 Nd7 10. exd5 exd5 11. Sc1 Re8 12. Nd3 a4 13.
bxa4 bxa4 14. f5 Nb5 15. Sb2 g5 16. hxg5 hxg5 17. dxc5 Sxc5 18. Fd1 Sc4 19.
Ndb4+ Kb6 20. Sd4 Sc6 21. Rc1 Re4 22. Rab1 Rxg4 23. Ne3 Re4 24. Nf1 Rh8 25. Nd2
Re1 26. Nc2 Re7 27. Nb4 Rh3 28. Ka1 Sd3 29. Nf1 Sc4 30. Nd2 g4 31. Fc2 Re2 32.
Rd1 Fe5 33. Sxe5 Nxe5 34. Na2 Nd6 35. Rf1 Rxd2 36. Sc1+ Kc5 37. Sxd2 d4=F 38.
cxd4+ Kxd4 39. Rf4+ Ne4 40. Re1 Rxa3 41. Rexe4+ Kc5 42. Kb2 Rf3 43. Se3 S4b5
44. Sd4+ Kd6 45. Sxe5+ 1-0

The game was adjudicated by pychess GUI because sjaakii wanted to play the illegal f6e5
User avatar
Evert
Posts: 2929
Joined: Sat Jan 22, 2011 12:42 am
Location: NL

Re: SjaakII 1.0 RC6

Post by Evert »

gbtami wrote:[Event "Helyi esemény"]
[Site "Helyben"]
[Date "2015.03.10"]
[Round "1"]
[White "PyChess.py"]
[Black "sjaakii"]
[Result "1-0"]
[TimeControl "60+0"]
[Time "21:32:00"]
[WhiteClock "0:00:16.605"]
[BlackClock "0:00:58.176"]
[Variant "Sittuyin"]
[SetUp "1"]
[FEN "8/8/4pppp/pppp4/4PPPP/PPPP4/8/8/nnssrrfkNNSSRRFK w - - 0 1"]
[PlyCount "89"]

1. K@a2 K@a6 2. R@a1 N@b6 3. N@c2 N@a7 4. N@b2 S@b7 5. R@b1 R@a8 6. S@d2 R@b8
7. S@e3 S@c6 8. F@e2 F@d6 9. d4 Nd7 10. exd5 exd5 11. Sc1 Re8 12. Nd3 a4 13.
bxa4 bxa4 14. f5 Nb5 15. Sb2 g5 16. hxg5 hxg5 17. dxc5 Sxc5 18. Fd1 Sc4 19.
Ndb4+ Kb6 20. Sd4 Sc6 21. Rc1 Re4 22. Rab1 Rxg4 23. Ne3 Re4 24. Nf1 Rh8 25. Nd2
Re1 26. Nc2 Re7 27. Nb4 Rh3 28. Ka1 Sd3 29. Nf1 Sc4 30. Nd2 g4 31. Fc2 Re2 32.
Rd1 Fe5 33. Sxe5 Nxe5 34. Na2 Nd6 35. Rf1 Rxd2 36. Sc1+ Kc5 37. Sxd2 d4=F 38.
cxd4+ Kxd4 39. Rf4+ Ne4 40. Re1 Rxa3 41. Rexe4+ Kc5 42. Kb2 Rf3 43. Se3 S4b5
44. Sd4+ Kd6 45. Sxe5+ 1-0

The game was adjudicated by pychess GUI because sjaakii wanted to play the illegal f6e5
(substituting B for S and Q for F)
[d]8/8/2bk1p2/1b2BP2/p3RRp1/5r2/NKQ5/8 b - - 0 45
What's wrong with fxe6? As far as I can see it's a perfectly legal evasion.
User avatar
hgm
Posts: 28514
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: SjaakII 1.0 RC6

Post by hgm »

myfish wrote:

Code: Select all

228 <first : setup (P.BRQFE.CWMOH..GDV.SU.++..++...+...........Kp.brqfe.cwmoh..gdv.su.++..++...+...........k) 11x11+0_chu hmocvkwgubd/1e3s3f1/ppprpppqppp/3p3p3/11/11/11/3P3P3/PPPQPPPRPPP/1E3S3F1/DBUGWKVCOMH
recognized 'chu' (-1) as variant washogi
Hmm, looks like XBoard might also have a limit on the length of the setup line, clipping off the last character...

[Edit] Isn't there supposed to be a color spec at the end of the FEN?
Last edited by hgm on Tue Mar 10, 2015 10:24 pm, edited 1 time in total.
myfish
Posts: 131
Joined: Sat Feb 07, 2015 3:17 pm

Re: SjaakII 1.0 RC6

Post by myfish »

hgm wrote:
myfish wrote:

Code: Select all

228 <first : setup (P.BRQFE.CWMOH..GDV.SU.++..++...+...........Kp.brqfe.cwmoh..gdv.su.++..++...+...........k) 11x11+0_chu hmocvkwgubd/1e3s3f1/ppprpppqppp/3p3p3/11/11/11/3P3P3/PPPQPPPRPPP/1E3S3F1/DBUGWKVCOMH
recognized 'chu' (-1) as variant washogi
Hmm, looks like XBoard might also have a limit on the length of the setup line, clipping off the last character...
It was never my intention to create 'more work' for you.

I must applaud you in fact for the rapid development of some great new features.
Keeping up has been a pleasure.

I'm sure you can fix it.
User avatar
Evert
Posts: 2929
Joined: Sat Jan 22, 2011 12:42 am
Location: NL

Re: SjaakII 1.0 RC6

Post by Evert »

hgm wrote:
myfish wrote:

Code: Select all

228 <first : setup (P.BRQFE.CWMOH..GDV.SU.++..++...+...........Kp.brqfe.cwmoh..gdv.su.++..++...+...........k) 11x11+0_chu hmocvkwgubd/1e3s3f1/ppprpppqppp/3p3p3/11/11/11/3P3P3/PPPQPPPRPPP/1E3S3F1/DBUGWKVCOMH
recognized 'chu' (-1) as variant washogi
Hmm, looks like XBoard might also have a limit on the length of the setup line, clipping off the last character...
What's extra weird is that it doesn't seem to have that problem in the version I have here - so it may be something that was introduced recently. The version I have corresponds to revision 6ffd7b3 on your repository, if that helps.
User avatar
hgm
Posts: 28514
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: SjaakII 1.0 RC6

Post by hgm »

There is no color spec on the FEN. I don't know if that could cause the problem. It already seems clipped in th eline XBoard reports as received.

What happens when you delete all the periods before the King IDs? These are redundant, as the last ID by definition is King, also if the FEN is shorter than 2x44.
Last edited by hgm on Tue Mar 10, 2015 10:28 pm, edited 1 time in total.
User avatar
gbtami
Posts: 389
Joined: Wed Sep 26, 2012 1:29 pm
Location: Hungary

Re: SjaakII 1.0 RC6

Post by gbtami »

sjaakii played f6e5 (not in the .pgn) and pychess claimed it illegal (thinking it's a promotion move without promotion piece), but it's not. Pychess fault. Sorry for the noise!