Page 1 of 1

New version - Goyaz

PostPosted: 30 Dec 2007, 21:10
by Wander Ferreira Jr
Hi there,

After a long, long time, there is a new version of Goyaz!!!

Initially, I would just include the Transposition Table, but, with it implemented, I found a huge bug in my quiescence search, that was there since my previous version.

Now the entire engine seems to do exactly what I teached it :). Just have to teach it more and more of strategy (doubled pawns, open files, etc.) and it will become better (I hope... :D). Before finding the bug, these things just didn't do what I expected...

I didn't estimate it's new rating yet, but it's more than the previous version.

It's available for download in Goyaz's site.

Re: New version - Goyaz

PostPosted: 07 Jan 2008, 12:55
by Guenther Simon
Hello Wander,

I noticed that Goyaz 0.005 has a strange bug which makes it
repeat the last calculated move in the last move before the cut
in time controls moves/time.
In my case it always repeated move 39 in move 40 at a tc of
40 moves/ 15 minutes, which leads to an immediate loss, because
of an illegal move of course.

Guenther

I have attached the appropriate debug snippets and the games below:

Code: Select all
1650022 <second: 1 -502 0 1 g6h5
1650022 <second: 2 -502 0 2 g6h5
1650022 <second: 3 -502 0 3 g6h5
1650022 <second: 4 -502 0 4 g6h5
1650022 <second: 5 -502 0 5 g6h5
1650022 <second: 6 -502 0 6 g6h5
1650022 <second: 7 -502 0 7 g6h5
1653677 <second: 8 -578 365 616458 g6h5 g2f3 e2g1 f3f4 g1h3 f4e5 e7c6 e5e4
1658805 <second: 9 -578 879 1371287 g6h5 g2f3 e2g1 f3g2 g1e2 g2f3 e2g1
1670271 <second: move g6h5
1670271 >first : time 2186
1670271 >first : otim 10933
1670271 >first : usermove 1670271 >first : g6h5
1670281 <first : 1 395 0 27 - b7b4
1670281 <first : 2 414 0 155 - g2f3 e2g1 f3f4
1670281 <first : 3 414 0 394 - g2f3 e2g1 f3f4
1670281 <first : 4 414 0 860 - g2f3 e2g1 f3f4
1670281 <first : 5 414 1 2460 - g2f3 e2g1 f3f4
1670311 <first : 6 414 4 7538 - g2f3 e2g1 f3f4
1673216 <first : 7 427 294 623481 - g2f3 e2g1 f3f4 g1h3 f4e5 h3f2 c7a6 f2g4 e5d6 e7f5 d6d5
1685403 <first : 8 432 1513 3204644 - g2f3 e2g1 f3f4 g1h3 f4e5 h3g5 c7a6 g5f3 e5f4 f3d4 a6c5
1691932 <first : 9 2166 4565809
1691932 <first : move g2f3
1691932 >second: time 10933
1691932 >second: otim 90020
1691932 >second: g2f3
1691942 <second: move g6h5
GameEnds(31, Forfeit due to illegal move, 4)
1691942 >first : result 1-0 {Forfeit due to illegal move}
1691942 >second: result 1-0 {Forfeit due to illegal move}
1692043 >first : quit
1692643 >second: quit
Exiting: Match Chess-Rikus 1.465 vs. GOYAZ: final score 1-0-0
GameEnds(0, (null), 2)


[Event "RWBC PSWBTM Swiss RT39"]
[Site "ESPRESSO"]
[Date "2008.01.06"]
[Round "1.20"]
[White "ChessRikus_1465"]
[Black "Goyaz_0005"]
[Result "1-0"]
[TimeControl "40/900"]
[Annotator "1. +0.14 1... +0.04"]
[Number "39"]

1. e3 {+0.14/7} d5 {+0.04/7} 2. d4 {+0.08/7} e6 {+0.06/7} 3. c4 {+0.02/6}
Nf6 {-0.11/6} 4. Nc3 {+0.02/6} c5 {+0.08/5} 5. cxd5 {+0.08/7}
exd5 {-0.06/6} 6. Bb5+ {+0.05/6} Bd7 {+0.12/5} 7. Nf3 {+0.03/7}
Bxb5 {+0.92/5} 8. Nxb5 {+0.03/7} Nc6 {+0.16/5} 9. O-O {+0.02/7}
Qd7 {+0.09/5} 10. Qa4 {+0.17/7} a6 {+0.10/5} 11. Ne5 {+0.10/7}
Qc8 {+2.08/5} 12. Nc3 {+0.08/7} Bd6 {+1.11/5} 13. f4 {+0.07/6}
cxd4 {+1.89/5} 14. exd4 {+0.07/7} O-O {-0.10/6} 15. Be3 {+0.09/6}
Re8 {-0.03/4} 16. Rfc1 {+0.17/4} Qe6 {-0.08/4} 17. Re1 {+0.13/5}
Bxe5 {+1.00/5} 18. fxe5 {+0.23/7} Ng4 {-0.11/6} 19. Bf4 {+0.17/7}
f5 {-0.07/4} 20. h3 {+0.40/7} Nh6 {-0.12/6} 21. Qb3 {+0.40/5}
Nxd4 {+1.00/5} 22. Qd1 {+0.34/7} Nc6 {-0.09/6} 23. Qxd5 {+0.19/7}
Nf7 {-0.09/6} 24. Qxe6 {+0.34/7} Rxe6 {+0.05/7} 25. Nd5 {+0.24/7}
Rd8 {-0.01/6} 26. Nc7 {+0.52/8} Re7 {-0.04/7} 27. e6 {+0.95/8}
Nh8 {-0.94/6} 28. Bg5 {+2.04/7} Ng6 {-1.89/7} 29. Bxe7 {+2.04/8}
Ngxe7 {-1.92/8} 30. Rad1 {+2.04/7} Nd4 {-1.87/7} 31. Kh1 {+2.12/7}
Rd6 {-1.90/7} 32. Re2 {+2.30/7} Kf8 {-1.89/7} 33. g4 {+2.30/7} g6 {-2.06/6}
34. a4 {+2.30/7} Nxe2 {-2.10/6} 35. Rxd6 {+2.47/8} Ng3+ {-2.23/7} 36.
Kg2 {+2.95/8} f4 {-4.02/8} 37. Rb6 {+3.23/7} h5 {-4.64/8} 38.
Rxb7 {+3.92/8} Ne2 {-5.37/8} 39. gxh5 {+4.02/7} gxh5 {-5.78/9} 40.
Kf3 {+4.32/8}
{Forfeit due to illegal move} 1-0


Code: Select all
1397660 >first : time 12950
1397660 >first : otim 27432
1397660 >first : g4g3
1397680 <first : 1 25 1 252 h2g3
1397680 <first : 2 12 1 561 h2g3 f5g5
1397720 <first : 3 53 2 1567 h2g3 f5g5 g3g4
1397720 <first : 4 25 5 4204 h2g3 f6e4 b2b4 h7h5
1397780 <first : 5 65 11 11330 h2g3 f5f3 g1g2 f3b3 a4a7
1398010 <first : 6 34 34 44189 h2g3 f5g5 b2b4 g5g3 g1h2 f6e4
1398872 <first : 7 38 119 152855 h2g3 f5g5 g1h2 f6e4 b2b3 g5g3 a4e4
1401055 <first : 8 10 337 473360 h2g3 f5g5 g1h2 f6e4 b2b4 h7h5 a1g1 e4g3
1417929 <first : move h2g3
1417929 >second: time 27432
1417929 >second: otim 10923
1417929 >second: usermove 1417929 >second: h2g3
1417949 <second: 1 -81 0 2 f5g5
1417949 <second: 2 -81 0 26 f5g5
1417949 <second: 3 -81 0 50 f5g5
1417949 <second: 4 -81 0 74 f5g5
1417949 <second: 5 -81 0 98 f5g5
1417949 <second: 6 -81 0 122 f5g5
1417949 <second: 7 -81 0 146 f5g5
1418951 <second: 8 -88 100 348146 f5g5 g1h2 f6e4 a4a7 e4g3 b2b4 g7f6 a3a4
1421885 <second: 8 -85 393 1351566 f6e4 a4a7 e4g3 b2b3 g3e2 g1h2 e2d4 a1g1
1427092 <second: move f6e4
1427092 >first : time 10923
1427092 >first : otim 26516
1427092 >first : f6e4
1427112 <first : move h2g3
GameEnds(32, Forfeit due to illegal move, 4)
1427112 >first : result 0-1 {Forfeit due to illegal move}
1427112 >second: result 0-1 {Forfeit due to illegal move}
1427212 >first : quit
1427813 >second: quit
Exiting: Match GOYAZ vs. Needle 0.53.1: final score 0-1-0
GameEnds(0, (null), 2)


[Event "RWBC PSWBTM Swiss Rt39"]
[Site "ESPRESSO"]
[Date "2008.01.07"]
[Round "1.19"]
[White "Goyaz_0005"]
[Black "Needle_0531"]
[Result "0-1"]
[TimeControl "40/900"]
[Annotator "1. +0.16 4... -0.03"]
[Number "37"]

1. e4 {+0.16/7} e6 2. d4 {-0.04/6} d5 3. exd5 {+0.16/5} exd5 4.
Nf3 {+0.00/6} Nf6 {-0.03/7} 5. Nc3 {+0.00/6} c6 {+0.07/7} 6. Be3 {+0.04/6}
Bd6 {+0.22/7} 7. Bd3 {+0.02/6} O-O {+0.18/7} 8. O-O {+0.06/5} Bg4 {+0.10/8}
9. Qd2 {+0.04/5} Bxf3 {+0.70/7} 10. gxf3 {-0.02/6} Qc7 {+0.57/8} 11.
f4 {+0.00/6} Na6 {+0.60/7} 12. f3 {+0.11/5} Nb4 {+0.84/7} 13. Bf5 {+0.11/5}
Rae8 {+0.74/7} 14. a3 {+0.12/5} Na6 {+0.81/7} 15. Rfb1 {+0.08/5}
Nh5 {+1.30/7} 16. Ne2 {-0.01/5} Qe7 {+1.30/8} 17. Kf2 {-0.01/5}
Qh4+ {+1.30/8} 18. Kg1 {-0.01/5} Qe7 {+1.30/8} 19. Kf2 {-0.84/5}
Qh4+ {+1.30/8} 20. Kg1 {-0.97/6} Nf6 {+0.78/6} 21. Bd3 {+0.14/5}
g5 {+0.77/7} 22. Bxa6 {+0.06/5} bxa6 {+0.55/8} 23. Bf2 {-1.09/4}
Bxf4 {+0.72/8} 24. Nxf4 {-0.88/7} Qxf4 {+0.76/9} 25. Qd3 {-0.98/6}
a5 {+0.84/8} 26. Bg3 {+0.14/5} Qe3+ {+0.88/9} 27. Qxe3 {-0.27/7}
Rxe3 {+0.85/9} 28. Rf1 {-0.94/6} Kg7 {+0.90/7} 29. Be5 {-0.69/6}
Re2 {+0.84/8} 30. f4 {-0.72/6} g4 {+0.86/9} 31. Rfc1 {-0.59/7} a4 {+0.87/8}
32. c4 {+0.29/7} Re8 {+0.64/8} 33. cxd5 {-0.59/6} cxd5 {+0.18/8} 34.
f5 {+0.11/7} Re7 {+0.18/8} 35. Rc6 {+0.86/8} R2xe5 {-0.72/10} 36.
dxe5 {+0.86/8} Rxe5 {-0.73/9} 37. Ra6 {+0.25/8} Rxf5 {-0.74/9} 38.
Rxa4 {-0.59/8} g3 {-0.81/9} 39. hxg3 {+0.10/8} Ne4 {-0.85/8}
{Forfeit due to illegal move} 0-1


Code: Select all
1423046 <first : move h7d7
1423046 >second: time 13014
1423046 >second: otim 24800
1423046 >second: h7d7
1423066 <second: 1 -707 0 10 g6f6
1423066 <second: 2 -788 0 162 h5h4 c5c6
1423066 <second: 3 -713 0 420 h5h4 c5c6 g6f5
1423086 <second: 4 -1038 2 2994 g6f5 g2g3 f4g3 d7d5
1423156 <second: 5 -1108 9 14699 h5h4 e2f3 g6f5 g2g3 h4g3
1423787 <second: 6 -1178 73 119720 g6f5 e2f3 f5e6 d7h7 h5h4 g2g4
1424939 <second: 7 -1200 188 296803 h5h4 e2f3 g6f5 c5c6 h4h3 g2h3 f5e5
1436996 <second: 8 -1265 1394 2124021 h5h4 e2f3 g6f5 c5c6 f5e5 b3b4 e5f5 g2g3
1443315 <second: move h5h4
1443315 >first : time 24800
1443315 >first : otim 10987
1443315 >first : usermove 1443315 >first : h5h4
1443325 <first : 1 1521 0 2 c5c6
1443335 <first : 2 1521 0 30 c5c6
1443335 <first : 3 1521 0 58 c5c6
1443335 <first : 4 1521 0 86 c5c6
1443335 <first : 5 1521 0 114 c5c6
1443335 <first : 6 1521 0 142 c5c6
1443335 <first : 7 1521 0 170 c5c6
1443335 <first : 8 1521 0 198 c5c6
1443896 <first : 9 1522 56 364090 c5c6 g6h5 c6c7 h5g5 c7c8Q g5f5 c8d8 f5e6 h2h3
1448613 <first : 10 1616 527 2483757 c5c6 h4h3 g2h3 g6f5 e2f3 f5e5 c6c7 e5e6 c7c8Q e6e5
1451597 <first : move c5c6
1451597 >second: time 10987
1451597 >second: otim 113972
1451597 >second: c5c6
1451617 <second: move h5h4
GameEnds(31, Forfeit due to illegal move, 4)
1451617 >first : result 1-0 {Forfeit due to illegal move}
1451617 >second: result 1-0 {Forfeit due to illegal move}
1451717 >first : quit
1452318 >second: quit
Exiting: Match Needle 0.53.1 vs. GOYAZ: final score 1-0-0
GameEnds(0, (null), 2)


[Event "RWBC PSWBTM Swiss RT39"]
[Site "ESPRESSO"]
[Date "2008.01.07"]
[Round "1.19"]
[White "Needle_0531"]
[Black "Goyaz_0005"]
[Result "1-0"]
[TimeControl "40/900"]
[Annotator "2. +0.00 1... +0.07"]
[Number "38"]

1. c4 e5 {+0.07/7} 2. e4 {+0.00/8} d6 {-0.10/6} 3. d3 {+0.00/8}
Nc6 {-0.12/6} 4. Nf3 {+0.25/7} f5 {-0.05/6} 5. Nc3 {+0.16/8} Nf6 {+0.07/5}
6. Be2 {+0.25/8} Be7 {-0.04/6} 7. O-O {+0.25/8} O-O {-0.05/6} 8.
b3 {+0.25/7} g6 {+0.12/5} 9. Bh6 {+0.27/8} Re8 {+0.12/5} 10. Qd2 {+0.27/7}
Be6 {-0.01/4} 11. Rad1 {+0.30/7} Qd7 {+0.02/4} 12. Nd5 {+0.29/8}
Reb8 {+0.18/3} 13. Bg5 {+0.45/7} Nxe4 {+1.06/3} 14. dxe4 {+2.50/8}
fxe4 {-2.09/4} 15. Bxe7 {+3.55/8} Bxd5 {-2.14/5} 16. Qxd5+ {+3.52/8}
Kg7 {-3.00/7} 17. Bxd6 {+3.39/8} Qxd6 {-3.17/6} 18. Qxe4 {+3.61/8}
Qe7 {-3.20/6} 19. Rd5 {+3.54/7} Kg8 {-3.00/5} 20. c5 {+4.25/7}
Re8 {-3.01/5} 21. Bb5 {+4.43/7} Qf6 {-4.11/6} 22. Bxc6 {+4.26/6}
Qxc6 {-4.17/6} 23. Re1 {+4.22/7} Red8 {-4.14/6} 24. Rxd8+ {+4.29/8}
Rxd8 {-4.10/7} 25. Qxc6 {+4.43/8} bxc6 {-4.16/9} 26. Nxe5 {+4.51/9}
Re8 {-4.28/8} 27. f4 {+4.94/9} Re6 {-4.64/7} 28. Re4 {+5.23/9}
Kg7 {-6.83/8} 29. Ra4 {+6.03/9} g5 {-7.09/8} 30. Rxa7 {+6.21/10}
gxf4 {-7.77/8} 31. Rxc7+ {+6.24/10} Kf6 {-8.64/8} 32. Nxc6 {+6.25/9}
h5 {-8.07/7} 33. Kf2 {+6.33/9} Re3 {-8.90/7} 34. Nd4 {+6.34/8}
Rd3 {-8.25/7} 35. Ne2 {+6.39/9} Rd2 {-9.91/8} 36. Kf3 {+6.72/9}
Rxa2 {-10.21/9} 37. Rh7 {+6.81/9} Rxe2 {-10.15/9} 38. Kxe2 {+11.23/11}
Kg6 {-12.17/9} 39. Rd7 {+15.16/10} h4 {-12.65/8} 40. c6 {+16.16/10}
{Forfeit due to illegal move} 1-0

Re: New version - Goyaz

PostPosted: 08 Jan 2008, 00:29
by Wander Ferreira Jr
Guenther Simon wrote:In my case it always repeated move 39 in move 40 at a tc of
40 moves/ 15 minutes, which leads to an immediate loss, because
of an illegal move of course.


I did see this bug in the earlier versions of Goyaz, but did not know which caused it... I thought that this bug was fixed in the new versions. But now I see that I just stopped to play 40 moves in 5 minutes and started to play 2 min + 12 sec. :(

Thanks for the tip. Now I will look for it and hopefully fix it soon. :D