Computer Chess Club Archives


Search

Terms

Messages

Subject: Easy programmers question: game history

Author: Andreas Guettinger

Date: 14:59:53 02/23/04


Currently my engine only knows about the current position, which is quite dumb,
I know.

I want to record the current game now as it is played, for takebacks, move
repetition etc. What is the best way to do this:

1) just record the moves that are made to be able to undo them

2) make an array of my position structure and drop the current position into the
array, and upon takeback jump back to the requested position.

thanks
Andy





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.