Zentropy GUI

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

Moderators: hgm, Rebel, chrisw

kranium
Posts: 2129
Joined: Thu May 29, 2008 10:43 am

Re: Zentropy GUI

Post by kranium »

Ferdy wrote: Sat Apr 13, 2019 5:20 am
Nice interface thanks for sharing.

There seems to be an issue in pgn output.

Example output from games.pgn
[Event "Engine Game"]
[Site "Earth"]
[Date "2019.04.13"]
[Round "3"]
[White "Komodo 9.02 64-bit "]
[Black "Stockfish 10 64 POPCNT"]
[SetUp "1"]
[FEN "rnbqkbnr/pp3ppp/4p3/2p1P3/3p4/2P2N2/PP1P1PPP/RNBQKB1R w KQkq - 0 5"]
[Result "1/2-1/2"]

1. Nf3 e6 2. Be2 Ne7 3. Ng5 Bg6 4. Na3 c5 5. dxc5 Nec6 6. Be3 Nxe5 7. O-O Nbc6 8. Nb5 a6 9. Nd4 Qd7 10. Nxc6 Nxc6 11. c3 e5 12. b4 f6 13. Nf3 Rc8 14. a3 Be7 15. Ra2 Qe6 16. Rd2 Rd8 17. Qb3 O-O 18. Rfd1 Bf7 19. Qb1 Rfe8 20. Re1 g6 21. Bd1 Bf8 22. Bb3 Bg7 23. Nh2 Ne7 24. Qc2 Kh7 25. f3 Bh6 26. Qd3 Bxe3+ 27. Qxe3 Qc6 28. Nf1 d4 29. cxd4 Nf5 30. d5 Bxd5 31. Bxd5 Rxd5 32. Qf2 Rxd2 33. Qxd2 Re7 34. Rd1 Qa4 35. Qd8 Rf7 -0.55 D26} Kg7 {-0.29 D20} 37. Rd3 {-1.10 D25} Nd4 {-0.28 D20} 38. Ne3 {-0.39 D26} Qb5 {-0.18 D19} 39. Rd2 {0.00 D29} Rd7 {-0.09 D22} 40. Qe8 {0.00 D30} Nxf3+ {-0.09 D22} 41. gxf3 {0.00 D30} Rxd2 {-0.07 D20} 42. Qe7+ {0.00 D31} Kg8 {-0.07 D21} 43. Qe6+ {0.00 D31} Kf8 {-0.07 D22} 44. Qxf6+ {0.00 D30} Ke8 {-0.07 D23} 45. Qe6+ {0.00 D31} Kd8 {0.00 D26} 46. Nc4 {+0.07 D20} Rd1+ {0.00 D27} 47. Kg2 {+0.07 D21} Qd7 {0.00 D27} 48. Qf6+ {+0.07 D21} Qe7 {0.00 D27} 49. Qb6+ {+0.07 D22} Kc8 {0.00 D28} 50. Qxg6 {+0.07 D23} Kb8 {0.00 D30} 51. Nd6 {+0.07 D25} Qxh4 {0.00 D40} 52. Qe8+ {+0.07 D26} Ka7 {0.00 D39} 53. Nc8+ {+0.07 D29} Kb8 {0.00 D42} 54. Nd6+ {+0.07 D28} Ka7 {0.00 D44} 55. Nc8+ {+0.07 D31} Kb8 {0.00 D45} 56. Ne7+ {+0.07 D30} Ka7 {0.00 D48} 57. Nc8+ {+0.07 D32} Kb8 {0.00 D47} 58. Ne7+ {+0.07 D31} Ka7 {0.00 D43} {Threefold Repetition} 1/2-1/2

The start FEN is:

[d]rnbqkbnr/pp3ppp/4p3/2p1P3/3p4/2P2N2/PP1P1PPP/RNBQKB1R w KQkq - 0 5
Notice the first move in the game - 1. Nf3 but there is already N at f3 in start FEN.
Hi all-
For anyone interested, I've just posted a updated release (4-15-2019) which resolves this issue...it's available here:
https://github.com/FireFather/Zentropy/releases
Ferdy
Posts: 4833
Joined: Sun Aug 10, 2008 3:15 pm
Location: Philippines

Re: Zentropy GUI

Post by Ferdy »

kranium wrote: Mon Apr 15, 2019 2:37 pm
Ferdy wrote: Sat Apr 13, 2019 5:20 am
Nice interface thanks for sharing.

There seems to be an issue in pgn output.

Example output from games.pgn
[Event "Engine Game"]
[Site "Earth"]
[Date "2019.04.13"]
[Round "3"]
[White "Komodo 9.02 64-bit "]
[Black "Stockfish 10 64 POPCNT"]
[SetUp "1"]
[FEN "rnbqkbnr/pp3ppp/4p3/2p1P3/3p4/2P2N2/PP1P1PPP/RNBQKB1R w KQkq - 0 5"]
[Result "1/2-1/2"]

1. Nf3 e6 2. Be2 Ne7 3. Ng5 Bg6 4. Na3 c5 5. dxc5 Nec6 6. Be3 Nxe5 7. O-O Nbc6 8. Nb5 a6 9. Nd4 Qd7 10. Nxc6 Nxc6 11. c3 e5 12. b4 f6 13. Nf3 Rc8 14. a3 Be7 15. Ra2 Qe6 16. Rd2 Rd8 17. Qb3 O-O 18. Rfd1 Bf7 19. Qb1 Rfe8 20. Re1 g6 21. Bd1 Bf8 22. Bb3 Bg7 23. Nh2 Ne7 24. Qc2 Kh7 25. f3 Bh6 26. Qd3 Bxe3+ 27. Qxe3 Qc6 28. Nf1 d4 29. cxd4 Nf5 30. d5 Bxd5 31. Bxd5 Rxd5 32. Qf2 Rxd2 33. Qxd2 Re7 34. Rd1 Qa4 35. Qd8 Rf7 -0.55 D26} Kg7 {-0.29 D20} 37. Rd3 {-1.10 D25} Nd4 {-0.28 D20} 38. Ne3 {-0.39 D26} Qb5 {-0.18 D19} 39. Rd2 {0.00 D29} Rd7 {-0.09 D22} 40. Qe8 {0.00 D30} Nxf3+ {-0.09 D22} 41. gxf3 {0.00 D30} Rxd2 {-0.07 D20} 42. Qe7+ {0.00 D31} Kg8 {-0.07 D21} 43. Qe6+ {0.00 D31} Kf8 {-0.07 D22} 44. Qxf6+ {0.00 D30} Ke8 {-0.07 D23} 45. Qe6+ {0.00 D31} Kd8 {0.00 D26} 46. Nc4 {+0.07 D20} Rd1+ {0.00 D27} 47. Kg2 {+0.07 D21} Qd7 {0.00 D27} 48. Qf6+ {+0.07 D21} Qe7 {0.00 D27} 49. Qb6+ {+0.07 D22} Kc8 {0.00 D28} 50. Qxg6 {+0.07 D23} Kb8 {0.00 D30} 51. Nd6 {+0.07 D25} Qxh4 {0.00 D40} 52. Qe8+ {+0.07 D26} Ka7 {0.00 D39} 53. Nc8+ {+0.07 D29} Kb8 {0.00 D42} 54. Nd6+ {+0.07 D28} Ka7 {0.00 D44} 55. Nc8+ {+0.07 D31} Kb8 {0.00 D45} 56. Ne7+ {+0.07 D30} Ka7 {0.00 D48} 57. Nc8+ {+0.07 D32} Kb8 {0.00 D47} 58. Ne7+ {+0.07 D31} Ka7 {0.00 D43} {Threefold Repetition} 1/2-1/2

The start FEN is:

[d]rnbqkbnr/pp3ppp/4p3/2p1P3/3p4/2P2N2/PP1P1PPP/RNBQKB1R w KQkq - 0 5
Notice the first move in the game - 1. Nf3 but there is already N at f3 in start FEN.
Hi all-
For anyone interested, I've just posted a updated release (4-15-2019) which resolves this issue...it's available here:
https://github.com/FireFather/Zentropy/releases
Now it is working :).
Ferdy
Posts: 4833
Joined: Sun Aug 10, 2008 3:15 pm
Location: Philippines

Re: Zentropy GUI

Post by Ferdy »

kranium wrote: Tue Apr 09, 2019 3:16 pm Hi all-

I recently released a new toy...an open-source engine GUI on Github:
https://github.com/FireFather/Zentropy
Other issues observed.

(1) In the live game, SetUp, FEN and Result tag values are missing.

Current notation.

Code: Select all

[Event "Engine Game"]
[Site "Earth"]
[Date "2019.04.16"]
[Round "8"]
[White "Stockfish 130419 64 POPCNT"]
[Black "Stockfish 10 64 POPCNT"]
[setup]
[fen]
[result]

1. Bxc6 bxc6 2. O-O d6 3. d3 Be7 4. Nbd2 O-O 5. Re1 Be6 6. b3 Nd7 7. d4 Bf6 8. c3 a5 9. Bb2 a4 10. Qc2 Qb8 11. c4 exd4 12. Bxd4 Ne5 13. Nxe5 Bxe5 14. Bxe5 dxe5 15. Red1 Bg4 16. Rdb1 Rd8 17. Nf1 Rd4 18. bxa4 Qa7 19. Ne3 Bd7 20. Rb2 h6 21. h3 Be6 22. Qb1 Qxa4

(2) After stopping the match, one engine still runs.

(3) In the distributed zentropy zip file, there is a big file around 2GB that seemed not necessary. This should be deleted.

Image

(4) Wrong 3-fold repetition detection.

Consider this game.

[pgn][Event "Engine Game"] [Site "Earth"] [Date "2019.04.16"] [Round "2"] [White "Stockfish 130419 64 POPCNT"] [Black "Stockfish 10 64 POPCNT"] [Result "1/2-1/2"] [ECO "E00"] [FEN "rnbqk2r/ppp2ppp/4pn2/3p4/1bPP4/5NP1/PP2PP1P/RNBQKB1R w KQkq - 1 5"] [SetUp "1"] 5.Bd2 Be7 6.Bg2 c5 7.dxc5 Bxc5 8.Qc2 b6 9.cxd5 exd5 10.O-O O-O 11.Nc3 Bb7 12.Bf4 Re8 13.a3 Nbd7 14.b4 Bf8 15.Qb3 Nh5 16.Bg5 Nhf6 17.Rfd1 h6 18.Bf4 Rc8 19.Rac1 a6 20.Be3 b5 21.Bd4 Nb6 22.Ne5 Bd6 23.Nd3 Nc4 24.a4 Bc6 25.Nc5 Qe7 26.e3 Bxc5 27.bxc5 Ne4 28.axb5 axb5 29.Bxe4 dxe4 30.Nxb5 Na5 31.Qb4 Rb8 32.Qxa5 Rxb5 33.Qd2 Qg5 34.Ra1 Rb3 35.Ra6 Rd3 36.Qe2 Rc8 37.Ra7 Bb5 38.Rda1 Bc4 39.R7a4 Bb5 40.Ra5 Bc4 41.R5a4 Be6 42.h4 Qf5 43.Kh2 Qh3+ 44.Kg1 Qf5 45.Kh2 h5 46.Rc1 Bd5 47.Rb4 Qf3 48.Rb2 Ra3 49.Qf1 Bc6 50.Rcc2 Rd3 51.Rb1 Ra8 52.Qh1 Qg4 53.Qg1 Kh7 54.Qf1 Qf3 55.Qg2 Qg4 56.Rcb2 Bd5 57.Qh3 Qf3 58.Rc1 Ra6 59.g4 hxg4 60.Qxf3 gxf3 61.Kg3 Rh6 62.h5 Rxh5 63.c6 Kg6 64.c7 Rg5+ 65.Kh2 Rh5+ 66.Kg1 Rg5+ 67.Kh2 Rh5+ 68.Kg3 Rg5+ 69.Kh2 Rh5+ 70.Kg3 Rg5+ 71.Kh2 { Threefold Repetition } 1/2-1/2[/pgn]

The 1st position in the 3-fold is after 64.c7
The 2nd position is after 68.Kg3
The 3rd position is after 70.Kg3

But the game has reached 71.Kh2.
kranium
Posts: 2129
Joined: Thu May 29, 2008 10:43 am

Re: Zentropy GUI

Post by kranium »

Ferdy wrote: Mon Apr 15, 2019 11:46 pm
(1) In the live game, SetUp, FEN and Result tag values are missing.

Current notation.

Code: Select all

[Event "Engine Game"]
[Site "Earth"]
[Date "2019.04.16"]
[Round "8"]
[White "Stockfish 130419 64 POPCNT"]
[Black "Stockfish 10 64 POPCNT"]
[setup]
[fen]
[result]

1. Bxc6 bxc6 2. O-O d6 3. d3 Be7 4. Nbd2 O-O 5. Re1 Be6 6. b3 Nd7 7. d4 Bf6 8. c3 a5 9. Bb2 a4 10. Qc2 Qb8 11. c4 exd4 12. Bxd4 Ne5 13. Nxe5 Bxe5 14. Bxe5 dxe5 15. Red1 Bg4 16. Rdb1 Rd8 17. Nf1 Rd4 18. bxa4 Qa7 19. Ne3 Bd7 20. Rb2 h6 21. h3 Be6 22. Qb1 Qxa4
Yes, this is something I'll address for the next release...
At the moment I write all three of those tag values (setup, fen, and result) upon game completion, but obviously only 'result' needs to be delayed until then. For functional 'live broadcast', the 'setup' and 'fen' values need to be written upon game start.
Ferdy wrote: Mon Apr 15, 2019 11:46 pm (2) After stopping the match, one engine still runs.
This is actually by design...
you'll also notice that, at application start, the loaded engine which is 'on turn' automatically analyzes the current board position and feeds info to the interface.
I could change this behavior, but I kinda like to see the UI animated and busy...
I don't believe there's any issue with it, as each engine receives a 'ucinewgame' command before the start of each game...
Ferdy wrote: Mon Apr 15, 2019 11:46 pm (3) In the distributed zentropy zip file, there is a big file around 2GB that seemed not necessary. This should be deleted.
Thanks, hadn't seen that. It's a log file from one of the included engines, that was created during testing last year.
(I never understood why an engine author would have the binary produce log files by default...'off' by default with a simple UCI option to turn logging 'on' is the only thing that makes sense to me).
Anyway, I've deleted it (along with some other necessary files) and updated the download.
In addition, for convenience, the engines and logos are now included in a separate download.
Ferdy wrote: Mon Apr 15, 2019 11:46 pm (4) Wrong 3-fold repetition detection.

Consider this game.

[pgn][Event "Engine Game"] [Site "Earth"] [Date "2019.04.16"] [Round "2"] [White "Stockfish 130419 64 POPCNT"] [Black "Stockfish 10 64 POPCNT"] [Result "1/2-1/2"] [ECO "E00"] [FEN "rnbqk2r/ppp2ppp/4pn2/3p4/1bPP4/5NP1/PP2PP1P/RNBQKB1R w KQkq - 1 5"] [SetUp "1"] 5.Bd2 Be7 6.Bg2 c5 7.dxc5 Bxc5 8.Qc2 b6 9.cxd5 exd5 10.O-O O-O 11.Nc3 Bb7 12.Bf4 Re8 13.a3 Nbd7 14.b4 Bf8 15.Qb3 Nh5 16.Bg5 Nhf6 17.Rfd1 h6 18.Bf4 Rc8 19.Rac1 a6 20.Be3 b5 21.Bd4 Nb6 22.Ne5 Bd6 23.Nd3 Nc4 24.a4 Bc6 25.Nc5 Qe7 26.e3 Bxc5 27.bxc5 Ne4 28.axb5 axb5 29.Bxe4 dxe4 30.Nxb5 Na5 31.Qb4 Rb8 32.Qxa5 Rxb5 33.Qd2 Qg5 34.Ra1 Rb3 35.Ra6 Rd3 36.Qe2 Rc8 37.Ra7 Bb5 38.Rda1 Bc4 39.R7a4 Bb5 40.Ra5 Bc4 41.R5a4 Be6 42.h4 Qf5 43.Kh2 Qh3+ 44.Kg1 Qf5 45.Kh2 h5 46.Rc1 Bd5 47.Rb4 Qf3 48.Rb2 Ra3 49.Qf1 Bc6 50.Rcc2 Rd3 51.Rb1 Ra8 52.Qh1 Qg4 53.Qg1 Kh7 54.Qf1 Qf3 55.Qg2 Qg4 56.Rcb2 Bd5 57.Qh3 Qf3 58.Rc1 Ra6 59.g4 hxg4 60.Qxf3 gxf3 61.Kg3 Rh6 62.h5 Rxh5 63.c6 Kg6 64.c7 Rg5+ 65.Kh2 Rh5+ 66.Kg1 Rg5+ 67.Kh2 Rh5+ 68.Kg3 Rg5+ 69.Kh2 Rh5+ 70.Kg3 Rg5+ 71.Kh2 { Threefold Repetition } 1/2-1/2[/pgn]

The 1st position in the 3-fold is after 64.c7
The 2nd position is after 68.Kg3
The 3rd position is after 70.Kg3

But the game has reached 71.Kh2.
The 'Threefold Repetition' detection looks right to me, but it appears the system allowed 1 more ply of play before the game was stopped.
My guess is that the on-turn engine sends it's 'bestmove' after receiving the 'stop' command, and the GUI displays and writes it to PGN.
I'll take a close look and try to fix this for the next release.

Your feedback is much appreciated Ferdy...

Best Regards,
Norm
User avatar
pohl4711
Posts: 2434
Joined: Sat Sep 03, 2011 7:25 am
Location: Berlin, Germany
Full name: Stefan Pohl

Re: Zentropy GUI

Post by pohl4711 »

PeterO wrote: Thu Apr 11, 2019 9:59 pm Hi - wow looks GREAT - very very intersting!

Some questions: Do yo plan to support
1. Online Games (FICS, LICHESS, chess.com)?
2. eBoards : DGT, Millenium Chess Genius Exclusive Board?

Peter
A support of the fantastic Millenium ChessGenius Exklusive Board would be so cool. Because it would be possible to play versus PC-Leela on a wooden Chessboard with LEDs. At the moment, this is still impossible. Which is very sad.

This would be a killer-feature of your GUI !
ChickenLogic
Posts: 154
Joined: Sun Jan 20, 2019 11:23 am
Full name: kek w

Re: Zentropy GUI

Post by ChickenLogic »

Thank you very much for this GUI - I think it is marvelous. Simple and clean.

After using it for some matches now I have a list of recommendations.
(NOTE: I understand that programming GUIs is a heck of a lot of work. Please don't feel pressured in any way :D )
  • Tournament management: I like how arena does it with the ".at" (arena tournament) files. This way one can easily pause the match which I'd like to have in this GUI as well. I makes VLTC (5 mins) and above matches easier to conduct for those who run them on their private computers.
  • Engine configuration: I like that you can actually just type the config in. But it is a little bit hard if you want to configure an engine like Leela as there are so many options with hard to memorize default values. If there was a list nearby of the options available with the default value it would make configuring the engines a lot easier.
  • Fixed amount of node matches: They are very important for quick engine testing. For me even more so as I'm involved with BetaOne. As of now one can only specify a fixed number of nodes for all engines. It would be useful if you could fix the number of nodes for each engine individually.
  • Options for comments in the PGN: Sometimes I want to have the depth, movetime, eval and PV as a comment in the PGN. For now this option is missing.
  • Responisve design: When resizing the window the eval graph and other elements don't adjust which results in a lot of white space or cut off information.
  • Live rating with error in addition to the already existing LOS. Maybe this can be done with Ordo? I don't know if the license would permit you to use it in the GUI.
  • An option to show the material difference on the left or right side of the board would be a welcomed addition.
So far I'm very impressed with your work! Have a nice day.

-Ente-