Author: Bruce Moreland
Date: 09:13:12 07/08/98
Go up one level in this thread
On July 08, 1998 at 03:51:14, Dan Newman wrote: >The main problem I guess is in taking back a move *after* you've >shortened the list--the algorithm that worked in the search no >longer works here since the pointer to the captured piece now >points to the wrong piece. So my idea is to simply reset the >board to the starting position and run through all but the last >one or two game moves to do a takeback--not very elegant I guess. A heck of a lot more elegant than writing a lot of special code to handle this one case. bruce
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.