Cute Chess 0.9.4 released

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

Moderators: hgm, Rebel, chrisw

Werewolf
Posts: 1796
Joined: Thu Sep 18, 2008 10:24 pm

Re: Cute Chess 0.9.4 released

Post by Werewolf »

Hi,

I'm trying to run 23 games at once between Stockfish and Komodo.

I have a 24 core machine and:
- Ponder is off
- concurrence is at 23 on the settings. (I didn't see an option to set it when I created the tournament, however)

But upon starting the tournament I only see one game displayed. Where are the other 22?

Thanks.
Ferdy
Posts: 4833
Joined: Sun Aug 10, 2008 3:15 pm
Location: Philippines

Re: Cute Chess 0.9.4 released

Post by Ferdy »

ilari wrote:
Ferdy wrote:Regarding zh fen, the correct fen was not written in the tag section, [-] is missing. This is from a compiled code after 1827 commits.
[Event "Imortal 2.9006 - TJchess 1.3 Match Nr 1"]
[Site "Manila PHI"]
[Date "2016.10.03"]
[Round "36"]
[White "TJchess 1.3 64bit"]
[Black "Imortal 2.9006 32bit"]
[Result "1-0"]
[FEN "rnbqkbnr/ppp1pppp/8/3p4/8/4PN2/PPPP1PPP/RNBQKB1R b KQkq - 0 1"]
[PlyCount "105"]
[SetUp "1"]
[Termination "adjudication"]
[TimeControl "180+2"]
[Variant "crazyhouse"]

1... Bg4 {+0.22/13 6.0s} 2. Nc3 {+0.48/12 4.1s} Nf6 {+0.21/13 7.4s}
3. h3 {+0.32/11 2.7s} Bxf3 {-0.28/11 8.5s} 4. Qxf3 {+0.12/11 4.4s}
Nc6 {+0.03/11 8.2s} 5. Bb5 {+0.63/11 6.9s} N@b4 {-0.29/11 6.1s}
6. B@a4 {+2.14/11 4.5s} a6 {-2.48/11 7.7s} 7. Bxc6+ {+2.21/12 9.2s}
bxc6 {-2.70/13 6.6s} 8. a3 {+2.42/11 3.7s} Nxc2+ {-3.76/12 7.2s}
9. Bxc2 {+2.09/12 4.5s} P@e4 {-3.59/11 6.9s} 10. Qd1 {+2.89/11 9.5s}
Rb8 {-3.52/11 6.7s} 11. N@d4 {+3.50/11 4.0s} Qd6 {-4.41/11 6.4s}
12. N@f5 {+2.98/11 12s} Qd7 {-4.01/13 5.4s} 13. d3 {+3.17/11 7.3s}
exd3 {-3.72/11 6.0s} 14. Bxd3 {+3.45/10 4.3s} P@c4 {-3.67/10 5.8s}
15. P@a7 {+2.84/10 7.0s} Rd8 {-2.84/11 5.6s} 16. Bb1 {+2.45/10 6.9s}
c5 {-1.98/10 5.5s} 17. Nf3 {+2.60/10 3.2s} B@b7 {-3.09/9 5.3s}
18. Ne5 {+3.20/10 5.6s} Qe6 {-3.50/11 4.2s} 19. Qa4+ {+3.08/10 8.9s}
c6 {-3.32/11 5.0s} 20. Nf3 {+2.91/10 6.7s} g6 {-2.52/10 4.9s}
21. Ng3 {+2.87/10 3.8s} Nd7 {-4.01/10 4.8s} 22. Qa5 {+2.63/10 4.4s}
Qd6 {-3.86/11 4.7s} 23. O-O {+3.39/10 6.2s} Bg7 {-3.77/11 4.6s}
24. Rd1 {+3.36/10 3.3s} O-O {-3.48/11 3.7s} 25. Ba2 {+2.95/11 6.4s}
Bxc3 {-3.96/10 4.4s} 26. bxc3 {+3.19/11 3.0s} Ra8 {-5.14/10 4.4s}
27. B@b6 {+3.18/10 2.5s} N@d3 {-3.08/11 3.7s} 28. a4 {+3.86/11 4.7s}
Nxb6 {-3.53/11 3.5s} 29. Qxb6 {+2.65/10 5.2s} Nxf2 {-3.46/10 4.2s}
30. N@h6+ {+2.69/9 2.3s} Kh8 {-4.55/10 4.1s} 31. Kxf2 {+2.49/9 3.1s}
B@c7 {-4.16/9 3.6s} 32. Qxc7 {+3.38/10 5.8s} Qxc7 {-4.22/9 4.0s}
33. B@e5+ {+3.54/9 2.3s} Qxe5 {-4.62/9 4.0s} 34. Nxe5 {+4.39/10 13s}
Q@g7 {-5.13/7 3.9s} 35. Q@f4 {+4.09/9 6.7s} B@e6 {-4.94/9 3.8s}
36. N@g5 {+5.16/8 0.98s} f6 {-6.35/8 3.1s} 37. Nxg6+ {+6.24/8 1.5s}
Qxg6 {-4.72/10 3.7s} 38. Nxe6 {+7.12/9 3.0s} P@g5 {-9.40/8 3.7s}
39. Qc7 {+8.31/9 3.8s} Qxh6 {-11.81/8 3.6s} 40. Qxe7 {+9.70/8 1.7s}
Rg8 {-12.78/7 3.6s} 41. P@f7 {+10.44/8 1.5s} N@e5 {-16.09/7 3.5s}
42. Qxb7 {+11.37/8 1.6s} Nxf7 {-15.05/9 3.5s} 43. Qxf7 {+10.93/8 2.0s}
N@e5 {-13.84/7 3.4s} 44. P@g7+ {+12.31/9 3.8s} Qxg7 {-13.84/7 3.4s}
45. Qxg7+ {+11.88/9 5.4s} Rxg7 {-11.51/3 0.001s} 46. Nxg7 {+11.84/9 4.7s}
Q@g8 {-16.83/7 3.4s} 47. R@e7 {+11.40/8 3.0s} P@c2 {-17.26/9 2.7s}
48. Rf1 {+12.13/9 2.1s} P@h2 {-20.30/8 3.3s} 49. B@f5 {+14.24/8 1.3s}
Rxa7 {-22.74/7 3.3s} 50. Rxa7 {+16.85/9 4.2s} P@h4 {-24.62/6 3.3s}
51. R@a8 {+19.11/10 3.8s} hxg3+ {-34.14/8 3.2s} 52. Kxg3 {+19.65/10 9.3s}
N@f8 {-35.64/8 3.2s} 53. Ne6 {+M15/10 2.7s}
Nf7 {-45.90/8 3.1s, White wins by adjudication} 1-0
I just fixed that. Hopefully all Crazyhouse GUIs can handle the "[-]" in FEN input.
After some tests, this zh epd suite works now. Excellent job :!:

I hope HGM will try convince the developers in Lichess to support the [-] format.

I will actually implement also the / format in my engine because of Lichess.
User avatar
hgm
Posts: 27794
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: Cute Chess 0.9.4 released

Post by hgm »

But the egine should never see the FEN from a PGN FEN tag, right? The GUI would always shield it from that.

WinBoard/XBoard does understand both the / and [] format (the latter even with separating spaces). And considers it optional, absence of such a field implying empty holdings. This allows it to read FEN and PGN from any source.

But it always writes the spaceless [] format, [-] if necessary, so that the board format and the fact there are holdings can always unambiguously be seen from the FEN. Engines can rely on getting that format.
User avatar
ilari
Posts: 750
Joined: Mon Mar 27, 2006 7:45 pm
Location: Finland

Re: Cute Chess 0.9.4 released

Post by ilari »

Werewolf wrote:Hi,

I'm trying to run 23 games at once between Stockfish and Komodo.

I have a 24 core machine and:
- Ponder is off
- concurrence is at 23 on the settings. (I didn't see an option to set it when I created the tournament, however)

But upon starting the tournament I only see one game displayed. Where are the other 22?

Thanks.
Hi,

Is it a gauntlet, round-robin or knockout tournament? I've never tried such a high concurrency but it should work. Can you try with concurrency = 2 first? Each concurrent game should get its own tab. And if you want to see watch all games side-by-side you can do that from the Window -> Active Games widget.
Ferdy
Posts: 4833
Joined: Sun Aug 10, 2008 3:15 pm
Location: Philippines

Re: Cute Chess 0.9.4 released

Post by Ferdy »

hgm wrote:But the egine should never see the FEN from a PGN FEN tag, right? The GUI would always shield it from that.

WinBoard/XBoard does understand both the / and [] format (the latter even with separating spaces). And considers it optional, absence of such a field implying empty holdings. This allows it to read FEN and PGN from any source.

But it always writes the spaceless [] format, [-] if necessary, so that the board format and the fact there are holdings can always unambiguously be seen from the FEN. Engines can rely on getting that format.
I am referring to a case, for convenience, where the output of WB zh FEN will be accepted by Lichess.

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

Re: Cute Chess 0.9.4 released

Post by hgm »

I still don't get it. How would making your engine support this have any effect on this? What is the screenshot you are showing anyway? Is that the Lichess web interface? I thought Lichess was just a server where you could play games against other users. I did not know you could also upload games or FENs there.

Although it is certainly a small inconvenience that you cannot paste the WinBoard format here, it isn't really a big deal: you get to see the text after pasting, so you can simply edit out the [] and replace it by / (or delete it altogether whe it was [-]). I notice in the PGN that they do write a trailing slash in case of empty holdings, which does seem in violation of the bFEN description.

A possible solution for slightly ameliorating the situation would be to have WinBoard suppress any [-] when writing a FEN in the context of a PGN tag. In PGN context it is always clear whether you are playing a game with holdings (from the Variant tag), and omitting holdings does not cause any ambiguity w.r.t. board size. As most games would start from positions with empty holdings, they would then be compatible with either system.
Ferdy
Posts: 4833
Joined: Sun Aug 10, 2008 3:15 pm
Location: Philippines

Re: Cute Chess 0.9.4 released

Post by Ferdy »

I also want to be able to copy some fens in Lichess then analyze it with my engine thru a script, producing an epd like format, with acd, acs ce, bm and others. Lichess has opening explorer with engine analysis, it is not only for playing, it is also for study, in fact you can store your study, develop opening repertoire, analyze with engines and others.
Werewolf
Posts: 1796
Joined: Thu Sep 18, 2008 10:24 pm

Re: Cute Chess 0.9.4 released

Post by Werewolf »

Hi,

Thanks for answering.

I've loaded a pgn testsuite of short lines of 100 openings.

I want to play 2 engines against each other with each opening played twice (once for each side). I've selected:

- Round Robin
- Play each opening twice (tick!)
- depth set to 20 plies, although all the lines are shorter than that (is that ok?)

What do I put for:
- games per encounter?
- rounds?

I just want it to play out the pgn file.
User avatar
hgm
Posts: 27794
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: Cute Chess 0.9.4 released

Post by hgm »

Ferdy wrote:I also want to be able to copy some fens in Lichess then analyze it with my engine thru a script, producing an epd like format, with acd, acs ce, bm and others. Lichess has opening explorer with engine analysis, it is not only for playing, it is also for study, in fact you can store your study, develop opening repertoire, analyze with engines and others.
I canot say I fully understand what you want. But if you run your engine through a script, rather than through a GUI, you let the script play the role of GUI. So it would be logical to let that script make the necessary transformation of the FEN, rather than the engine. Otherwise you could not use the script with other engines.

Surely it cannot be very difficult to have a script replace '/ ' by '[-] ' and '/xxx ' by '[xxx] ' in any FEN it encounters?
Ferdy
Posts: 4833
Joined: Sun Aug 10, 2008 3:15 pm
Location: Philippines

Re: Cute Chess 0.9.4 released

Post by Ferdy »

That is why I will implement the / format in my engine, so that it can understands the FEN from Lichess.