Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Source codes

Author: KarinsDad

Date: 10:19:42 06/09/00

Go up one level in this thread


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 :)



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.