Author: Russell Reagan
Date: 12:26:44 11/19/02
Go up one level in this thread
On November 19, 2002 at 14:56:11, Vincent Diepeveen wrote: >We are now at square sq and want to know whether a complex pattern is >happening. For example: > >if( sq >= 8 && board[sq-8] == bishop && board[sq-7] == rook && ... > >What's your bitboard equivalent here? What are you trying to do exactly? What is "square 8" to you? Are you using 0x88 in this example? A 12x12 board? 16x16? Is square 8 A2, A7, B1, etc. or is it off the board completely?
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.