Author: Daniel Clausen
Date: 08:59:27 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? > >When testing with Sharper I found that actually copying the board and then >calling DoMove on the new board was faster than using DoMove() / UndoMove() on >the same board. I'm sure that the copying will be slower at one point for you, but it's definitely a good idea to start with simply copying the board in undoMove(). I do that too and I'm very glad about it. :) It's soo much easier/faster to change stuff in the board-structure and not break anything. I will implement a proper undoMove() when I'm confident that I'm happy with the board structure for at least several weeks. :) Sargon
This page took 0.01 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.