c# 2.0 chess project

Talking about chess programming using C#.

Friday, October 22, 2004

Step one: - Getting started

It's really incredible the amount of work it takes to write a chess program in ANY language. If you are using a new language (or beta in the case of c# 2.0), you are obviously going to spend a lot of time getting yourself acquainted with the language features. By far though, you will probably spend most of your time researching stuff about computer chess. There is plenty of stuff available on the internet. The trick is to find it. You should start with articles giving a general overview on chess programming. Perhaps the best is the series of articles written by François Dominic Laramée at gamedev.net.

There are some good technical papers available at Professor Bob Hyatt (the creator of Crafty) site. If you are ever going to succeed in implementing rotated bitboards by yourself without checking out any available source code (No need for that really. You can always read the source for my program), then this is the place to start. Be sure to download a copy of Crafty while you are at it and also get a copy of winboard. Details on how to hook it up to Crafty are available here.

The Hyatt papers were all I really needed to get a rotated bitboard implementation working. For another approach to move generation, check out Nagaskaki by Neels Groenewald and the various tips on his page. Once you got move generation working, you will probably spend the rest of the time on game searching algorithms. A good intro is the series of articles by Bruce Moreland. You should also check out a description of Negascout, MTD and verified null move pruning. Once you get deep into getting an efficient algorithm working, you should also take a look at Ed Schroeder's article , "How Rebel Plays Chess".
I just discovered a huge cache of articles on chess programming recently, available at http://digilander.libero.it/gargamellachess/papers.htm . I'm still wading through it all but already some it looks pretty useful.

That's all for now. I promise to have that source code up pretty soon.

1 Comments:

Blogger Vivek Y S said...

hey,
Thanks for the information. I am an 3rd year Computer Science Engineering Student. I have started to read about computer chess, thinking to develop a simple chess engine. Your information is helping a lot.

And you have given this last link
http://digilander.libero.it/gargamellachess/papers.htm

This link is not working ...

Regards

February 4, 2008 at 6:33 AM  

Post a Comment

<< Home