Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Why have a UnMakeMove or UndoMove function (not as stupid as it sounds)?

Author: David Rasmussen

Date: 10:57:59 02/24/03

Go up one level in this thread


On February 24, 2003 at 11:41:03, Albert Bertilsson wrote:

>Hello!
>
>I've done some testing and thinking and I ask the following question:
>Why have an UnMakeMove or UndoMove function?

It's certainly something I've been thinking about: Chezzz is a rotated bitboard
engine and there is a lot to update for UnMakeMove(). On modern architectures
and with some tuning, just copying the position maybe as fast or faster, and
it's certainly simpler. It will depend on the program in question, but I _have_
been thinking the same thing. Most people try the copying scheme when starting
out, and then move on to UnMakeMove(), dismissing the simple approach. But maybe
they shouldn't.

/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.