Home * Engines * Paladin
Rolandfealty.jpg

Paladin,
an experimental UCI compliant open source chess engine by Ankan Banerjee, written in C++. Paladin is intended as testbed for various bitboard techniques concerning space-time tradeoff, more or less suited for various architectures, such as GPU friendly Kogge-Stone algorithms versus fancy or even plain magic bitboards to determine sliding piece attacks. Paladin features a set of compile time switches to control the search, to use intrinsics for population count and bitscan, and as mentioned, to determine computation versus lookup techniques [1]. While not officially released nor announced, the testing community exploited the publicly available sources from GitHub providing its author with a fait accompli [2].
Charlemagne and his Paladin [3]

Description

Board Representation

Paladin's board is represented by a dense hexa bitboard suited for a copy-make approach, that is six bitboards for white pieces, pawns, knights, diagonal and orthogonal sliding pieces, and kings. The base ranks of the pawn bitboard are even used to encode game state data such as castling rights, en passant target square and halfmove clock [4].

Search

The search is basic alpha-beta with transposition table inside an iterative deepening loop without aspiration [5] [6], enhanced by adaptive null move pruning, LMR and a few extensions. Move ordering is due to hash move and IID, MVV/LVA and SEE for captures, and killer heuristic and history heuristic otherwise.

Evaluation

Paladin's rudimentary evaluation is based on the simplified evaluation function by Tomasz Michniewski with point values partly taken from Larry Kaufman's material imbalance article [7] [8].

See also


Forum Posts


External Links

Chess Engine

Misc


References

  1. ^ chess_cpu/switches.h at master · ankan-ban/chess_cpu · GitHub
  2. ^ Re: New engine? by Ankan Banerjee, CCC, July 11, 2016
  3. ^ Roland receives the sword Durendal from Holy Roman Emperor Charlemagne. From a manuscript of a chanson de geste. Paladin from Wikipedia, Wikimedia Commons
  4. ^ chess_cpu/chess.h at master · ankan-ban/chess_cpu · GitHub
  5. ^ chess_cpu/main.cpp at master · ankan-ban/chess_cpu · GitHub
  6. ^ chess_cpu/search.cpp at master · ankan-ban/chess_cpu · GitHub
  7. ^ The Evaluation of Material Imbalances by Larry Kaufman
  8. ^ chess_cpu/eval.cpp at master · ankan-ban/chess_cpu · GitHub

What links here?


Up one Level