Computer Chess Club Archives


Search

Terms

Messages

Subject: Question: The best implementation option

Author: Fermin Serrano

Date: 08:24:57 05/19/03


Hello
I started to modify TSCP program and I have learn a lot from it, but same time
ago I decided to develop my own engine and during this process I have a few
questions: What's the best option of these?:
a) Make the move over a board and undo the move over the same board or
b) Make a copy of the board, make the move over the copy and searching from this
copy and no undo to return , else take the original board.

I intuit second one could be very low, becuase the copy would take 64 iterations
over a loop (* same boards, one for the piezes, color, attacks arrays, etc).
isn't it?

P.S.: when I say "best" I think in terms of speed



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.