Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: My progress...

Author: David Dory

Date: 12:27:52 02/06/04

Go up one level in this thread


On February 06, 2004 at 12:56:19, Maurizio Di Vitto wrote:

>Hi again,
>in these last days I work a lot on my chess program. I tried to write a UnMake
>function. At the first I created a new class called history that looks like:

><snip>
>Is it all correct. I think that shoul be somethig wrong because it would
>impossible that I wrote without made mistakes.
>Thank you again.
>Maurizio Di Vitto

That's a chunk of code, Maurizio. I have no idea if your code is right, but it
surely is ambitious! You get an "A" for that.

My only suggestion is to make that history class work as closely as possible to
actually having the update/restore code right in the MakeMove and UnMakeMove
functions.

If you can write that much code without stopping to incrementally debug it, you
are either damn smart, or have a dump truck full of patience, or both.

Best wishes,
David





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.