Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Standard Naming of Unmoves?

Author: William Bryant

Date: 07:12:51 09/16/99

Go up one level in this thread


On September 16, 1999 at 02:52:59, Dave Gomboc wrote:

>We have SAN for chess games, but SAN moves aren't reversible, i.e. if you took
>some position, and knew the SAN move that got you to it, you still couldn't
>reconstruct the original position (the major, if not only, example is if the SAN
>move was a capture, you generally don't know what was captured.)
>
>Any suggestions?
>
>Dave

In general, you need the following pieces of information to take back a move.

The captured piece (if any),
The prior castling status,
The prior 50 move rule count which may have been reset by this move,
The prior e.p. square if any.

Most programs maintain this in a record that is saved with makemove and restored
with takeback.

Creating a standard for move representation including SAN, and other data sound
fine to me, since very program seems to handle this differently.

William
wbryant@ix.netcom.com



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.