Gullydeckel

From Chessprogramming wiki
Jump to: navigation, search

Home * Engines * Gullydeckel

Gullydeckel, (Gullydeckel2, Gully)
a Chess Engine Communication Protocol (CEPT) compliant open source engine under the GNU General Public License by Martin Borriss, written in C. A first version, Gullydeckel 1, has been developed in 1994/1995. Gullydeckel 2 was written mainly in 1996, while Windows 32 support, analysis, pondering, WinBoard protocol version 2 aka CEPT and ChessBase GUI compatibility was finally realized in 2002/2003 [2]. Beside Windows, supported platform is Linux.

Features

Board Representation

Search

Evaluation

0x88 Difference

The pre-initialized static int vector[256] in "attacks.c" [3] with ray directions encoded, which is indexed by 0x88 square difference plus offset, somehow reminds on a Gullydeckel, the colloquial German name for Manhole cover [4]:

/*
if we find that two squares are related according to matrix SqRel,
we use another matrix to look up the direction of the move required
('to walk the vector') if it is a sliding piece (R,B,Q)
*/

static int vector[256] = {
   0  ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,UR,0 ,0 ,0 ,0 ,0 ,0 ,
   UP ,0 ,0 ,0 ,0 ,0 ,0 ,UL,0 ,0 ,UR,0 ,0 ,0 ,0 ,0 ,
   UP ,0 ,0 ,0 ,0 ,0 ,UL,0 ,0 ,0 ,0 ,UR,0 ,0 ,0 ,0 ,
   UP ,0 ,0 ,0 ,0 ,UL,0 ,0 ,0 ,0 ,0 ,0 ,UR,0 ,0 ,0 ,
   UP ,0 ,0 ,0 ,UL,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,UR,0 ,0 ,
   UP ,0 ,0 ,UL,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,UR,0 ,
   UP ,0 ,UL,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,UR,
   UP ,UL,0 ,0 ,0 ,0 ,0 ,0 ,0 ,RI,RI,RI,RI,RI,RI,RI,
   0  ,LE,LE,LE,LE,LE,LE,LE,0 ,0 ,0 ,0 ,0 ,0 ,0 ,DR,
   DN ,DL,0 ,0 ,0 ,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