Author: Kim Roper Jensen
Date: 11:46:45 02/06/04
Go up one level in this thread
On February 06, 2004 at 14:26:52, Matthias Gemuh wrote:
>On February 06, 2004 at 13:36:57, Kim Roper Jensen wrote:
>
>>On February 06, 2004 at 13:21:26, William H Rogers wrote:
>>
>>>On February 06, 2004 at 13:15:16, Russell Reagan wrote:
>>>
>>>>On February 06, 2004 at 12:19:47, Michael Yee wrote:
>>>>
>>>>>Hi,
>>>>>
>>>>>I searched the web, but had no luck finding a description of this technique.
>>>>>Would anyone mind giving a quick explanation?
>>>>
>>>>I've heard mailbox used for two slightly different approaches. One is the way
>>>>TSCP does its 'mailbox' thing, and the other is just using border squares around
>>>>the edge of the board, like this:
>>>>
>>>>int board[144] = {
>>>> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
>>>> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
>>>> 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0,
>>>> 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0,
>>>> 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0,
>>>> 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0,
>>>> 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0,
>>>> 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0,
>>>> 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0,
>>>> 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0,
>>>> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
>>>> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
>>>>};
>>>>
>>>>Then if (board[i] == 0), you ran off the board. Maybe this is equivalent to what
>>>>TSCP does. I haven't looked that closely.
>>>Mail box show where a piece can move, ie. a bishop, rook, etc.
>>>What you posted about is just the basic chess board layout used for most games,
>>>however the extreme left hand and right hand lines of zeros are not needed.
>>>Bill
>>
>>generating knight moves in the corner makes the zero's needed or else there
>>would be some wraparound ...
>>
>>/kim
>
>
>
>wraparound ? That too would land on a zero, so 120 squares are enough.
Yep, it dawned on me after pressing the submit key ......
lesson learned : dont watch tv and reply at the same time :)
/kim
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.