Paladin
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 [2]. While not officially released nor announced, the testing community exploited the publicly available sources from GitHub providing its author with a fait accompli [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].
Forum Posts
- New engine? by Günther Simon, CCC, May 31, 2016
- Re: New engine? by Ankan Banerjee, CCC, July 11, 2016
External Links
Chess Engine
Misc
References
- ↑ Roland receives the sword Durendal from Holy Roman Emperor Charlemagne. From a manuscript of a chanson de geste. Paladin from Wikipedia, Wikimedia Commons
- ↑ chess_cpu/switches.h at master · ankan-ban/chess_cpu · GitHub
- ↑ Re: New engine? by Ankan Banerjee, CCC, July 11, 2016
- ↑ chess_cpu/chess.h at master · ankan-ban/chess_cpu · GitHub
- ↑ chess_cpu/main.cpp at master · ankan-ban/chess_cpu · GitHub
- ↑ chess_cpu/search.cpp at master · ankan-ban/chess_cpu · GitHub
- ↑ The Evaluation of Material Imbalances by Larry Kaufman
- ↑ chess_cpu/eval.cpp at master · ankan-ban/chess_cpu · GitHub