Author: Steve Maughan
Date: 07:10:11 12/29/00
Go up one level in this thread
Bob, >Test it. This is what I do. Since the initial post I've tried to get a "IsLegal" function working and it seems to be cheaper than I expected. I'll try and do a full legality check. >Make sure the moving piece is on the from >square, the captured piece is on the to square, and you should be ok. I don't >generate moves until I have tried the hash move, then I generate just captures >and try the good ones, then I do the same trick and try killers before I try to >generate the non-captures. And I have to test them for legality as well... Aha Killer's too! Yes that's a good idea. Thanks again! Steve
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.