Author: Georg v. Zimmermann
Date: 11:18:27 12/05/03
Hi, just had a little idea and was wondering whether anyone of you is doing that. When in check there are obviously two ways to generate moves, either flip through all pieces and see whether they can capture attacker/ move in between, or flip through the in-between squares and see whether pieces can move there. Now usually b) will be faster. But in some positions when the attacker is far aways from the king and few pieces are left, a) will be faster. I wonder if someone has 2 versions and uses a) or b) depending on the board situation ? It is an insignificant gain in an insignificant function, I know. But still ... Georg
This page took 0.01 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.