Author: Pham Minh Tri
Date: 15:20:57 02/11/01
Hi, I know there are three ways to deal with illegal moves (side to move is in check after taking those moves): 1) Generate legal moves only. 2) Check and cut off illegal moves before taking a move. 3) Take a move without checking it and let program captures the king in the next ply (if it is an illegal move). I am wondering which one is better (faster). Is there any other way? Any comments would be appreciated. Pham
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.