Strelka 2.0B + sources

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

Moderator: Ras

Tony

Re: Strelka 2.0B + sources

Post by Tony »

Uri Blass wrote:
Tony wrote:No.

One of the biggest things of Fruit is its stability. Starting with this as a basis is a serious improvement over starting from scratch.

Tony
Fruit for me has too many files and I feel that if I try to start from it I cannot find nothing and do not know what to change.

Understanding fruit should be the first step and if you really understand fruit(something that I never did except very small parts) then I think that starting from scratch is easier than changing fruit.

Uri
???

Opening a dosbox, type "copy *.h total.h", should do the trick.

Still to much ? Remove main.c, type "copy *.c total.c", place main.c back

Tony
ernest
Posts: 2046
Joined: Wed Mar 08, 2006 8:30 pm

Re: Strelka 2.0B + sources

Post by ernest »

GeorgeLyapko wrote:
mjlef wrote: Come to think of it, I did not see any real "lazy eval". Maybe I should look again.

Was any of this helpful?

Mark
There is no need to look again. Here is comment from "EVAL.C" Line 44
// Здесь была ленивая оценка. В одной из Белок была отключена,
// и вроде получилось лучше, но данных об этом нет.
// Зато такое отключение очень упростило программу,
// а на скорости сказалось не очень заметно.
In English:
// Here was a lazy evaluation. In one of Belka's it was switched off,
// and seemed to turn out better, but no data about it.
// But this simplified the program notedly
// without big decrease in speed.
Hi George,

When I read EVAL.C with notepad or wordpad, I get:

value += Material[summ].value;
flags = Material[summ].flags;
}
// Çäåñü áûëà ëåíèâàÿ îöåíêà.  îäíîé èç Áåëîê áûëà îòêëþ÷åíà,
// è âðîäå ïîëó÷èëîñü ëó÷øå, íî äàííûõ îá ýòîì íåò.
// Çàòî òàêîå îòêëþ÷åíèå î÷åíü óïðîñòèëî ïðîãðàììó,
// à íà ñêîðîñòè ñêàçàëîñü íå î÷åíü çàìåòíî.
opening = value + Board->opening; // ìàòåðèàë + îöåíêè ïîçèöèé ôèãóð
endgame = value + Board->endgame;

...and not your cyrillic characters
// Здесь была ленивая оценка. В одной из Белок была отключена,
// и вроде получилось лучше, но данных об этом нет.
// Зато такое отключение очень упростило программу,
// а на скорости сказалось не очень заметно.

What should I do to obtain them (I can read Russian...)
Uri Blass
Posts: 10790
Joined: Thu Mar 09, 2006 12:37 am
Location: Tel-Aviv Israel

Re: Strelka 2.0B + sources

Post by Uri Blass »

Tony wrote:
Uri Blass wrote:
Tony wrote:No.

One of the biggest things of Fruit is its stability. Starting with this as a basis is a serious improvement over starting from scratch.

Tony
Fruit for me has too many files and I feel that if I try to start from it I cannot find nothing and do not know what to change.

Understanding fruit should be the first step and if you really understand fruit(something that I never did except very small parts) then I think that starting from scratch is easier than changing fruit.

Uri
???

Opening a dosbox, type "copy *.h total.h", should do the trick.

Still to much ? Remove main.c, type "copy *.c total.c", place main.c back

Tony
You may be right
I did not think about it.
I have no experience with trying to understand big projects of thousands of lines except chess programs and I also have no experience in writing big projects of thousands of lines except movei.

The size of the code of strelka is still clearly smaller than the code of fruit2.1 so I see no reason to assume that strelka started from fruit.

It may be interesting to hear fabien's opinion about it.

Uri
Edward German

Re: Blunders of Rybka - Test with Strelka 2.0B

Post by Edward German »

perejaslav wrote:Now available on http://sdchess.ru/download_engines.htm
:D
Blunders of Rybka - Test with Strelka 2.0B.

PGN Game 1:

[Event "Wertungspartie, 5m + 0s"]
[Site "Maschinenraum"]
[Date "2007.12.21"]
[Round "?"]
[White "DS11, Deep Shredder 11"]
[Black "Wolkenlos, Rybka 2.3.2a mp 32-"]
[Result "1-0"]
[ECO "C50"]
[WhiteElo "2437"]
[BlackElo "2610"]
[Annotator "0.38;0.29"]
[PlyCount "143"]
[EventDate "2007.12.21"]
[TimeControl "300"]

{Deep Shredder 11: 15.4 ply; 1.888kN/s Genuine Intel(R) CPU 2140 @
1.60GHz 3522MHz, (2 threads), Solist.ctg, oreDeviceObjects} 1. e4 {0.38/10 0}
e5 {(c5) 0.00/0 0} 2. Nf3 {0.78/11 0} Nc6 {(Sf6) 0.00/0 0} 3. Bc4 {0.32/10 1}
d6 {(Sf6) 0.00/0 0} 4. O-O {0.42/14 13} Be7 {0.29/14 11} 5. d4 {0.31/15 0} Nf6
{(exd4) 0.26/13 4} 6. d5 {0.44/14 8} Na5 {(Sb8) 0.29/16 12} 7. Be2 {0.30/15 11}
c5 {0.30/16 47} 8. a3 {0.49/17 0} c4 {(b6) 0.32/14 3} 9. b4 {0.78/16 8} cxb3 {
0.60/15 15} 10. cxb3 {0.78/17 0} Nxe4 {(b6) 0.67/15 28} 11. b4 {1.46/15 8} Bd7
{(0-0) 0.64/14 10} 12. Nfd2 {1.93/15 7} Nf6 {0.54/12 2} 13. bxa5 {1.93/16 2}
Qxa5 {0.46/13 0} 14. Qb3 {1.93/15 12} Rc8 {0.32/12 5} 15. Qxb7 {1.85/15 12}
Qxd5 {(Dc5) 0.43/15 10} 16. Qxa7 {1.90/14 7} O-O {0.28/11 4} 17. a4 {1.84/14 3}
Qe6 {0.37/11 5} 18. a5 {1.92/14 1} h6 {(Ta8) 0.44/10 7} 19. a6 {2.11/14 12}
Rfe8 {(Lc6) 0.56/10 6} 20. Qb7 {2.70/13 7} d5 {(Lc6) 0.90/12 6} 21. a7 {
2.86/14 7} Bc6 {1.26/13 3} 22. Qb2 {2.43/13 10} Ba8 {(d4) 0.98/10 5} 23. Ra6 {
2.81/13 6} Qf5 {1.25/11 3} 24. Qb5 {2.81/12 4} Rc5 {(Ted8) 1.35/11 2} 25. Qb3 {
2.66/13 13} d4 {(Tc7) 1.40/10 3} 26. Bc4 {3.15/12 5} Qh5 {(Tf8) 1.36/10 2} 27.
f3 {3.25/13 6} Rc7 {(Tec8) 1.98/12 4} 28. g4 {3.92/12 4} Qg6 {(Sxg4) 2.48/13 5}
29. Bd3 {4.18/13 9} Qg5 {2.40/15 0} 30. Nc4 {4.18/13 8} Qh4 {2.45/15 8} 31. Qb8
{4.13/14 0} Rb7 {2.21/10 3} 32. Rb6 {4.16/14 1} Rxb6 {2.66/12 5} 33. Nxb6 {
4.16/15 0} Bc6 {2.91/12 2} 34. Bf5 {4.16/13 8} Bf8 {(Lc5) 2.54/12 0} 35. Nd2 {
4.66/12 5} h5 {(d3) 3.67/11 8} 36. Qc7 {6.00/13 4} Re7 {4.70/11 0} 37. Qxc6 {
5.88/14 4} Rxa7 {3.67/10 1} 38. Nd5 {5.88/14 5} Nh7 {(Sxd5) 4.21/10 2} 39. Qe8
{6.61/10 2} g6 {(hxg4) 4.74/10 2} 40. Bd7 {7.08/11 4} Ra1 {5.14/9 0} 41. Qxe5 {
7.42/12 3} Qd8 {5.38/9 1} 42. Ne4 {7.64/12 1} Bg7 {(Ta6) 5.50/9 1} 43. Qe8+ {
7.58/12 3} Qxe8 {5.38/8 0} 44. Bxe8 {7.58/14 1} Ra5 {(d3) 5.73/9 1} 45. Bc6 {
7.66/12 6} Ra2 {5.85/9 2} 46. gxh5 {7.92/13 2} gxh5 {6.08/10 0} 47. Bd2 {
7.92/13 5} Bf8 {(d3) 6.26/10 0} 48. Rb1 {8.27/13 3} h4 {(Tc2) 6.45/8 2} 49. Rb8
{8.78/11 1} Kg7 {6.69/9 2} 50. Rb7 {9.01/13 0} Bc5 {6.75/7 0} 51. Be8 {
9.01/12 1} d3+ {7.54/8 0} 52. Kh1 {9.18/13 1} Bd4 {7.69/9 2} 53. Rxf7+ {
9.16/13 0} Kh8 {7.32/9 1} 54. h3 {9.16/13 0} Ra1+ {6.56/7 1} 55. Kg2 {9.16/12 0
} Rg1+ {7.54/8 1} 56. Kh2 {9.39/13 0} Rb1 {(Tg8) 7.54/8 0} 57. f4 {9.38/12 1}
Rb2 {(Tb8) 7.22/8 1} 58. Kg2 {10.19/13 1} Rb8 {7.87/9 0} 59. Re7 {10.20/13 1}
Rb2 {(Td8) 7.68/8 1} 60. Kf3 {10.67/11 2} Rb3 {(Tc2) 8.01/10 0} 61. Kg4 {
11.09/11 1} Rb1 {(Tb2) 8.20/7 1} 62. f5 {11.35/11 2} Rf1 {(Tg1+) 9.30/8 0} 63.
Bg6 {20.04/11 1} Nf8 {12.24/8 3} 64. Re8 {#9/13 0} Bg7 {(Tf4+) 14.43/7 0} 65.
Bc3 {#8/15 2} Rg1+ {#8/6 0} 66. Kh5 {#7/13 0} Bxc3 {#8/4 0} 67. Rxf8+ {#6/11 0}
Kg7 {#7/4 0} 68. Rf7+ {#5/9 0} Kh8 {#4/3 0} 69. Rh7+ {#4/7 0} Kg8 {#3/3 0} 70.
Nef6+ {#3/5 0} Bxf6 {#2/3 0} 71. Nxf6+ {#2/3 0} Kf8 {#1/3 0} 72. Rf7# {#1/1 0}
1-0

DS11,D - Wolkenlos,R, Wertungspartie, 5m + 0s 2007

[d]r1bqk2r/pp2bppp/3p1n2/n2Pp3/4P3/PP3N2/4BPPP/RNBQ1RK1 b kq - 0 1

Analysis by Strelka 2.0 B (2.66 GHz, 256 MB Hash):

10...Sxe4 11.Le3
µ (-0.97) Tiefe: 1 00:00:00
10...Sxe4 11.Le3
µ (-0.97) Tiefe: 3 00:00:00
10...Sxe4 11.b4 0-0 12.bxa5 Dxa5
² (0.48) Tiefe: 3 00:00:00
10...Sxe4 11.b4 0-0 12.bxa5 Dxa5
² (0.48) Tiefe: 4 00:00:00
10...Dc7 11.b4 Sc4 12.Sbd2 b5 13.Sxc4 bxc4
² (0.51) Tiefe: 6 00:00:00
10...Dc7 11.b4 Sc4 12.Dc2 b5 13.Sc3
± (0.75) Tiefe: 6 00:00:00 16kN
10...Sxe4 11.b4 0-0 12.bxa5 Dxa5 13.Le3 Ld7 14.Sbd2 Dxd5 15.Sxe4 Dxe4
± (0.80) Tiefe: 7 00:00:00 63kN
10...Sxe4 11.b4 0-0 12.bxa5 Dxa5 13.Le3 Ld7 14.Sbd2 Dxd5 15.Sxe4 Dxe4
± (0.80) Tiefe: 8 00:00:00 106kN
10...Sxe4 11.b4 0-0 12.bxa5 Dxa5 13.Le3 Lf5 14.Db3 Sc5 15.Db4
± (0.78) Tiefe: 9 00:00:00 167kN
10...Sxe4 11.b4 0-0 12.bxa5 Dxa5 13.Db3 f5 14.Sbd2 Sc3 15.Lc4 e4
± (1.00) Tiefe: 10 00:00:00 355kN
10...b6 11.b4 Sb7 12.Sc3 0-0 13.Le3 Ld7 14.h3 Tc8 15.Tc1 h6
± (0.90) Tiefe: 11 00:00:01 1773kN
10...b6 11.b4 Sb7 12.Sc3 Ld7 13.Ld2 0-0 14.Tc1 Tc8 15.Db3 h6 16.h3
± (0.92) Tiefe: 12 00:00:01 2496kN
10...b6 11.b4 Sb7 12.Sc3 Ld7 13.La6 Db8 14.Le3 0-0 15.Tc1 Tc8 16.Ld3 h6
± (0.89) Tiefe: 13 00:00:03 5560kN
10...b6 11.b4 Sb7 12.Sc3 Ld7 13.Ld2 0-0 14.Db3 Tc8 15.Tac1 h6 16.h3 Txc3 17.Txc3 Sxe4
± (0.97) Tiefe: 14 00:00:06 8050kN
10...b6 11.b4 Sb7 12.Sc3 Ld7 13.Ld2 0-0 14.Db3 Tc8 15.Tac1 h6 16.h3 Te8 17.Le3 Dc7
± (0.96) Tiefe: 15 00:00:11 14961kN
10...b6 11.b4 Sb7 12.Sc3 Ld7 13.Le3 Tc8 14.Tc1 0-0 15.h3 Txc3 16.Txc3 Sxe4 17.Tc4 f5 18.Ld3 Lb5
± (1.08) Tiefe: 16 00:00:22 25323kN
10...b6 11.b4 Sb7 12.Sc3 Ld7 13.Le3 Sg4 14.Ld2 0-0 15.h3 Sf6 16.Db3 Tc8 17.Tac1 Txc3 18.Lxc3 Sxe4 19.Ld3
± (1.13) Tiefe: 17 00:00:40 45887kN

Analysis by Rybka 2.3.2a 32-bit (2.66 GHz, 256 MB Hash):

10...Sxe4 11.b4
= (0.25) Tiefe: 5 00:00:00
10...Sxe4 11.b4 0-0
² (0.28) Tiefe: 6 00:00:00 2kN
10...Sxe4 11.b4 0-0 12.Da4
² (0.30) Tiefe: 7 00:00:00 4kN
10...Sxe4 11.b4 0-0 12.Da4 Sf6
² (0.42) Tiefe: 8 00:00:00 9kN
10...Sxe4 11.b4 0-0 12.Da4 Ld7 13.Dxa5
² (0.39) Tiefe: 9 00:00:00 18kN
10...Sxe4 11.b4 0-0 12.Da4 Sf6 13.Dxa5 Dxa5 14.bxa5 Sxd5 15.Ld2
² (0.40) Tiefe: 10 00:00:00 40kN
10...Sxe4 11.b4 0-0 12.Da4 Sf6 13.Dxa5 Dxa5 14.bxa5 Sxd5 15.Ld2 e4
² (0.50) Tiefe: 11 00:00:01 72kN
10...Sxe4 11.b4 0-0 12.Da4 Ld7 13.Dxa5 Dc8 14.Lb5 De8
² (0.62) Tiefe: 12 00:00:02 175kN
10...Sxe4 11.b4 Ld7 12.bxa5 Dxa5 13.Dd3 Sc5 14.Dc3 Dd8 15.Le3 Tc8
² (0.65) Tiefe: 13 00:00:07 566kN
10...Sxe4 11.b4 Ld7 12.bxa5 Dxa5 13.Dd3 Sc5 14.Dc3 Dd8 15.Le3 Tc8 16.Sbd2
² (0.63) Tiefe: 14 00:00:12 1033kN
10...Sxe4 11.b4 Ld7 12.bxa5 Dxa5 13.Dd3 Sc5 14.Dc3 Dd8 15.Le3 Tc8 16.Sbd2 0-0
² (0.68) Tiefe: 15 00:00:20 1587kN
10...b6 11.b4 Sb7 12.Sc3 0-0 13.Db3 Ld7 14.h3 a5 15.Le3 Dc7 16.Tfc1
² (0.65) Tiefe: 15 00:00:28 2654kN
10...b6 11.b4 Sb7 12.Sc3 0-0 13.Db3 Ld7 14.Le3 Sg4 15.Ld2 Tc8 16.h3 Sf6
² (0.69) Tiefe: 16 00:00:36 3433kN
10...Sxe4 11.b4 Ld7 12.bxa5 Dxa5 13.Dd3 Sc5 14.Dc3 Dxc3 15.Sxc3 Tc8 16.Tb1 Lf5 17.Tb2
² (0.68) Tiefe: 16 00:00:47 4363kN
10...Sxe4 11.b4 Ld7 12.bxa5 Dxa5 13.Db3 0-0 14.Le3 Tac8 15.Sbd2 Sc3 16.Lc4 b5 17.Ld3
² (0.69) Tiefe: 17 00:01:19 6618kN

(Nemeth, Privat 11.01.2008)

DS11,D - Wolkenlos,R, Wertungspartie, 5m + 0s 2007

[d]2r2rk1/Q2bbppp/3p1n2/3qp3/8/P7/3NBPPP/RNB2RK1 w - - 0 1

Analysis by Strelka 2.0 B:

17.Lb2
² (0.33) Tiefe: 1 00:00:00
17.Lb2 e4
= (0.17) Tiefe: 2 00:00:00
17.Lb2 Lb5 18.Lf3
² (0.36) Tiefe: 3 00:00:00
17.Lf3 Dd3 18.De3 Lf5
² (0.36) Tiefe: 4 00:00:00
17.Lf3 Dd3 18.Lb2 Tc2 19.Db6
² (0.47) Tiefe: 5 00:00:00
17.Lf3 De6 18.Lb2 Tc2 19.Lc3 d5
² (0.51) Tiefe: 7 00:00:00 23kN
17.Lf3 De6 18.Lb2 Tc2 19.Lc3 Tc8 20.De3
² (0.60) Tiefe: 7 00:00:00 30kN
17.De3 Sg4 18.Lxg4 Lxg4 19.f3 Lf5 20.Sc3 Dc6 21.Sde4 d5
² (0.57) Tiefe: 8 00:00:00 184kN
17.De3 Sg4 18.Lxg4 Lxg4 19.h3 Lf5 20.Sc3 De6 21.Lb2 d5 22.Tac1
² (0.59) Tiefe: 9 00:00:00 304kN
17.De3 Sg4 18.Lxg4 Lxg4 19.Sc3 Dc6 20.Lb2 d5 21.Dg3 Tb8 22.Dxg4 Txb2
² (0.58) Tiefe: 10 00:00:00 669kN
17.a4 De6 18.a5 d5 19.Sb3 d4 20.S1d2 Tc3 21.Tb1 d3 22.Lf3
± (0.77) Tiefe: 11 00:00:02 4112kN
17.a4 e4 18.Ta3 De6 19.Tg3 d5 20.Sb3 Ta8 21.De3 Lxa4 22.Sc5 De5 23.Sxa4 Txa4
± (0.80) Tiefe: 12 00:00:05 7782kN
17.a4 Tc2 18.Lf3 Dd3 19.Ta3 Df5 20.Tc3 Tc8 21.Txc8+ Txc8 22.Lb2 Dc2 23.Se4 Dxa4 24.De3
± (0.89) Tiefe: 13 00:00:11 16164kN
17.a4 e4 18.Sa3 Ta8 19.De3 Txa4 20.Ld1 Taa8 21.Lb2 Dd3 22.Sac4 Txa1 23.Lxa1 d5 24.Se5
± (0.88) Tiefe: 14 00:00:22 32081kN
17.a4 g6 18.Ta3 De6 19.Sc3 Ta8 20.Db7 Tfb8 21.Df3 d5 22.Tb3 Txb3 23.Sxb3 Tb8 24.Sb5 Se4 25.Lh6
± (0.85) Tiefe: 15 00:00:52 75380kN

(Nemeth, Privat 11.01.2008)

Analysis by Rybka 2.3.2a 32-bit :

17.Lf3 De6
= (0.04) Tiefe: 5 00:00:00
17.Lf3 De6 18.a4
= (0.00) Tiefe: 6 00:00:00 3kN
17.a4 e4 18.Ta3
= (0.22) Tiefe: 6 00:00:00 12kN
17.a4 e4 18.Ta3 Df5
= (0.23) Tiefe: 7 00:00:00 17kN
17.a4 De6 18.Lb5 d5 19.Lxd7
² (0.30) Tiefe: 8 00:00:00 36kN
17.a4 e4 18.Ta3 De6 19.a5 d5
² (0.32) Tiefe: 9 00:00:01 80kN
17.a4 De6 18.Lb5 Lc6 19.Lxc6 Txc6 20.Sa3 d5
² (0.32) Tiefe: 10 00:00:02 163kN
17.a4 De6 18.Lb5 Lc6 19.Lxc6 Txc6 20.Sf3 Sd5 21.Sbd2
² (0.35) Tiefe: 11 00:00:03 278kN
17.a4 De6 18.Lb5 Ta8 19.Lxd7 Sxd7 20.De3 d5 21.La3 Txa4 22.Lxe7
² (0.37) Tiefe: 12 00:00:07 537kN
17.a4 De6 18.Lb5 Ta8 19.Lxd7 Sxd7 20.De3 d5 21.La3 Txa4 22.Lxe7 Txa1 23.Lxf8
² (0.42) Tiefe: 13 00:00:13 954kN
17.a4 De6 18.Lb5 Ta8 19.Lxd7 Sxd7 20.De3 d5 21.La3 Txa4 22.Lxe7 Txa1 23.Lxf8 Kxf8
² (0.46) Tiefe: 14 00:00:26 1909kN
17.a4 De6 18.a5 Tfe8 19.a6 Lc6 20.f3 d5 21.La3 d4 22.Tc1 Sd5
² (0.49) Tiefe: 15 00:01:20 5703kN

(Nemeth, Privat 11.01.2008)

PGN Game 2:

[Event "Wertungspartie, 3m + 0s"]
[Site "Maschinenraum"]
[Date "2007.12.16"]
[Round "?"]
[White "Krakatoa, Rybka 2.3.2b mp"]
[Black "Wolkenlos, Rybka 2.3.2a mp 32-"]
[Result "1-0"]
[ECO "A00"]
[WhiteElo "2577"]
[BlackElo "2607"]
[Annotator "-0.18;-0.25"]
[PlyCount "265"]
[EventDate "2007.12.16"]
[TimeControl "180"]

{Rybka 2.3.2b mp: 17.3 ply; 204kN/s AMD Athlon(tm) 64 X2 Dual Core Processor
4600+ 2411MHz, (2 threads)} 1. h3 {0} d5 {B/0 0} 2. c3 {0} e5 {B/0 0} 3. d4 {0}
Nc6 {B/0 0} 4. dxe5 {-0.18/13 4} Nxe5 {B/0 0} 5. Nf3 {-0.15/13 5} Bd6 {
-0.25/11 4} 6. Qxd5 {-0.07/14 6} Nf6 {-0.12/14 9} 7. Qb3 {-0.04/16 15} O-O {
-0.10/14 1} 8. Nxe5 {0.00/15 12} Bxe5 {-0.03/15 7} 9. Nd2 {-0.01/16 16} Qe7 {
-0.03/13 3} 10. e3 {-0.01/15 18} c6 {-0.06/11 7} 11. a4 {-0.02/15 9} Bc7 {
-0.05/11 7} 12. Bc4 {-0.13/14 8} Qe5 {-0.13/12 7} 13. Nf3 {-0.10/14 6} Qh5 {
-0.09/13 4} 14. Qc2 {-0.06/13 3} a6 {-0.02/11 9} 15. Be2 {0.00/11 1} Rd8 {
-0.01/11 4} 16. Bd2 {0.00/11 3} Qd5 {-0.04/10 3} 17. c4 {0.00/10 1} Qe4 {
0.07/11 1} 18. O-O-O {0.04/12 0} c5 {0.00/12 5} 19. Be1 {0.00/11 1} Rxd1+ {
0.02/12 1} 20. Kxd1 {0.07/13 1} Qe7 {0.12/13 6} 21. Bd3 {0.06/13 2} Bd7 {
0.06/13 2} 22. Bc3 {0.11/14 1} g6 {0.09/13 3} 23. Kc1 {0.18/15 2} Rd8 {
0.10/13 1} 24. b3 {0.18/14 0} Bc6 {0.12/11 1} 25. Ba1 {0.18/14 6} Nd7 {
0.21/10 3} 26. Rd1 {0.24/15 1} b6 {0.19/11 1} 27. Bb2 {0.29/14 6} Bb7 {
0.22/11 2} 28. Rd2 {0.36/14 3} Bc6 {0.29/12 2} 29. Be2 {0.39/14 3} Be4 {
0.30/10 2} 30. Qd1 {0.39/14 2} Bc6 {0.39/10 1} 31. h4 {0.41/13 0} Re8 {
0.39/10 1} 32. Qc2 {0.51/13 2} Ne5 {0.43/11 0} 33. h5 {0.58/12 2} Qf6 {
0.55/12 3} 34. Rd1 {0.57/11 1} Kg7 {0.64/10 5} 35. hxg6 {0.73/9 0} hxg6 {
0.70/12 2} 36. Bc3 {0.77/14 0} Bb8 {0.73/11 2} 37. Qb2 {0.97/14 1} a5 {
0.94/13 1} 38. Nxe5 {0.97/13 0} Bxe5 {1.03/15 1} 39. Bxe5 {1.10/17 0} Rxe5 {
1.11/17 5} 40. Bf3 {1.09/20 0} Bxf3 {1.13/15 0} 41. gxf3 {1.11/20 2} Re6 {
1.12/17 0} 42. f4 {1.13/19 1} Qxb2+ {1.12/18 0} 43. Kxb2 {1.16/21 3} f5 {
1.15/20 2} 44. Kc3 {1.18/20 1} Kf6 {1.15/18 0} 45. Kd3 {1.23/19 0} Ke7 {
1.19/16 1} 46. f3 {1.23/21 0} Rd6+ {1.20/19 2} 47. Ke2 {1.23/23 0} Re6 {
1.20/19 0} 48. Rh1 {1.23/22 3} Kf6 {1.20/21 1} 49. Rh7 {1.23/23 1} Re8 {
1.20/21 0} 50. Rb7 {1.23/22 2} Re6 {1.20/22 1} 51. Rd7 {1.23/22 1} g5 {
1.20/21 0} 52. fxg5+ {1.23/22 0} Kxg5 {1.20/22 0} 53. Kd3 {1.23/23 2} Kf6 {
1.20/19 2} 54. Kd2 {1.23/23 0} Kg6 {1.20/20 2} 55. Rd5 {1.23/18 0} Kf6 {
1.20/19 1} 56. Kd3 {1.23/20 0} Rc6 {1.20/20 1} 57. Ke2 {1.23/22 0} Re6 {
1.20/20 1} 58. Kf2 {1.23/23 0} Kg6 {1.20/19 0} 59. Rd1 {1.23/22 0} Kg5 {
1.20/20 1} 60. Ke2 {1.23/23 0} Kf6 {1.20/20 0} 61. Rd5 {1.23/22 0} Kg6 {
1.20/20 2} 62. Kd3 {1.23/24 0} Kf6 {1.20/21 2} 63. Rd7 {1.23/24 0} Kg5 {
1.20/18 0} 64. Ke2 {1.23/14 0} Kf6 {1.20/18 0} 65. Rh7 {1.23/21 1} Kg5 {
1.20/18 0} 66. Rh1 {1.23/17 0} Kg6 {1.20/19 1} 67. Rg1+ {1.23/14 0} Kf6 {
1.20/20 1} 68. Rd1 {1.23/19 0} Ke7 {1.20/18 0} 69. Rh1 {1.23/19 0} Rg6 {
1.14/17 1} 70. Rh7+ {1.23/16 0} Kd8 {1.14/17 0} 71. Rb7 {1.33/12 0} Kc8 {
0.86/16 1} 72. Re7 {0.97/14 0} Rg2+ {0.78/17 0} 73. Kd3 {0.79/19 0} Rb2 {
0.81/17 1} 74. Kc3 {0.92/19 0} Re2 {0.84/17 0} 75. Re6 {0.91/18 0} Kb7 {
0.84/18 1} 76. Re5 {0.91/20 0} Kc6 {0.84/17 0} 77. Rxf5 {0.91/16 0} Rxe3+ {
0.84/17 0} 78. Kc2 {0.91/18 0} Re2+ {0.84/17 0} 79. Kd3 {0.79/23 0} Rb2 {
0.83/18 0} 80. Kc3 {0.79/23 0} Rh2 {0.83/19 0} 81. Rf6+ {0.80/13 0} Kc7 {
0.83/19 1} 82. Re6 {0.86/20 0} Rh3 {0.83/17 1} 83. Re3 {0.86/17 0} Kd6 {
0.83/16 0} 84. Kd3 {0.86/18 0} Rh4 {0.83/18 0} 85. Re1 {0.86/20 0} Kd7 {
0.83/17 0} 86. Re4 {0.86/20 0} Rh1 {0.83/18 1} 87. Re3 {0.86/21 0} Rh4 {
0.83/17 0} 88. Re5 {0.86/19 0} Kd6 {0.83/16 1} 89. Rd5+ {0.86/20 0} Ke7 {
0.83/17 1} 90. Ke3 {0.87/22 0} Rh1 {0.83/19 1} 91. Ke4 {0.87/15 0} Ke6 {
0.83/18 0} 92. Rd3 {1.12/18 0} Re1+ {0.83/16 0} 93. Re3 {1.12/21 0} Rd1 {
0.83/20 3} 94. f4 {1.24/21 0} Rh1 {0.96/17 0} 95. Rd3 {1.24/20 0} Re1+ {
1.26/17 0} 96. Kf3 {1.24/20 0} Kf5 {1.32/18 1} 97. Rd5+ {1.24/21 0} Ke6 {
1.29/19 0} 98. Rh5 {1.24/20 0} Rc1 {1.32/18 2} 99. Ke4 {1.24/21 0} Re1+ {
1.32/17 0} 100. Kd3 {1.24/21 0} Kd7 {1.32/18 1} 101. Rh7+ {1.40/13 0} Kd6 {
1.33/16 0} 102. Rh3 {1.40/19 0} Rg1 {1.33/12 0} 103. Ke4 {1.60/14 0} Rg4 {
1.33/15 0} 104. Rd3+ {1.82/17 0} Ke7 {1.97/17 0} 105. Re3 {1.96/19 0} Kd6 {
1.97/16 0} 106. Kf3 {2.01/20 0} Rh4 {2.05/17 0} 107. Kg3 {2.11/20 0} Rh5 {
2.50/16 1} 108. Kg4 {1.91/12 0} Rh7 {2.50/14 0} 109. f5 {2.75/10 0} Rh1 {
2.79/13 0} 110. f6 {2.96/12 0} Rf1 {2.91/12 0} 111. Kg5 {3.51/16 0} Rf2 {
3.46/14 0} 112. Kg6 {3.18/13 0} Rg2+ {4.52/14 0} 113. Kf7 {4.66/16 0} Rf2 {
4.52/13 0} 114. Re6+ {5.02/12 0} Kd7 {4.51/12 0} 115. Rxb6 {5.12/16 0} Rf1 {
5.03/13 0} 116. Rb5 {5.09/11 1} Rf3 {4.78/10 0} 117. Rxa5 {5.02/11 0} Rxb3 {
4.93/13 0} 118. Rxc5 {5.02/11 0} Re3 {5.53/12 1} 119. Rd5+ {8.36/12 0} Kc7 {
5.11/8 0} 120. Kg6 {8.39/6 0} Rg3+ {7.93/7 0} 121. Rg5 {7.31/4 0} Rd3 {
8.72/11 0} 122. f7 {8.71/7 0} Rd8 {8.91/10 0} 123. Kg7 {8.88/9 0} Rd7 {
9.81/10 0} 124. Kg8 {8.78/5 0} Rd8+ {9.02/6 0} 125. f8=Q {#10/7 0} Rxf8+ {
#9/6 0} 126. K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Sf6 7.Ld3 Ld6 8.0-0 0-0 9.Sa3 a6 10.Te1 c5 11.c4 d4
= (-0.16) Tiefe: 14 00:00:55 4823kN
5...Sxf3+ 6.exf3 Sf6 7.Ld3 Ld6 8.0-0 0-0 9.Sa3 a6 10.Te1 c5 11.Le3 Te8 12.Dd2
= (-0.17) Tiefe: 15 00:01:26 7473kN
5...Sxf3+ 6.exf3 Sf6 7.Ld3 Ld6 8.0-0 0-0 9.Sa3 a6 10.Te1 c5 11.Le3 Te8 12.Dd2
= (-0.17) Tiefe: 16 00:02:00 10204kN
5...Sxf3+ 6.exf3 Sf6 7.Ld3 Ld6 8.0-0 0-0 9.Sa3 a6 10.Te1 c5 11.Le3 Te8 12.Dd2
= (-0.17) Tiefe: 17 00:03:38 18755kN
5...Sxf3+ 6.exf3 Sf6 7.Ld3 Ld6 8.0-0 0-0 9.Sa3 a6 10.Te1 c5 11.Le3 Te8 12.Dd2
= (-0.17) Tiefe: 18 00:06:42 33824kN

(Nemeth, Privat 11.01.2008)

Check it yourself!

Best!
Uri Blass
Posts: 10790
Joined: Thu Mar 09, 2006 12:37 am
Location: Tel-Aviv Israel

Re: Strelka 2.0B + sources

Post by Uri Blass »

GeorgeLyapko wrote:
mjlef wrote: Come to think of it, I did not see any real "lazy eval". Maybe I should look again.

Was any of this helpful?

Mark
There is no need to look again. Here is comment from "EVAL.C" Line 44
// Здесь была ленивая оценка. В одной из Белок была отключена,
// и вроде получилось лучше, но данных об этом нет.
// Зато такое отключение очень упростило программу,
// а на скорости сказалось не очень заметно.
In English:
// Here was a lazy evaluation. In one of Belka's it was switched off,
// and seemed to turn out better, but no data about it.
// But this simplified the program notedly
// without big decrease in speed.
Sorry but the comments that I see in these lines in the strelka code include hebrew letters

Here are the comments that I see (maybe I will see things different after I post but I doubt it)
// ַהוס בכא כוםטגא מצוםךא. ֲ מהםמי טח ֱוכמך בכא מעךכ‏קוםא,
// ט גנמהו ןמכףקטכמס כףקרו, םמ האםםץ מב ‎עמל םוע.
// ַאעמ עאךמו מעךכ‏קוםטו מקום ףןנמסעטכמ ןנמדנאללף,
// א םא סךמנמסעט סךאחאכמס םו מקום חאלועםמ.

Uri
User avatar
Werner
Posts: 2967
Joined: Wed Mar 08, 2006 10:09 pm
Location: Germany
Full name: Werner Schüle

Re: Strelka 2.0B + sources

Post by Werner »

Hi Mark,
8-) 8-) 8-) thanks for posting this! 8-) 8-) 8-)
I see you are steeled from DOS programming!
Werner
nas

Re: Strelka 2.0B + sources

Post by nas »

ernest wrote: What should I do to obtain [the correct characters in the source] (I can read Russian...)
The files are encoded using the "windows-1251" charset. You might have to tell your editor that (not sure about how you do it on your machine).
User avatar
WinPooh
Posts: 276
Joined: Fri Mar 17, 2006 8:01 am
Location: Russia
Full name: Vladimir Medvedev

Re: Strelka 2.0B + sources

Post by WinPooh »

Or just open files in Internet Explorer, which can change encoding for sure.
Uri Blass
Posts: 10790
Joined: Thu Mar 09, 2006 12:37 am
Location: Tel-Aviv Israel

Re: Strelka 2.0B + sources

Post by Uri Blass »

Dann Corbit wrote:
perejaslav wrote:Now available on http://sdchess.ru/download_engines.htm
:D
That is very good. I think it removes many questions as far as Fruit is concerned, since it is now open source (although the license is not clear).

Now Vas can take a look and know for sure what similarities there are (if he is even interested) and I also invite other chess authors to compare with Fruit and I think that they will also come to the same conclusions that I came to (clearly inspired by Fruit, but not simply a clone).

Uri has found lots of interesting ways to shrink the code of the engine. He may wish to add a fork now, if that seems pleasing to him.
Most of my changes are irrelevant
Here is one that can still help slightly to shrink strelka code

delete the following code from board.c of strelka

Code: Select all

for (i = 0; i < 256; i++) PieceFromChar[i] = 0;
  PieceFromChar[ 66] =  6;
  PieceFromChar[ 75] = 12;
  PieceFromChar[ 78] =  4;
  PieceFromChar[ 80] =  2;
  PieceFromChar[ 81] = 10;
  PieceFromChar[ 82] =  8;
  PieceFromChar[ 98] =  7;
  PieceFromChar[107] = 13;
  PieceFromChar[110] =  5;
  PieceFromChar[112] =  3;
  PieceFromChar[113] = 11;
  PieceFromChar[114] =  9;

Add instead of it the following code

Code: Select all

 memset(PieceFromChar, 0, sizeof PieceFromChar);
  PieceFromChar['P']=2;
  PieceFromChar['N']=4;
  PieceFromChar['B']=6;
  PieceFromChar['R']=8;
  PieceFromChar['Q']=10;
  PieceFromChar['K']=12;
  for (i='b';i<'z';i++)
	  if (PieceFromChar[i+'A'-'a']!=0)
		 PieceFromChar[i]=PieceFromChar[i+'A'-'a']+1;
User avatar
David Dahlem
Posts: 900
Joined: Wed Mar 08, 2006 9:06 pm

Re: Strelka 2.0B + sources

Post by David Dahlem »

perejaslav wrote:Now available on http://sdchess.ru/download_engines.htm
:D
Anyone have a clue yet how strong is this version compared to version 1.8?