Author: Robert Hyatt
Date: 19:35:53 09/16/01
Go up one level in this thread
On September 16, 2001 at 12:24:56, Alvaro Jose Povoa Cardoso wrote: >Could someone (namely Dr Hyatt) please describe in detail the packed move format >used in crafty? > >As some of you might know I've been programming checkers (portuguese/spanish). >Only now I'm getting into chess, so please forgive this amateur question. > > >Thank you, >Alvaro Cardoso 5 fields... rightmost 6 bits = from square next 6 bits = to square (0-63, 0=a1, 63=h8) next 3 bits are moving piece. next 3 bits are captured piece. next 3 bits are promotion piece for pieces, pawn=1, knight=2, king=3, bishop=5, rook=6, queen=7 Is that enough info?? Bob
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.