Author: Dann Corbit
Date: 17:12:48 06/04/99
From Thomas F. Mooney, III: The size of our representation is 192 bits = 24 bytes. First 64 bits, one bit per square, 0=empty, 1=occupied in EPD/FEN sequence a8,b8,...a7,b7.... Last 128 bits, 4 bits per pawn/piece, positionally in EPD/FEN sequence. Unused bits always zero. Pawn/piece bit patterns as follows: '0000' - black king '1000' - white king (white to move) '1111' - white king (black to move) '0001' - black queen '1001' - white queen '0010' - black rook '1010' - white rook '0011' - black rook (may castle) '1011' - white rook (may castle) '0100' - black knight '1100' - white knight '0101' - black bishop '1110' - white bishop '0110' - black pawn '1110' - white pawn '0111' - en passant pawn
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.