Thursday, September 23, 2010

Milady 2.71 available

It consists in : the 2.40 version with a Null-Move supposed to work (but not sure to be efficient in all the situations, i.e. zugzwang), and also a lot of special endings which are very useful (Bad bishop,. bishop+pawn,...). Seems to give some elo points, I would say 100 elo. My testing methodology is to play tournaments against different opponents of approximately the same level, including also the previous version of Milady.

Sunday, September 12, 2010

Links to 2.22, 2.30, 2.40 updated

I am working since several monthes on new versions. Today they seem much weaker than the 2.40. So that I have updated the download links to 2.22, 2.30, 2.40 versions, thanks to Norbert to reported the broken ones.
Enjoy !

Tuesday, November 11, 2008

A new version of Milady (2.40)

Now there are some extensions if the line is tactical before entering in the Quiescent search. Seems to help a lot. The NullMove heuristic seems not to work.

Sunday, February 3, 2008

Milady 2.30 is arrived! Just before the ChessWar XII F start . Thanks to Olivier Deville for managing this tournament that you can follow directly online.

Saturday, September 22, 2007

What programming language to use?

90% of the chess engines are programmed in c or c++. So that if you know these languages, no problem, use them for your engine, as you will find plenty of exemples and people to help you during your long quest. The remaining 10% are divided into the other languages (i.e java, c#, basic,...). Here I suggest visual basic or c# if you are a strong beginner (i.e. you are not starting from zero). You could download SharpDevelop which is a free programming interface using c# and visual basic, equivalent to MS visual studio (having also a free version). Once downloaded and installed, as well as the MS Framework 2, open a new visual basic console project (create it in
a new directory with a nice name (the same as your engine). You are on the good way if you are here ;-)

Saturday, September 15, 2007

The structure of the programme

Here we describe what is required for your programme to work.
  1. A board representation : your programme needs to know where the different pieces are. The board will be an array of integers.
  2. A move generator : now that your creation can view the board, you have to make the moves by displacing the different pieces
  3. Communication with a GUI (Winboard). You will be proud to see the baby playing moves on already existing free Graphic User Interface. It is rather easy to do something working not that bad
  4. The chess search algorithm. Here it will be the Alpha-Beta amelioration of MiniMax algorithm. The thinking process. Calling Alpha-Beta, how to stop the search, aspiration window,...
  5. The evaluation function : the position is good or not? It is a good question. Quiescence search is also a good choice

Chess programming for beginners

You will find some good places on the Web if you want to start your own chess engine (I know it is a strange idea, but if you are here you are a strange person). As you don't want to create a clone, i.e. take sources codes, modify a few lines, compile the thing, and finally say "that's my baby, i'm the strongest programmer on the world", you will have to do it yourself, and do it the hardest way.
I will try to give you some basic techniques in the following small articles. If you are already inside chess programming, I suppose you will not find this place so interesting, though my feedback on some classical algorithms may be sometime original. Do not try to send me mail if you have some questions, better to post on the chess programming forums, Talkchess and Winboard (links on the right).