Author: Heiner Marxen
Date: 03:34:32 01/19/01
Go up one level in this thread
>Only one thing I see as practical why saving the moves that lead >to given position, is the taken of pawn "en passant". There you need "previous" >move to know if it pawn should be taken. Ah, I see. But I would not store a cemplete last move, but rather, if and into which column an e.p. may happen just now. That takes 4 bit (9 cases). I have also 4 bits for the castling rights, and one bit for the side to move. Total: 64*4 bit square contents, 4+4+1 Bit extra info. > But probably the best way is just to >recognize position that can end with this kind of taken and never save it on the >first place. That is sometimes the best strategy: avoid the problem altogether ;-) Heiner
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.