[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [pbmserv-dev] why is Init() recalled each time? (long)
On Wed, 19 Jun 2002, Martin Moller Pedersen wrote:
> If you let Init() increment an int, then only new games is the case
> that number of moves equal the value of the int.
>
> /Martin
I understand what you wish to do, but there are times when the base
source code (game.cpp) will run through an old game from the beginning
with the moves that were already played. It is as if the game is replayed
from the beginning. In this instance the integer tag would be reset to zero
and would increment with each move that was replayed and would end up
matching the number of moves in the move list; it would then appear as if
it is a _new_ board file when in fact it was an old board file.
--
Douglas Zander