ChessBrain VB 3.02 - release

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

Moderators: hgm, Rebel, chrisw

Norbert Raimund Leisner
Posts: 1643
Joined: Tue May 20, 2008 4:57 pm
Location: Augsburg - Germany

ChessBrain VB 3.02 - release

Post by Norbert Raimund Leisner »

Hello,

https://github.com/RZulu54/ChessBrainVB/releases

New Version is about 100 ELO stronger, now 2750 compared to CCRL 40/4.
Major rewrite, many bug fixes.
ChessBrainVB_V3_02.zip
ChessBrainVB_V3_02_EXCEL_Compact_Edition.zip
Downloads
Source code (zip)
Source code (tar.gz)

Norbert
Ulpius
Posts: 8
Joined: Wed Dec 24, 2014 1:31 pm

Re: ChessBrain VB 3.02 - release

Post by Ulpius »

Great work, especially the Excel compact version. How long did it take to write this really pretty VBA-version?

I'm very curious about the further developements of this pretty program.

Thx!!!
Ulpius
Ulpius
Posts: 8
Joined: Wed Dec 24, 2014 1:31 pm

Re: ChessBrain VB 3.02 - release

Post by Ulpius »

I've tried a quick game against Arion 1.7. ExcelChessBrainX got 10 sec/move while Arion 1.7 got 3 seconds. As expected Arion had soon a large advantage but shortly before mating ECBX had a runtime-error. I believe it has to do with the maximum thinking depth but I'm really not sure.

[Date "2016.11.03"]
[White "ExcelChessBrainX"]
[Black "Arion 1.7"]
[Result "*"]

1. Nf3 d5 2. e3 g6 3. d4 Bg7 4. Nbd2 Nf6 5. c3 O-O 6. Bd3
Nbd7 7. Bc2 Re8 8. O-O e5 9. Nb3 e4 10. Nfd2 b6 11. f3 Ba6
12. Re1 Rc8 13. fxe4 dxe4 14. c4 c5 15. Qe2 Qc7 16. Rf1
cxd4 17. Nxd4 h5 18. h3 Bxc4 19. Nxc4 Qxc4 20. Qxc4 Rxc4
21. Bb3 Rcc8 22. Ba4 Rf8 23. Bb3 Rfd8 24. Bd2 Nc5 25. Bc4
Nd3 26. b3 Nd5 27. Rab1 Rxc4 28. bxc4 Nxe3 29. Bxe3 Bxd4
30. Bxd4 Rxd4 31. c5 Nxc5 32. g4 hxg4 33. hxg4 e3 34. Rfe1
Rxg4+ 35. Kf1 Rg3 36. Rbd1 Kg7 37. Rd8 Kf6 38. Ra8 Nd3
39. Rb1 Nf4 40. Re1 e2+ 41. Kf2 Ra3 42. Rd8 Rxa2 43. Rd6+
Kf5 44. Rd7 f6 45. Rd4 g5 46. Kf3 Ra3+ 47. Kf2 g4 48. Kg1
g3 49. Kh1 Rf3 50. Rxf4+ Kxf4 51. Rxe2 Rf1+ 52. Kg2 Rf2+
53. Rxf2+ gxf2 54. Kxf2 f5 55. Ke2 Ke4 56. Kd2 f4 57. Kd1
f3 58. Kd2 b5 59. Kc3 f2 60. Kb4 f1=Q 61. Kc5 Qc4+ 62. Kd6
Qf7 63. Kc6 b4 64. Kc5 b3 65. Kb5 b2 66. Kb4 b1=Q+ *
Roger Zuehlsdorf
Posts: 9
Joined: Fri Sep 04, 2015 11:22 am
Location: Germany

Re: ChessBrain VB 3.02 - release

Post by Roger Zuehlsdorf »

Thank you for testing the Excel version.
The new release ChessbrainVB V3.03 fixed the problem.
Because the Excel VBA cannot be compiled to machine code it's speed is about only 10-20 kns but has 2200-2250 ELO.
(same speed as the Pseudo-Code compiled ChessBrainVB_PCode.exe ->this is easier to test with ARENA)
The VBA code is the same as the compiled VB6 code which is 15x faster.

Note: The target of this project was to create a good VBA engine using existing code. Hopefully this leads some VBA programmer to chess programming.
This non-bitboard engine is based on LarsenVB (8x12 board data structures, code generation, winboard interface) and Stockfish (search and evalution).
The main work was to speedup the VB code and convert Stockfish bitboard logic to array based data structures.
Norbert Raimund Leisner
Posts: 1643
Joined: Tue May 20, 2008 4:57 pm
Location: Augsburg - Germany

Re: ChessBrain VB 3.02 - release

Post by Norbert Raimund Leisner »

Motor Punkte Tu Ch Am Bi Gn Pa S-B
1: Tucano_w64 34,0/50 ·········· =0===1=1=0 111001011= 11=1====1= 10=11110=1 01=1111111 751,50
2: ChessBrainVB 29,5/50 =1===0=0=1 ·········· =110=1=00= 1=0101===1 011=01001= 0=11111111 660,75
3: Amoeba-win64 28,5/50 000110100= =001=0=11= ·········· 0=01===110 111100011= 1=01111111 617,75
4: Bison911 28,5/50 00=0====0= 0=1010===0 1=10===001 ·········· 011=1=1=11 1111011111 596,50
5: GnuchessO3 21,0/50 01=00001=0 100=10110= 000011100= 100=0=0=00 ·········· 1011011101 480,00
6: Pawny_1.2.x64.SSE4.2 8,5/50 10=0000000 1=00000000 0=10000000 0000100000 0100100010 ·········· 229,50

150 Partien gespielt / Turnier beendet
Name des Turniers: Arena 13-12-2016.at
Ort/ Land: I5COREQUAD, Germany
Spielstufe: Turnier 40/2
Hardware: Intel(R) Core(TM) i5-3470 CPU @ 3.20GHz mit 3,7 GB Speicher
Betriebssystem: Windows 7 Home Premium Home Edition Service Pack 1 (Build 7601) 64 bit
PGN-Datei: C:\Users\NRL\Downloads\arena_3.5.1\Arena.pgn