Computer Chess Club Archives


Search

Terms

Messages

Subject: Crafty question

Author: David Rasmussen

Date: 05:28:54 03/22/01


In ValidMove(), the first thing that is checked is

if (PcOnSq(From(move)) != Piece(move)) return(0);

then, why is this checked again for each piece? That is just a waste of time.



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.