Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Source codes

Author: Inmann Werner

Date: 02:02:13 06/10/00

Go up one level in this thread


On June 09, 2000 at 13:19:42, KarinsDad wrote:

>On June 09, 2000 at 13:01:32, Robert Hyatt wrote:
>
>>On June 09, 2000 at 11:24:51, aloysius wrote:
>>
>>>Where can I find really _very_simple_ chess programs' source codes?
>>
>>
>>In your dreams, probably.
>>
>>:)
>>
>>Chess is non-trivial.  What you are really asking is "where can I find a
>>program that is pretty well state-of-the-art _and_ has a simple source.  I
>>don't think you will be able to find such an animal.  Simple chess program
>>is an oxymoron, IMHO.
>
>No kidding. It took me 3 hours last night to write and test my diagonal pin code
>(about 100 lines of code).
>
>And I still have to create about 30 test positions to ensure that it will work
>in "all" cases (king on edge, king near edge, king in middle) / directions.
>
>And, I still have to add in diagonal e.p. pins and horizontal e.p. pins
>(vertical e.p. pins are handled by standard vertical pins).
>
>Sigh.
>
>KarinsDad :)

and everytime, I make a real new version, I fall in the en-passant trap. This
"animal" always gets confused :-(. And every time, making a no make-move and
undo-move, somewhere down the search, some "ghost figures" confuse the search.
It all is so nice simple , if you use the right + or - sign always :-)

Werner



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.