[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [pbmserv-dev] Bug: Moultezim Board 1431 **



At 01:41 29/11/2006, Douglas Zander wrote:
there is an option for the challenge command "-m" or "--manual" which turns on
the manual for both players before their first move.  this was undocumented.
unfortunately it does not seem to work correctly for what the player wishes to
do.  I am currently working on a proper way to turn on manual for both players
before any forced moves.

A better solution might be to still automatically make forced moves, but only penalise a player if they had made a non-forced move before resigning.


In Game::doResign() (game.cpp, line 1619) the following test is made to determine whether the resigning player has moved:

int first_move = (moves.Count() - players.Count() < FirstMove());

Perhaps this should be changed to instead check whether the player had made any non-forced moves? I don't know how to determine this or what side-effects it might cause.

Cameron