Author: Leen Ammeraal
Date: 11:52:08 01/13/01
Go up one level in this thread
On January 13, 2001 at 14:35:49, Pete Galati wrote:
>On January 13, 2001 at 13:46:15, Leen Ammeraal wrote:
>
>>I just uploaded a (rather restricted) WinBoard version,
>>wbqueen, of my chess program queen. Any reactions
>>are welcome. Being unfamiliar with ELO rating I would
>>appreciate any opinions (or better) about the rating
>>of this program, as well as suggestions how to improve it.
>>I programmed it in VC++6.0 and I used
>>
>>- rotated bitboards
>>- PVS/Negascout
>>- hashing
>>- nullmove pruning
>>- openings from the PGN files of about 350 FIDE games
>>
>>Leen Ammeraal
>>http://home.wxs.nl/~ammeraal/
>
>It always surprizes me when someone builds the opening book inot their exe. It
>seems to be working just fine, I didn't take the time to add it to the WBini
>file yet, but it's working without any problems so far.
>
>When you say "rather restricted", do you mean it doesn't use many Winboard
>commands and options yet?
>
>Pete
Yes, that is what I mean. As for the opening book, it may interest
you to see a code fragment related to it:
char *pOpenings[] =
{"e4 e5 Nf3 Nc6 Bc4 Bc5 c3 Nf6 d3 a6 Nbd2 O-O Bb3 d6 h3 Be6 Nf1 h6 g4 Nh7 Rg1 d5
Qe2 Be7 ",
"d4 Nf6 Nf3 g6 c4 Bg7 g3 d6 Bg2 O-O O-O Nc6 Nc3 a6 d5 Na5 Nd2 c5 Rb1 Rb8 b3 b5
Bb2 Bf5 ",
"Nf3 Nf6 d4 e6 c3 c5 Bg5 cxd4 cxd4 Qb6 Qc2 Nc6 Bxf6 gxf6 e3 d5 Nc3 Bd7 Be2 Rc8
O-O f5 Rfc1 Nb8 ",
"g3 d5 Bg2 g6 c4 c6 cxd5 cxd5 Qb3 Nf6 Nc3 e6 Nf3 Nc6 d4 Bg7 O-O O-O Bf4 Nh5 Rfd1
Nxf4 gxf4 b6 ",
These are the first four of the 350 games I used. I downloaded
some file with these games from the Internet, and made them
somewhat shorter by deleting the move numbers and tags (using a simple
conversion program, which generated the above code). All positions
that occur with these moves, along with the next move, are stored
in my hashtable, using a modular counter that start at a random
position in this array pOpenings (to avoid getting the same
game each time), and that is the opening book! If you think
there is a better set of games for this purpose, please let me know.
Leen
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.