Author: Dann Corbit
Date: 17:41:22 01/08/99
Go up one level in this thread
On January 08, 1999 at 20:37:03, Dann Corbit wrote: >Function EPDIsLegal() is returning failure. It is failing here: /* check pawn placement */ if (flag) { file = file_a; while (flag && (file <= file_h)) if ((EPDboard.rbm[rank_1][file] == cp_wp) || (EPDboard.rbm[rank_1][file] == cp_bp) || (EPDboard.rbm[rank_8][file] == cp_wp) || (EPDboard.rbm[rank_8][file] == cp_bp)) flag = 0; else file++; }; The value of flag gets changed to zero.
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.