Havoc - New Gothic chess engine

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

Moderators: hgm, Rebel, chrisw

JohnWoe
Posts: 491
Joined: Sat Mar 02, 2013 11:31 pm

Havoc - New Gothic chess engine

Post by JohnWoe »

I have been lately writing a new engine from scratch. Havoc engine. My main engine probably.

I've been finding more and more speedups and tricks.
And to my surprise today Havoc 0.7 scored: 4 wins and 6 losses against Fairy-Max 5.0b in 3+0 games.

Site I made for Havoc: https://samuraidangyo.github.io/

Sample game. Havoc doesn't have lots of knowledge yet.
Absolutely no mating heuristics. Still it finished Fairy-Max easily. :lol:

Code: Select all

[Event "Computer Chess Game"]
[Site "pc"]
[Date "2021.02.13"]
[Round "7"]
[White "Havoc 0.7"]
[Black "Fairy-Max 5.0b"]
[Result "1-0"]
[TimeControl "180"]
[Variant "gothic"]

1. e4
{+0,28/7}
1... Nh6
{+0,22/7 3}
2. f4
{+0,47/7 6}
2... d5
{+0,23/7 2,7}
3. g3
{+0,41/7 6}
3... c6
{-0,02/8 9}
4. d3
{+1,29/6 5}
4... Bg4
{-0,04/6 2,3}
5. Bf3
{+1,34/8 5}
5... Bxf3
{-0,11/8 7}
6. Axf3
{+1,38/8 5}
6... dxe4
{-0,03/7 3}
7. dxe4
{+1,22/8 5}
7... g6
{-0,08/7 4}
8. Cd3
{+1,32/8 5}
8... Cd6
{-0,30/8 3}
9. Nh3
{+1,31/8 5}
9... Cxd3
{-0,06/8 2,4}
10. cxd3
{+1,20/9 4}
10... Nd7
{+0,00/7 6}
11. O-O
{+1,47/7 4}
11... Nc5
{+0,06/8 4}
12. d4
{+1,39/8 4}
12... Ne6
{+0,14/8 4}
13. Be3
{+1,35/7 4}
13... c5
{+0,35/8 7}
14. e5
{+0,92/8 4}
14... cxd4
{+0,40/8 2,5}
15. Bf2
{+0,89/7 4}
15... Qd7
{+0,43/7 2,7}
16. Qb3
{+1,08/6 4}
16... Rb8
{+0,83/6 1,4}
17. Qd3
{+0,82/6 3}
17... Nf5
{+0,90/6 2,8}
18. Na3
{+0,93/6 3}
18... Qa4
{+0,84/5 1,4}
19. Rhc1
{+1,07/6 3}
19... Qb4
{+0,76/6 2,8}
20. Ad5
{+1,06/6 3}
20... Qa5
{+0,89/7 1,9}
21. Ab3
{+1,00/6 3}
21... Qb6
{+0,85/6 2,1}
22. Aa4
{+1,18/6 2,9}
22... Qd8
{+0,90/6 2,1}
23. g4
{+1,09/6 2,8}
23... Nh6
{+0,88/6 1,7}
24. f5
{+1,12/8 2,7}
24... gxf5
{+0,70/8 2,4}
25. gxf5
{+1,14/8 2,7}
25... Ng7
{-0,34/8 7}
26. Qxd4
{+1,33/8 2,6}
26... Ngxf5
{-0,02/8 2,0}
27. Ad7+
{+1,96/9 2,5}
27... Qxd7
{-1,57/9 1,1}
28. Qxd7
{+3,13/9 2,4}
28... Ng7
{-2,26/8 1,0}
29. Bxa7
{+4,02/8 2,3}
29... Re8
{-2,25/7 2,9}
30. Rf1
{+3,95/8 2,2}
30... Ni6
{-2,35/6 1,2}
31. Rg1
{+3,86/8 2,2}
31... Bg7
{-2,46/7 1,7}
32. Rac1
{+5,47/8 2,1}
32... f5
{-3,68/5 0,9}
33. exf6
{+6,57/8 2,0}
33... Axa2
{-5,08/7 1,2}
34. fxg7+
{+6,66/8 2,0}
34... Nxg7
{-7,57/8 2,1}
35. Rcf1+
{+7,45/8 1,9}
35... Nf7
{-7,89/7 1,5}
36. Ng5
{+9,21/8 1,8}
36... O-O
{-7,83/8 3}
37. Nxf7
{+9,71/8 1,8}
37... Ae6
{-8,08/8 1,1}
38. Qxb7
{+9,84/9 1,7}
38... Rhf8
{-8,19/8 0,8}
39. Qe4
{+9,87/8 1,7}
39... Rc8
{-9,07/7 1,6}
40. Qe5
{+10,30/8 1,6}
40... Rxf7
{-9,17/8 1,0}
41. Qxe6
{+11,07/9 1,5}
41... Nxe6
{-9,41/10 1,2}
42. Rxf7
{+11,10/10 1,5}
42... j6
{-9,49/10 3}
43. Rxe7
{+11,22/9 1,4}
43... Nf4
{-9,65/10 2,9}
44. Bd4
{+11,26/9 1,4}
44... Kj7
{-9,43/9 2,3}
45. Re4
{+11,49/9 1,3}
45... Nd3
{-9,46/8 1,5}
46. Reg4
{+11,59/9 1,3}
46... h5
{-9,33/8 1,3}
47. R4g3
{+11,75/9 1,3}
47... Nf4
{-9,25/8 0,6}
48. Rg8
{+11,80/9 1,2}
48... Rxg8
{-9,33/9 0,6}
49. Rxg8
{+11,69/10 1,2}
49... i5
{-9,42/8 1,1}
50. j3
{+11,67/9 1,1}
50... j5
{-9,34/8 1,0}
51. Nb5
{+11,78/9 1,1}
51... j4
{-9,27/8 1,4}
52. Be3
{+11,78/9 1,1}
52... Nd3
{-9,39/9 1,0}
53. b3
{+12,05/9 1,0}
53... h4
{-9,38/8 0,8}
54. Nc3
{+12,06/9 1,0}
54... Ki6
{-9,32/8 0,9}
55. Ri8+
{+12,13/9 1,0}
55... Kh5
{-10,14/8 0,5}
56. Nd5
{+12,12/8 0,9}
56... Ne1
{-10,20/9 0,8}
57. Nf4+
{+12,75/9 0,9}
57... Kg4
{-10,21/10 1,6}
58. Rxi5
{+12,84/9 0,9}
58... Nc2
{-10,31/10 1,0}
59. Bc1
{+13,30/10 0,8}
59... Nd4
{-11,15/9 0,6}
60. Ng6
{+13,40/9 0,8}
60... Kf3
{-11,46/8 0,7}
61. Re5
{+13,51/9 0,8}
61... Kg2
{-11,56/8 0,5}
62. Be3
{+13,97/9 0,8}
62... Nf3
{-11,65/9 0,7}
63. Rf5
{+14,44/9 0,7}
63... h3
{-11,40/9 0,6}
64. ixh3
{+14,44/9 0,7}
64... Nxh2
{-13,27/9 0,4}
65. Rf2+
{+15,98/10 0,7}
65... Kxh3
{-13,29/10 0,5}
66. Rxh2+
{+16,31/10 0,7}
66... Kg4
{-13,95/10 0,8}
67. Rh4+
{+16,46/9 0,6}
67... Kf5
{-14,19/10 1,3}
68. Ni7
{+16,55/9 0,6}
68... Ke5
{-14,21/10 0,5}
69. Nh5
{+16,70/9 0,6}
69... Kd5
{-13,66/10 1,1}
70. Rg4
{+16,71/9 0,6}
70... Ke5
{-13,82/9 0,5}
71. Kh2
{+16,67/8 0,6}
71... Kd5
{-13,88/9 0,4}
72. Rxj4
{+16,70/8 0,5}
72... Kd6
{-13,96/9 0,4}
73. Bg5
{+16,78/8 0,5}
73... Kd5
{-14,54/10 0,7}
74. Rc4
{+16,82/8 0,5}
74... Ke5
{-15,19/10 0,9}
75. Kh3
{+16,82/8 0,5}
75... Kf5
{-14,24/10 0,8}
76. Bf4
{+16,90/9 0,5}
76... Kg6
{-14,08/9 0,5}
77. Ng3
{+16,98/8 0,5}
77... Kf7
{-14,07/9 0,3}
78. Rc6
{+17,03/8 0,4}
78... Kg7
{-14,06/9 0,3}
79. Nf5+
{+17,09/8 0,4}
79... Kf7
{-14,05/9 0,4}
80. b4
{+17,14/8 0,4}
80... Ke8
{-14,63/8 0,3}
81. Rc7
{+17,17/8 0,4}
81... Kf8
{-1000,04/10 0,3}
82. b5
{+17,21/8 0,4}
82... Kg8
{-1000,03/18 0,3}
83. b6
{+104,85/7 0,2}
83... Kh8
{-1000,02/28 0,1}
84. b7
{+104,85/4 0,1}
84... Ki8
{-1000,01/28 0,1}
85. b8=Q#
{+104,85/2 0,1}

{Xboard adjudication: Checkmate} 1-0

User avatar
maksimKorzh
Posts: 771
Joined: Sat Sep 08, 2018 5:37 pm
Location: Ukraine
Full name: Maksim Korzh

Re: Havoc - New Gothic chess engine

Post by maksimKorzh »

JohnWoe wrote: Sat Feb 13, 2021 9:04 pm I have been lately writing a new engine from scratch. Havoc engine. My main engine probably.

I've been finding more and more speedups and tricks.
And to my surprise today Havoc 0.7 scored: 4 wins and 6 losses against Fairy-Max 5.0b in 3+0 games.

Site I made for Havoc: https://samuraidangyo.github.io/

Sample game. Havoc doesn't have lots of knowledge yet.
Absolutely no mating heuristics. Still it finished Fairy-Max easily. :lol:

Code: Select all

[Event "Computer Chess Game"]
[Site "pc"]
[Date "2021.02.13"]
[Round "7"]
[White "Havoc 0.7"]
[Black "Fairy-Max 5.0b"]
[Result "1-0"]
[TimeControl "180"]
[Variant "gothic"]

1. e4
{+0,28/7}
1... Nh6
{+0,22/7 3}
2. f4
{+0,47/7 6}
2... d5
{+0,23/7 2,7}
3. g3
{+0,41/7 6}
3... c6
{-0,02/8 9}
4. d3
{+1,29/6 5}
4... Bg4
{-0,04/6 2,3}
5. Bf3
{+1,34/8 5}
5... Bxf3
{-0,11/8 7}
6. Axf3
{+1,38/8 5}
6... dxe4
{-0,03/7 3}
7. dxe4
{+1,22/8 5}
7... g6
{-0,08/7 4}
8. Cd3
{+1,32/8 5}
8... Cd6
{-0,30/8 3}
9. Nh3
{+1,31/8 5}
9... Cxd3
{-0,06/8 2,4}
10. cxd3
{+1,20/9 4}
10... Nd7
{+0,00/7 6}
11. O-O
{+1,47/7 4}
11... Nc5
{+0,06/8 4}
12. d4
{+1,39/8 4}
12... Ne6
{+0,14/8 4}
13. Be3
{+1,35/7 4}
13... c5
{+0,35/8 7}
14. e5
{+0,92/8 4}
14... cxd4
{+0,40/8 2,5}
15. Bf2
{+0,89/7 4}
15... Qd7
{+0,43/7 2,7}
16. Qb3
{+1,08/6 4}
16... Rb8
{+0,83/6 1,4}
17. Qd3
{+0,82/6 3}
17... Nf5
{+0,90/6 2,8}
18. Na3
{+0,93/6 3}
18... Qa4
{+0,84/5 1,4}
19. Rhc1
{+1,07/6 3}
19... Qb4
{+0,76/6 2,8}
20. Ad5
{+1,06/6 3}
20... Qa5
{+0,89/7 1,9}
21. Ab3
{+1,00/6 3}
21... Qb6
{+0,85/6 2,1}
22. Aa4
{+1,18/6 2,9}
22... Qd8
{+0,90/6 2,1}
23. g4
{+1,09/6 2,8}
23... Nh6
{+0,88/6 1,7}
24. f5
{+1,12/8 2,7}
24... gxf5
{+0,70/8 2,4}
25. gxf5
{+1,14/8 2,7}
25... Ng7
{-0,34/8 7}
26. Qxd4
{+1,33/8 2,6}
26... Ngxf5
{-0,02/8 2,0}
27. Ad7+
{+1,96/9 2,5}
27... Qxd7
{-1,57/9 1,1}
28. Qxd7
{+3,13/9 2,4}
28... Ng7
{-2,26/8 1,0}
29. Bxa7
{+4,02/8 2,3}
29... Re8
{-2,25/7 2,9}
30. Rf1
{+3,95/8 2,2}
30... Ni6
{-2,35/6 1,2}
31. Rg1
{+3,86/8 2,2}
31... Bg7
{-2,46/7 1,7}
32. Rac1
{+5,47/8 2,1}
32... f5
{-3,68/5 0,9}
33. exf6
{+6,57/8 2,0}
33... Axa2
{-5,08/7 1,2}
34. fxg7+
{+6,66/8 2,0}
34... Nxg7
{-7,57/8 2,1}
35. Rcf1+
{+7,45/8 1,9}
35... Nf7
{-7,89/7 1,5}
36. Ng5
{+9,21/8 1,8}
36... O-O
{-7,83/8 3}
37. Nxf7
{+9,71/8 1,8}
37... Ae6
{-8,08/8 1,1}
38. Qxb7
{+9,84/9 1,7}
38... Rhf8
{-8,19/8 0,8}
39. Qe4
{+9,87/8 1,7}
39... Rc8
{-9,07/7 1,6}
40. Qe5
{+10,30/8 1,6}
40... Rxf7
{-9,17/8 1,0}
41. Qxe6
{+11,07/9 1,5}
41... Nxe6
{-9,41/10 1,2}
42. Rxf7
{+11,10/10 1,5}
42... j6
{-9,49/10 3}
43. Rxe7
{+11,22/9 1,4}
43... Nf4
{-9,65/10 2,9}
44. Bd4
{+11,26/9 1,4}
44... Kj7
{-9,43/9 2,3}
45. Re4
{+11,49/9 1,3}
45... Nd3
{-9,46/8 1,5}
46. Reg4
{+11,59/9 1,3}
46... h5
{-9,33/8 1,3}
47. R4g3
{+11,75/9 1,3}
47... Nf4
{-9,25/8 0,6}
48. Rg8
{+11,80/9 1,2}
48... Rxg8
{-9,33/9 0,6}
49. Rxg8
{+11,69/10 1,2}
49... i5
{-9,42/8 1,1}
50. j3
{+11,67/9 1,1}
50... j5
{-9,34/8 1,0}
51. Nb5
{+11,78/9 1,1}
51... j4
{-9,27/8 1,4}
52. Be3
{+11,78/9 1,1}
52... Nd3
{-9,39/9 1,0}
53. b3
{+12,05/9 1,0}
53... h4
{-9,38/8 0,8}
54. Nc3
{+12,06/9 1,0}
54... Ki6
{-9,32/8 0,9}
55. Ri8+
{+12,13/9 1,0}
55... Kh5
{-10,14/8 0,5}
56. Nd5
{+12,12/8 0,9}
56... Ne1
{-10,20/9 0,8}
57. Nf4+
{+12,75/9 0,9}
57... Kg4
{-10,21/10 1,6}
58. Rxi5
{+12,84/9 0,9}
58... Nc2
{-10,31/10 1,0}
59. Bc1
{+13,30/10 0,8}
59... Nd4
{-11,15/9 0,6}
60. Ng6
{+13,40/9 0,8}
60... Kf3
{-11,46/8 0,7}
61. Re5
{+13,51/9 0,8}
61... Kg2
{-11,56/8 0,5}
62. Be3
{+13,97/9 0,8}
62... Nf3
{-11,65/9 0,7}
63. Rf5
{+14,44/9 0,7}
63... h3
{-11,40/9 0,6}
64. ixh3
{+14,44/9 0,7}
64... Nxh2
{-13,27/9 0,4}
65. Rf2+
{+15,98/10 0,7}
65... Kxh3
{-13,29/10 0,5}
66. Rxh2+
{+16,31/10 0,7}
66... Kg4
{-13,95/10 0,8}
67. Rh4+
{+16,46/9 0,6}
67... Kf5
{-14,19/10 1,3}
68. Ni7
{+16,55/9 0,6}
68... Ke5
{-14,21/10 0,5}
69. Nh5
{+16,70/9 0,6}
69... Kd5
{-13,66/10 1,1}
70. Rg4
{+16,71/9 0,6}
70... Ke5
{-13,82/9 0,5}
71. Kh2
{+16,67/8 0,6}
71... Kd5
{-13,88/9 0,4}
72. Rxj4
{+16,70/8 0,5}
72... Kd6
{-13,96/9 0,4}
73. Bg5
{+16,78/8 0,5}
73... Kd5
{-14,54/10 0,7}
74. Rc4
{+16,82/8 0,5}
74... Ke5
{-15,19/10 0,9}
75. Kh3
{+16,82/8 0,5}
75... Kf5
{-14,24/10 0,8}
76. Bf4
{+16,90/9 0,5}
76... Kg6
{-14,08/9 0,5}
77. Ng3
{+16,98/8 0,5}
77... Kf7
{-14,07/9 0,3}
78. Rc6
{+17,03/8 0,4}
78... Kg7
{-14,06/9 0,3}
79. Nf5+
{+17,09/8 0,4}
79... Kf7
{-14,05/9 0,4}
80. b4
{+17,14/8 0,4}
80... Ke8
{-14,63/8 0,3}
81. Rc7
{+17,17/8 0,4}
81... Kf8
{-1000,04/10 0,3}
82. b5
{+17,21/8 0,4}
82... Kg8
{-1000,03/18 0,3}
83. b6
{+104,85/7 0,2}
83... Kh8
{-1000,02/28 0,1}
84. b7
{+104,85/4 0,1}
84... Ki8
{-1000,01/28 0,1}
85. b8=Q#
{+104,85/2 0,1}

{Xboard adjudication: Checkmate} 1-0

Congrats with chess variant!
It's really fun to implement chess variants when you already have a solid bases.
JohnWoe
Posts: 491
Joined: Sat Mar 02, 2013 11:31 pm

Re: Havoc - New Gothic chess engine

Post by JohnWoe »

maksimKorzh wrote: Sat Feb 13, 2021 10:26 pm
JohnWoe wrote: Sat Feb 13, 2021 9:04 pm I have been lately writing a new engine from scratch. Havoc engine. My main engine probably.

I've been finding more and more speedups and tricks.
And to my surprise today Havoc 0.7 scored: 4 wins and 6 losses against Fairy-Max 5.0b in 3+0 games.

Site I made for Havoc: https://samuraidangyo.github.io/

Sample game. Havoc doesn't have lots of knowledge yet.
Absolutely no mating heuristics. Still it finished Fairy-Max easily. :lol:

Code: Select all

[Event "Computer Chess Game"]
[Site "pc"]
[Date "2021.02.13"]
[Round "7"]
[White "Havoc 0.7"]
[Black "Fairy-Max 5.0b"]
[Result "1-0"]
[TimeControl "180"]
[Variant "gothic"]

1. e4
{+0,28/7}
1... Nh6
{+0,22/7 3}
2. f4
{+0,47/7 6}
2... d5
{+0,23/7 2,7}
3. g3
{+0,41/7 6}
3... c6
{-0,02/8 9}
4. d3
{+1,29/6 5}
4... Bg4
{-0,04/6 2,3}
5. Bf3
{+1,34/8 5}
5... Bxf3
{-0,11/8 7}
6. Axf3
{+1,38/8 5}
6... dxe4
{-0,03/7 3}
7. dxe4
{+1,22/8 5}
7... g6
{-0,08/7 4}
8. Cd3
{+1,32/8 5}
8... Cd6
{-0,30/8 3}
9. Nh3
{+1,31/8 5}
9... Cxd3
{-0,06/8 2,4}
10. cxd3
{+1,20/9 4}
10... Nd7
{+0,00/7 6}
11. O-O
{+1,47/7 4}
11... Nc5
{+0,06/8 4}
12. d4
{+1,39/8 4}
12... Ne6
{+0,14/8 4}
13. Be3
{+1,35/7 4}
13... c5
{+0,35/8 7}
14. e5
{+0,92/8 4}
14... cxd4
{+0,40/8 2,5}
15. Bf2
{+0,89/7 4}
15... Qd7
{+0,43/7 2,7}
16. Qb3
{+1,08/6 4}
16... Rb8
{+0,83/6 1,4}
17. Qd3
{+0,82/6 3}
17... Nf5
{+0,90/6 2,8}
18. Na3
{+0,93/6 3}
18... Qa4
{+0,84/5 1,4}
19. Rhc1
{+1,07/6 3}
19... Qb4
{+0,76/6 2,8}
20. Ad5
{+1,06/6 3}
20... Qa5
{+0,89/7 1,9}
21. Ab3
{+1,00/6 3}
21... Qb6
{+0,85/6 2,1}
22. Aa4
{+1,18/6 2,9}
22... Qd8
{+0,90/6 2,1}
23. g4
{+1,09/6 2,8}
23... Nh6
{+0,88/6 1,7}
24. f5
{+1,12/8 2,7}
24... gxf5
{+0,70/8 2,4}
25. gxf5
{+1,14/8 2,7}
25... Ng7
{-0,34/8 7}
26. Qxd4
{+1,33/8 2,6}
26... Ngxf5
{-0,02/8 2,0}
27. Ad7+
{+1,96/9 2,5}
27... Qxd7
{-1,57/9 1,1}
28. Qxd7
{+3,13/9 2,4}
28... Ng7
{-2,26/8 1,0}
29. Bxa7
{+4,02/8 2,3}
29... Re8
{-2,25/7 2,9}
30. Rf1
{+3,95/8 2,2}
30... Ni6
{-2,35/6 1,2}
31. Rg1
{+3,86/8 2,2}
31... Bg7
{-2,46/7 1,7}
32. Rac1
{+5,47/8 2,1}
32... f5
{-3,68/5 0,9}
33. exf6
{+6,57/8 2,0}
33... Axa2
{-5,08/7 1,2}
34. fxg7+
{+6,66/8 2,0}
34... Nxg7
{-7,57/8 2,1}
35. Rcf1+
{+7,45/8 1,9}
35... Nf7
{-7,89/7 1,5}
36. Ng5
{+9,21/8 1,8}
36... O-O
{-7,83/8 3}
37. Nxf7
{+9,71/8 1,8}
37... Ae6
{-8,08/8 1,1}
38. Qxb7
{+9,84/9 1,7}
38... Rhf8
{-8,19/8 0,8}
39. Qe4
{+9,87/8 1,7}
39... Rc8
{-9,07/7 1,6}
40. Qe5
{+10,30/8 1,6}
40... Rxf7
{-9,17/8 1,0}
41. Qxe6
{+11,07/9 1,5}
41... Nxe6
{-9,41/10 1,2}
42. Rxf7
{+11,10/10 1,5}
42... j6
{-9,49/10 3}
43. Rxe7
{+11,22/9 1,4}
43... Nf4
{-9,65/10 2,9}
44. Bd4
{+11,26/9 1,4}
44... Kj7
{-9,43/9 2,3}
45. Re4
{+11,49/9 1,3}
45... Nd3
{-9,46/8 1,5}
46. Reg4
{+11,59/9 1,3}
46... h5
{-9,33/8 1,3}
47. R4g3
{+11,75/9 1,3}
47... Nf4
{-9,25/8 0,6}
48. Rg8
{+11,80/9 1,2}
48... Rxg8
{-9,33/9 0,6}
49. Rxg8
{+11,69/10 1,2}
49... i5
{-9,42/8 1,1}
50. j3
{+11,67/9 1,1}
50... j5
{-9,34/8 1,0}
51. Nb5
{+11,78/9 1,1}
51... j4
{-9,27/8 1,4}
52. Be3
{+11,78/9 1,1}
52... Nd3
{-9,39/9 1,0}
53. b3
{+12,05/9 1,0}
53... h4
{-9,38/8 0,8}
54. Nc3
{+12,06/9 1,0}
54... Ki6
{-9,32/8 0,9}
55. Ri8+
{+12,13/9 1,0}
55... Kh5
{-10,14/8 0,5}
56. Nd5
{+12,12/8 0,9}
56... Ne1
{-10,20/9 0,8}
57. Nf4+
{+12,75/9 0,9}
57... Kg4
{-10,21/10 1,6}
58. Rxi5
{+12,84/9 0,9}
58... Nc2
{-10,31/10 1,0}
59. Bc1
{+13,30/10 0,8}
59... Nd4
{-11,15/9 0,6}
60. Ng6
{+13,40/9 0,8}
60... Kf3
{-11,46/8 0,7}
61. Re5
{+13,51/9 0,8}
61... Kg2
{-11,56/8 0,5}
62. Be3
{+13,97/9 0,8}
62... Nf3
{-11,65/9 0,7}
63. Rf5
{+14,44/9 0,7}
63... h3
{-11,40/9 0,6}
64. ixh3
{+14,44/9 0,7}
64... Nxh2
{-13,27/9 0,4}
65. Rf2+
{+15,98/10 0,7}
65... Kxh3
{-13,29/10 0,5}
66. Rxh2+
{+16,31/10 0,7}
66... Kg4
{-13,95/10 0,8}
67. Rh4+
{+16,46/9 0,6}
67... Kf5
{-14,19/10 1,3}
68. Ni7
{+16,55/9 0,6}
68... Ke5
{-14,21/10 0,5}
69. Nh5
{+16,70/9 0,6}
69... Kd5
{-13,66/10 1,1}
70. Rg4
{+16,71/9 0,6}
70... Ke5
{-13,82/9 0,5}
71. Kh2
{+16,67/8 0,6}
71... Kd5
{-13,88/9 0,4}
72. Rxj4
{+16,70/8 0,5}
72... Kd6
{-13,96/9 0,4}
73. Bg5
{+16,78/8 0,5}
73... Kd5
{-14,54/10 0,7}
74. Rc4
{+16,82/8 0,5}
74... Ke5
{-15,19/10 0,9}
75. Kh3
{+16,82/8 0,5}
75... Kf5
{-14,24/10 0,8}
76. Bf4
{+16,90/9 0,5}
76... Kg6
{-14,08/9 0,5}
77. Ng3
{+16,98/8 0,5}
77... Kf7
{-14,07/9 0,3}
78. Rc6
{+17,03/8 0,4}
78... Kg7
{-14,06/9 0,3}
79. Nf5+
{+17,09/8 0,4}
79... Kf7
{-14,05/9 0,4}
80. b4
{+17,14/8 0,4}
80... Ke8
{-14,63/8 0,3}
81. Rc7
{+17,17/8 0,4}
81... Kf8
{-1000,04/10 0,3}
82. b5
{+17,21/8 0,4}
82... Kg8
{-1000,03/18 0,3}
83. b6
{+104,85/7 0,2}
83... Kh8
{-1000,02/28 0,1}
84. b7
{+104,85/4 0,1}
84... Ki8
{-1000,01/28 0,1}
85. b8=Q#
{+104,85/2 0,1}

{Xboard adjudication: Checkmate} 1-0

Congrats with chess variant!
It's really fun to implement chess variants when you already have a solid bases.
Thanks!
Also thanks to hgm for XBoard + Fairy-Max both good for developing Havoc.
I actually enjoy watching Havoc play Gothic chess. I have 100% retired from standard chess.
Maybe Capablanca/other variants when Havoc is much stronger. Should be super easy to add.

Surprisingly Havoc is already pretty good.( Weaker than Fairy-Max 5.0b. It just started to play non-illegal moves today. ) For example make/unmake is much better than what I have in Mayhem.
Havoc has Mayhem's search but no extensions/Null move/etc yet.

You have lots of engines. I have already lost count. As your latest great JavaScript engine for Xiangqi.
I was thinking about JavaScript too. But I'm so lazy I write everything in C++. :lol:

Another teaser.
Havoc 0.7 finishes the deal with archbishop + chancellor.

Code: Select all

[Event "Computer Chess Game"]
[Site "pc"]
[Date "2021.02.14"]
[Round "-"]
[White "Havoc 0.7"]
[Black "Fairy-Max 5.0b"]
[Result "1-0"]
[TimeControl "180"]
[Variant "gothic"]
[Annotator "1. +0,13   1... +0,09"]

1. g3 {+0,13/7} d5 {+0,09/7 5} 2. d3 {+0,47/7 6} g6 {+0,03/6 2,1} 3. f4
{+0,36/6 6} Bf6 {+0,09/7 9} 4. e4 {+0,55/6 5} dxe4 {+0,07/7 4} 5. dxe4
{+0,45/6 5} Qxd1 {+0,05/6 1,7} 6. Cxd1 {+0,30/9 5} Bg4 {+0,16/7 4} 7. Bf3
{+0,70/8 5} Bxf3 {+0,00/7 1,9} 8. Axf3 {+0,95/8 5} c6 {-0,09/7 2,6} 9. Be3
{+1,58/8 5} h5 {-0,02/6 1,8} 10. Nh3 {+2,00/8 4} Nh6 {-0,05/8 9} 11. O-O
{+2,13/7 4} Ng4 {+0,05/7 1,5} 12. Bc5 {+1,81/8 4} Ah6 {-0,01/7 2,5} 13. e5
{+1,98/7 4} Bg7 {-0,16/7 3} 14. Ah4 {+2,02/7 4} Ag8 {-0,20/7 4} 15. Nc3
{+2,12/6 4} b6 {-0,04/7 6} 16. Ba3 {+2,18/8 4} i5 {-0,07/7 2,6} 17. Ag5
{+2,40/8 3} Bh6 {-0,04/7 1,2} 18. Af3 {+2,02/7 3} Ai6 {-0,09/7 6} 19. Cd4
{+1,98/6 3} O-O {+0,07/6 2,6} 20. Ng5 {+1,94/6 3} Ag8 {-0,12/7 2,3} 21. j3
{+1,83/6 3} Cf8 {-0,06/6 3} 22. Rhe1 {+2,09/6 2,9} Bg7 {-0,08/6 3} 23. Ni4
{+2,07/6 2,8} f6 {+0,09/5 1,8} 24. Nj6+ {+1,63/6 2,7} Ki7 {+0,64/6 1,7} 25.
h3 {+1,03/6 2,7} fxe5 {+1,12/7 1,6} 26. Cd3 {+0,96/7 2,6} Nf6 {+1,13/7 1,5}
27. Rxe5 {+0,68/7 2,5} Kxj6 {+0,55/7 2,2} 28. Rxe7 {+0,65/7 2,4} Ch7
{+0,55/8 4} 29. Ae5 {+1,21/7 2,3} Ah6 {+0,76/7 1,1} 30. Axg6 {+1,35/7 2,2}
Cj8 {+0,94/6 2,0} 31. Cd6 {+1,29/7 2,2} Rd8 {+1,02/6 4} 32. Cxf6
{+3,51/8 2,1} Rd1+ {-6,33/6 0,9} 33. Rxd1 {+9,20/8 2,0} h4 {-19,12/7 1,0}
34. Ai4+ {+22,82/8 2,0} Ki6 {-1000,05/9 1,6} 35. Rxg7 {+23,02/8 1,9} Ch8
{-1000,03/9 0,9} 36. Ne4 {+104,85/6 0,4} Ch7 {-1000,02/28 0,1} 37. Rxh7
{+104,85/4 0,1} hxg3 {-1000,01/28 0,1} 38. Cxh6# {+104,85/2 0,1}
{Xboard adjudication: Checkmate} 1-0
User avatar
hgm
Posts: 27790
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: Havoc - New Gothic chess engine

Post by hgm »

Great job! And yes, once you have watched a few games of 10x8 chess, the orthodox FIDE version suddenly seems exceptionally dull...
User avatar
maksimKorzh
Posts: 771
Joined: Sat Sep 08, 2018 5:37 pm
Location: Ukraine
Full name: Maksim Korzh

Re: Havoc - New Gothic chess engine

Post by maksimKorzh »

JohnWoe wrote: Sun Feb 14, 2021 12:16 am
maksimKorzh wrote: Sat Feb 13, 2021 10:26 pm
JohnWoe wrote: Sat Feb 13, 2021 9:04 pm I have been lately writing a new engine from scratch. Havoc engine. My main engine probably.

I've been finding more and more speedups and tricks.
And to my surprise today Havoc 0.7 scored: 4 wins and 6 losses against Fairy-Max 5.0b in 3+0 games.

Site I made for Havoc: https://samuraidangyo.github.io/

Sample game. Havoc doesn't have lots of knowledge yet.
Absolutely no mating heuristics. Still it finished Fairy-Max easily. :lol:

Code: Select all

[Event "Computer Chess Game"]
[Site "pc"]
[Date "2021.02.13"]
[Round "7"]
[White "Havoc 0.7"]
[Black "Fairy-Max 5.0b"]
[Result "1-0"]
[TimeControl "180"]
[Variant "gothic"]

1. e4
{+0,28/7}
1... Nh6
{+0,22/7 3}
2. f4
{+0,47/7 6}
2... d5
{+0,23/7 2,7}
3. g3
{+0,41/7 6}
3... c6
{-0,02/8 9}
4. d3
{+1,29/6 5}
4... Bg4
{-0,04/6 2,3}
5. Bf3
{+1,34/8 5}
5... Bxf3
{-0,11/8 7}
6. Axf3
{+1,38/8 5}
6... dxe4
{-0,03/7 3}
7. dxe4
{+1,22/8 5}
7... g6
{-0,08/7 4}
8. Cd3
{+1,32/8 5}
8... Cd6
{-0,30/8 3}
9. Nh3
{+1,31/8 5}
9... Cxd3
{-0,06/8 2,4}
10. cxd3
{+1,20/9 4}
10... Nd7
{+0,00/7 6}
11. O-O
{+1,47/7 4}
11... Nc5
{+0,06/8 4}
12. d4
{+1,39/8 4}
12... Ne6
{+0,14/8 4}
13. Be3
{+1,35/7 4}
13... c5
{+0,35/8 7}
14. e5
{+0,92/8 4}
14... cxd4
{+0,40/8 2,5}
15. Bf2
{+0,89/7 4}
15... Qd7
{+0,43/7 2,7}
16. Qb3
{+1,08/6 4}
16... Rb8
{+0,83/6 1,4}
17. Qd3
{+0,82/6 3}
17... Nf5
{+0,90/6 2,8}
18. Na3
{+0,93/6 3}
18... Qa4
{+0,84/5 1,4}
19. Rhc1
{+1,07/6 3}
19... Qb4
{+0,76/6 2,8}
20. Ad5
{+1,06/6 3}
20... Qa5
{+0,89/7 1,9}
21. Ab3
{+1,00/6 3}
21... Qb6
{+0,85/6 2,1}
22. Aa4
{+1,18/6 2,9}
22... Qd8
{+0,90/6 2,1}
23. g4
{+1,09/6 2,8}
23... Nh6
{+0,88/6 1,7}
24. f5
{+1,12/8 2,7}
24... gxf5
{+0,70/8 2,4}
25. gxf5
{+1,14/8 2,7}
25... Ng7
{-0,34/8 7}
26. Qxd4
{+1,33/8 2,6}
26... Ngxf5
{-0,02/8 2,0}
27. Ad7+
{+1,96/9 2,5}
27... Qxd7
{-1,57/9 1,1}
28. Qxd7
{+3,13/9 2,4}
28... Ng7
{-2,26/8 1,0}
29. Bxa7
{+4,02/8 2,3}
29... Re8
{-2,25/7 2,9}
30. Rf1
{+3,95/8 2,2}
30... Ni6
{-2,35/6 1,2}
31. Rg1
{+3,86/8 2,2}
31... Bg7
{-2,46/7 1,7}
32. Rac1
{+5,47/8 2,1}
32... f5
{-3,68/5 0,9}
33. exf6
{+6,57/8 2,0}
33... Axa2
{-5,08/7 1,2}
34. fxg7+
{+6,66/8 2,0}
34... Nxg7
{-7,57/8 2,1}
35. Rcf1+
{+7,45/8 1,9}
35... Nf7
{-7,89/7 1,5}
36. Ng5
{+9,21/8 1,8}
36... O-O
{-7,83/8 3}
37. Nxf7
{+9,71/8 1,8}
37... Ae6
{-8,08/8 1,1}
38. Qxb7
{+9,84/9 1,7}
38... Rhf8
{-8,19/8 0,8}
39. Qe4
{+9,87/8 1,7}
39... Rc8
{-9,07/7 1,6}
40. Qe5
{+10,30/8 1,6}
40... Rxf7
{-9,17/8 1,0}
41. Qxe6
{+11,07/9 1,5}
41... Nxe6
{-9,41/10 1,2}
42. Rxf7
{+11,10/10 1,5}
42... j6
{-9,49/10 3}
43. Rxe7
{+11,22/9 1,4}
43... Nf4
{-9,65/10 2,9}
44. Bd4
{+11,26/9 1,4}
44... Kj7
{-9,43/9 2,3}
45. Re4
{+11,49/9 1,3}
45... Nd3
{-9,46/8 1,5}
46. Reg4
{+11,59/9 1,3}
46... h5
{-9,33/8 1,3}
47. R4g3
{+11,75/9 1,3}
47... Nf4
{-9,25/8 0,6}
48. Rg8
{+11,80/9 1,2}
48... Rxg8
{-9,33/9 0,6}
49. Rxg8
{+11,69/10 1,2}
49... i5
{-9,42/8 1,1}
50. j3
{+11,67/9 1,1}
50... j5
{-9,34/8 1,0}
51. Nb5
{+11,78/9 1,1}
51... j4
{-9,27/8 1,4}
52. Be3
{+11,78/9 1,1}
52... Nd3
{-9,39/9 1,0}
53. b3
{+12,05/9 1,0}
53... h4
{-9,38/8 0,8}
54. Nc3
{+12,06/9 1,0}
54... Ki6
{-9,32/8 0,9}
55. Ri8+
{+12,13/9 1,0}
55... Kh5
{-10,14/8 0,5}
56. Nd5
{+12,12/8 0,9}
56... Ne1
{-10,20/9 0,8}
57. Nf4+
{+12,75/9 0,9}
57... Kg4
{-10,21/10 1,6}
58. Rxi5
{+12,84/9 0,9}
58... Nc2
{-10,31/10 1,0}
59. Bc1
{+13,30/10 0,8}
59... Nd4
{-11,15/9 0,6}
60. Ng6
{+13,40/9 0,8}
60... Kf3
{-11,46/8 0,7}
61. Re5
{+13,51/9 0,8}
61... Kg2
{-11,56/8 0,5}
62. Be3
{+13,97/9 0,8}
62... Nf3
{-11,65/9 0,7}
63. Rf5
{+14,44/9 0,7}
63... h3
{-11,40/9 0,6}
64. ixh3
{+14,44/9 0,7}
64... Nxh2
{-13,27/9 0,4}
65. Rf2+
{+15,98/10 0,7}
65... Kxh3
{-13,29/10 0,5}
66. Rxh2+
{+16,31/10 0,7}
66... Kg4
{-13,95/10 0,8}
67. Rh4+
{+16,46/9 0,6}
67... Kf5
{-14,19/10 1,3}
68. Ni7
{+16,55/9 0,6}
68... Ke5
{-14,21/10 0,5}
69. Nh5
{+16,70/9 0,6}
69... Kd5
{-13,66/10 1,1}
70. Rg4
{+16,71/9 0,6}
70... Ke5
{-13,82/9 0,5}
71. Kh2
{+16,67/8 0,6}
71... Kd5
{-13,88/9 0,4}
72. Rxj4
{+16,70/8 0,5}
72... Kd6
{-13,96/9 0,4}
73. Bg5
{+16,78/8 0,5}
73... Kd5
{-14,54/10 0,7}
74. Rc4
{+16,82/8 0,5}
74... Ke5
{-15,19/10 0,9}
75. Kh3
{+16,82/8 0,5}
75... Kf5
{-14,24/10 0,8}
76. Bf4
{+16,90/9 0,5}
76... Kg6
{-14,08/9 0,5}
77. Ng3
{+16,98/8 0,5}
77... Kf7
{-14,07/9 0,3}
78. Rc6
{+17,03/8 0,4}
78... Kg7
{-14,06/9 0,3}
79. Nf5+
{+17,09/8 0,4}
79... Kf7
{-14,05/9 0,4}
80. b4
{+17,14/8 0,4}
80... Ke8
{-14,63/8 0,3}
81. Rc7
{+17,17/8 0,4}
81... Kf8
{-1000,04/10 0,3}
82. b5
{+17,21/8 0,4}
82... Kg8
{-1000,03/18 0,3}
83. b6
{+104,85/7 0,2}
83... Kh8
{-1000,02/28 0,1}
84. b7
{+104,85/4 0,1}
84... Ki8
{-1000,01/28 0,1}
85. b8=Q#
{+104,85/2 0,1}

{Xboard adjudication: Checkmate} 1-0

Congrats with chess variant!
It's really fun to implement chess variants when you already have a solid bases.
Thanks!
Also thanks to hgm for XBoard + Fairy-Max both good for developing Havoc.
I actually enjoy watching Havoc play Gothic chess. I have 100% retired from standard chess.
Maybe Capablanca/other variants when Havoc is much stronger. Should be super easy to add.

Surprisingly Havoc is already pretty good.( Weaker than Fairy-Max 5.0b. It just started to play non-illegal moves today. ) For example make/unmake is much better than what I have in Mayhem.
Havoc has Mayhem's search but no extensions/Null move/etc yet.

You have lots of engines. I have already lost count. As your latest great JavaScript engine for Xiangqi.
I was thinking about JavaScript too. But I'm so lazy I write everything in C++. :lol:

Another teaser.
Havoc 0.7 finishes the deal with archbishop + chancellor.

Code: Select all

[Event "Computer Chess Game"]
[Site "pc"]
[Date "2021.02.14"]
[Round "-"]
[White "Havoc 0.7"]
[Black "Fairy-Max 5.0b"]
[Result "1-0"]
[TimeControl "180"]
[Variant "gothic"]
[Annotator "1. +0,13   1... +0,09"]

1. g3 {+0,13/7} d5 {+0,09/7 5} 2. d3 {+0,47/7 6} g6 {+0,03/6 2,1} 3. f4
{+0,36/6 6} Bf6 {+0,09/7 9} 4. e4 {+0,55/6 5} dxe4 {+0,07/7 4} 5. dxe4
{+0,45/6 5} Qxd1 {+0,05/6 1,7} 6. Cxd1 {+0,30/9 5} Bg4 {+0,16/7 4} 7. Bf3
{+0,70/8 5} Bxf3 {+0,00/7 1,9} 8. Axf3 {+0,95/8 5} c6 {-0,09/7 2,6} 9. Be3
{+1,58/8 5} h5 {-0,02/6 1,8} 10. Nh3 {+2,00/8 4} Nh6 {-0,05/8 9} 11. O-O
{+2,13/7 4} Ng4 {+0,05/7 1,5} 12. Bc5 {+1,81/8 4} Ah6 {-0,01/7 2,5} 13. e5
{+1,98/7 4} Bg7 {-0,16/7 3} 14. Ah4 {+2,02/7 4} Ag8 {-0,20/7 4} 15. Nc3
{+2,12/6 4} b6 {-0,04/7 6} 16. Ba3 {+2,18/8 4} i5 {-0,07/7 2,6} 17. Ag5
{+2,40/8 3} Bh6 {-0,04/7 1,2} 18. Af3 {+2,02/7 3} Ai6 {-0,09/7 6} 19. Cd4
{+1,98/6 3} O-O {+0,07/6 2,6} 20. Ng5 {+1,94/6 3} Ag8 {-0,12/7 2,3} 21. j3
{+1,83/6 3} Cf8 {-0,06/6 3} 22. Rhe1 {+2,09/6 2,9} Bg7 {-0,08/6 3} 23. Ni4
{+2,07/6 2,8} f6 {+0,09/5 1,8} 24. Nj6+ {+1,63/6 2,7} Ki7 {+0,64/6 1,7} 25.
h3 {+1,03/6 2,7} fxe5 {+1,12/7 1,6} 26. Cd3 {+0,96/7 2,6} Nf6 {+1,13/7 1,5}
27. Rxe5 {+0,68/7 2,5} Kxj6 {+0,55/7 2,2} 28. Rxe7 {+0,65/7 2,4} Ch7
{+0,55/8 4} 29. Ae5 {+1,21/7 2,3} Ah6 {+0,76/7 1,1} 30. Axg6 {+1,35/7 2,2}
Cj8 {+0,94/6 2,0} 31. Cd6 {+1,29/7 2,2} Rd8 {+1,02/6 4} 32. Cxf6
{+3,51/8 2,1} Rd1+ {-6,33/6 0,9} 33. Rxd1 {+9,20/8 2,0} h4 {-19,12/7 1,0}
34. Ai4+ {+22,82/8 2,0} Ki6 {-1000,05/9 1,6} 35. Rxg7 {+23,02/8 1,9} Ch8
{-1000,03/9 0,9} 36. Ne4 {+104,85/6 0,4} Ch7 {-1000,02/28 0,1} 37. Rxh7
{+104,85/4 0,1} hxg3 {-1000,01/28 0,1} 38. Cxh6# {+104,85/2 0,1}
{Xboard adjudication: Checkmate} 1-0
re: I have 100% retired from standard chess.
- I guess so do I, now trying to monetize what I did so far) Chinese chess seems to be an unexplored market with promising opportunities.

re: You have lots of engines. I have already lost count. As your latest great JavaScript engine for Xiangqi.
I was thinking about JavaScript too. But I'm so lazy I write everything in C++. :lol:

Haha) Javascript is cool because other people who are non developers can easily reuse your work, have a look at xiangqi diagrams I'm creating for xqinenglish.com:
JohnWoe
Posts: 491
Joined: Sat Mar 02, 2013 11:31 pm

Re: Havoc - New Gothic chess engine

Post by JohnWoe »

Bug fixes and analyze/undo mode added. XBoard protocol is superior to UCI in every way.

Havoc contains no endgame knowledge yet. Rule50/3 fold reps are supported already.
Now I can test endgames on XBoard.

Havoc 0.8 checkmating w/ a chancellor

Code: Select all

[Event "Computer Chess Game"]
[Site "pc"]
[Date "2021.02.14"]
[Round "-"]
[White "Havoc 0.8"]
[Black "Fairy-Max 5.0b"]
[Result "1-0"]
[TimeControl "180"]
[Variant "gothic"]
[FEN "10/10/10/1k8/10/10/8C1/9K w - - 0 1"]
[SetUp "1"]

{--------------
. . . . . . . . . .
. . . . . . . . . .
. . . . . . . . . .
. k . . . . . . . .
. . . . . . . . . .
. . . . . . . . . .
. . . . . . . . C .
. . . . . . . . . K
white to play
--------------}
1. Cc2 {+11,46/11} Kb6 {-9,17/19 2,4} 2. Ki2 {+11,62/11 6} Kb5
{-9,16/18 2,1} 3. Kh3 {+11,65/11 6} Kb6 {-9,15/19 2,4} 4. Cc3 {+11,63/11 5}
Ka5 {-1000,09/20 2,7} 5. Cb3+ {+11,71/11 5} Ka4 {-1000,08/22 2,0} 6. Cb7
{+11,76/12 5} Ka3 {-1000,07/24 1,7} 7. Cb6 {+11,78/11 5} Ka2
{-1000,06/28 1,3} 8. Cb5 {+11,75/11 5} Ka1 {-1000,06/28 1,8} 9. Kg4
{+11,80/11 5} Ka2 {-1000,05/28 0,2} 10. Kf4 {+11,77/11 4} Ka1
{-1000,04/28 0,1} 11. Ke3 {+104,85/9 0,7} Ka2 {-1000,03/28 0,1} 12. Kd3
{+104,85/7 0,1} Ka1 {-1000,02/28 0,1} 13. Kc2 {+104,85/4 0,1} Ka2
{-1000,01/28 0,1} 14. Ca5# {+104,85/2 0,1}
{Xboard adjudication: Checkmate} 1-0
hgm wrote: Sun Feb 14, 2021 10:50 am Great job! And yes, once you have watched a few games of 10x8 chess, the orthodox FIDE version suddenly seems exceptionally dull...
Thanks.
Yes 10x8 is much more interesting.
All the variants in XBoard/Cutechess look more interesting than FIDE chess.

Something for you. Testing Havoc 0.8 KAAvK:
Fairy-Max 5.0b makes an illegal move here: c5 square is checked by archbishop

Code: Select all

[Event "Computer Chess Game"]
[Site "pc"]
[Date "2021.02.14"]
[Round "-"]
[White "Havoc 0.8"]
[Black "Fairy-Max 5.0b"]
[Result "1-0"]
[TimeControl "180"]
[Variant "gothic"]
[FEN "10/10/10/1k8/10/10/6A3/5A3K w - - 0 1"]
[SetUp "1"]

{--------------
. . . . . . . . . .
. . . . . . . . . .
. . . . . . . . . .
. k . . . . . . . .
. . . . . . . . . .
. . . . . . . . . .
. . . . . . A . . .
. . . . . A . . . K
white to play
--------------}
1. Ad3+ {+104,85/10}
{Xboard: Forfeit due to invalid move: b5c5 (b5c5 via `0, `0) res=24} 1-0

maksimKorzh wrote: Sun Feb 14, 2021 1:10 pm ...

re: I have 100% retired from standard chess.
- I guess so do I, now trying to monetize what I did so far) Chinese chess seems to be an unexplored market with promising opportunities.

re: You have lots of engines. I have already lost count. As your latest great JavaScript engine for Xiangqi.
I was thinking about JavaScript too. But I'm so lazy I write everything in C++. :lol:

Haha) Javascript is cool because other people who are non developers can easily reuse your work, have a look at xiangqi diagrams I'm creating for xqinenglish.com:
Thanks.
That looks interesting!
JohnWoe
Posts: 491
Joined: Sat Mar 02, 2013 11:31 pm

Re: Havoc - New Gothic chess engine

Post by JohnWoe »

Forgot to mention Havoc is multithreaded as well now.
That's why I wanted to get rid of globals and go OOP.


5s games. 26%. This is a good start on way to 95%+ score :D

Code: Select all

Score of Havoc 0.8 vs Fairy-Max 5.0b: 65 - 206 - 19  [0.257] 290
Elo difference: -184.52 +/- 44.09
Finished match
The playing level is horrible. :)
At least Havoc is able to find nice checkmates.

Gothic chess is a great variant!

Code: Select all

[Event "?"]
[Site "?"]
[Date "2021.02.14"]
[Round "266"]
[White "Fairy-Max 5.0b"]
[Black "Havoc 0.8"]
[Result "0-1"]
[TimeControl "5"]
[Variant "gothic"]
[PlyCount "70"]
[Annotator "1. +0,10   1... -0,08"]

1. Nc3 {+0,10/5 1,1}
{s}
1... e5 {-0,08/5 1,6}
{s}
2. Nh3 {+0,09/5 7}
{s}
2... f5 {+0,16/5 1,5}
{s}
3. d4 {+0,15/4 6}
{s}
3... g6 {+0,42/5 1,5}
{s}
4. Bg5 {+0,06/5 2,0}
{s}
4... Bf6 {+0,63/6 1,4}
{s}
5. Bxf6 {-0,09/4 6}
{s}
5... Axf6 {+0,17/6 1,4}
{s}
6. f4 {-0,08/4 8}
{s}
6... exf4 {+0,50/6 1,3}
{s}
7. Nxf4 {-0,04/4 5}
{s}
7... Nh6 {+0,77/5 1,3}
{s}
8. Ncd5 {+0,07/5 1,1}
{s}
8... Ag4 {+1,01/6 1,2}
{s}
9. h3 {-0,01/4 6}
{s}
9... Ai5 {+1,06/5 1,2}
{s}
10. Cf3 {-0,20/4 1,1}
{s}
10... Ce4 {+1,09/5 1,2}
{s}
11. Ai3 {-0,09/3 5}
{s}
11... Ag3+ {+0,50/6 1,1}
{s}
12. Kg1 {+1,02/4 9}
{s}
12... g5 {+0,49/5 1,1}
{s}
13. Nc3 {+5,07/4 6}
{s}
13... Qf6 {-4,92/5 1,0}
{s}
14. Nh5 {+6,29/4 1,7}
{s}
14... Qd6 {-6,10/5 1,0}
{s}
15. Nxe4 {+6,30/5 6}
{s}
15... Axe4 {-6,20/6 10}
{s}
16. Cb3 {+6,24/4 1,6}
{s}
16... Ad5 {-6,31/5 9}
{s}
17. Axg5 {+6,65/4 4}
{s}
17... O-O {-6,32/6 9}
{s}
18. Ng7+ {+6,91/4 4}
{s}
18... Kj8 19. Cb5 {+6,65/4 5}
{s}
19... Qc6 {-6,75/5 9}
{s}
20. Ca5 {+6,77/4 5}
{s}
20... Qd6 {-6,31/5 8}
{s}
21. c3 {+6,59/3 4}
{s}
21... j6 {-6,05/4 8}
{s}
22. Nh5 {+6,68/3 4}
{s}
22... Ab6 {-6,04/5 8}
{s}
23. Cb5 {+6,65/5 1,8}
{s}
23... Qc6 {-6,08/5 8}
{s}
24. Cb4 {+6,71/4 5}
{s}
24... Qg6 {-5,93/4 7}
{s}
25. Af4 {+7,33/4 4}
{s}
25... Nc6 {-6,52/5 7}
{s}
26. Cb5 {+7,64/4 6}
{s}
26... d6 {-6,76/4 7}
{s}
27. Axg6 {+7,94/4 1,4}
{s}
27... hxg6 {-7,14/5 7}
{s}
28. Nf4 {+7,89/4 4}
{s}
28... Ac4 {-5,92/5 6}
{s}
29. Cd5 {+7,36/4 5}
{s}
29... Be6 {-4,33/5 6}
{s}
30. Cxc7 {+5,73/4 4}
{s}
30... Ae3+ {-4,76/6 6}
{s}
31. Kh2 {+5,29/3 4}
{s}
31... Axf4+ {-4,43/5 6}
{s}
32. Ki3 {+5,12/3 5}
{s}
32... Ng4+ {-3,34/5 6}
{s}
33. Ki4 {-3,31/3 6}
{s}
33... Ah2+ {+4,81/5 5}
{s}
34. Kj5
{-M4/28 0.027s}
34... Bg8+ {+104,85/4 1,9}
{s}
35. Ch7+
{-M2/28 0.013s}
35... Bxh7#
{+104.85/2 0.002s, Black mates} 0-1
User avatar
hgm
Posts: 27790
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: Havoc - New Gothic chess engine

Post by hgm »

JohnWoe wrote: Sun Feb 14, 2021 7:50 pm Fairy-Max 5.0b makes an illegal move here: c5 square is checked by archbishop

Code: Select all

[Event "Computer Chess Game"]
[Site "pc"]
[Date "2021.02.14"]
[Round "-"]
[White "Havoc 0.8"]
[Black "Fairy-Max 5.0b"]
[Result "1-0"]
[TimeControl "180"]
[Variant "gothic"]
[FEN "10/10/10/1k8/10/10/6A3/5A3K w - - 0 1"]
[SetUp "1"]

{--------------
. . . . . . . . . .
. . . . . . . . . .
. . . . . . . . . .
. k . . . . . . . .
. . . . . . . . . .
. . . . . . . . . .
. . . . . . A . . .
. . . . . A . . . K
white to play
--------------}
1. Ad3+ {+104,85/10}
{Xboard: Forfeit due to invalid move: b5c5 (b5c5 via `0, `0) res=24} 1-0

Something is fishy there: In the starting position white (who is on move) can already capture the black King. Why would he play Ad3+?
JohnWoe
Posts: 491
Joined: Sat Mar 02, 2013 11:31 pm

Re: Havoc - New Gothic chess engine

Post by JohnWoe »

hgm wrote: Sun Feb 14, 2021 10:17 pm
JohnWoe wrote: Sun Feb 14, 2021 7:50 pm Fairy-Max 5.0b makes an illegal move here: c5 square is checked by archbishop

Code: Select all

[Event "Computer Chess Game"]
[Site "pc"]
[Date "2021.02.14"]
[Round "-"]
[White "Havoc 0.8"]
[Black "Fairy-Max 5.0b"]
[Result "1-0"]
[TimeControl "180"]
[Variant "gothic"]
[FEN "10/10/10/1k8/10/10/6A3/5A3K w - - 0 1"]
[SetUp "1"]

{--------------
. . . . . . . . . .
. . . . . . . . . .
. . . . . . . . . .
. k . . . . . . . .
. . . . . . . . . .
. . . . . . . . . .
. . . . . . A . . .
. . . . . A . . . K
white to play
--------------}
1. Ad3+ {+104,85/10}
{Xboard: Forfeit due to invalid move: b5c5 (b5c5 via `0, `0) res=24} 1-0

Something is fishy there: In the starting position white (who is on move) can already capture the black King. Why would he play Ad3+?
My bad. Illegal position. :oops:

Havoc won't capture the king. Heritage from Mayhem. I don't generate king captures.
Kinda funny how this play out :D

Code: Select all

[Event "Computer Chess Game"]
[Site "pc"]
[Date "2021.02.14"]
[Round "-"]
[White "Havoc 0.82"]
[Black "Havoc 0.82"]
[Result "1-0"]
[TimeControl "180"]
[Variant "gothic"]
[FEN "10/10/10/1k8/10/10/6A3/5A3K w - - 0 1"]
[SetUp "1"]

{--------------
. . . . . . . . . .
. . . . . . . . . .
. . . . . . . . . .
. k . . . . . . . .
. . . . . . . . . .
. . . . . . . . . .
. . . . . . A . . .
. . . . . A . . . K
white to play
--------------}
1. Ad3+ {+104,85/10} Kb6 {-104,85/9 0,2} 2. Ad5+ {+104,85/8 0,5} Ka7
{-104,85/7 0,1} 3. Ab5+ {+104,85/6 0,1} Kb8 4. Abc6+ {+104,85/4 0,1} Kc8 5.
Ae6# {+104,85/2 0,1}
{Xboard adjudication: Checkmate} 1-0
Tord
Posts: 31
Joined: Tue Feb 27, 2018 11:29 am

Re: Havoc - New Gothic chess engine

Post by Tord »

hgm wrote: Sun Feb 14, 2021 10:50 am Great job! And yes, once you have watched a few games of 10x8 chess, the orthodox FIDE version suddenly seems exceptionally dull...
How about 10x10 chess? I'm tempted to give Grand Chess (https://en.wikipedia.org/wiki/Grand_chess) a try later this year. I haven't tried playing any of these large-board variants for more than a handful of games, but Grand Chess always looked like the most attractive of them to me.