Changes

Jump to: navigation, search

Bitboard-Chess

339 bytes added, 13:57, 24 July 2021
no edit summary
a [[WinBoard]] compliant, didactic [[:Category:Open Source|open source chess program]] by [[Bill Jordan]], written in [[Cpp|C++]] and licensed under the [[Free Software Foundation#GPL|GPL version 3]].
Bitboard-Chess is designed to show how a chess engine might work, quite similar to [[Bills Bare Bones Chess]] aka '''Basic-Chess''', but using [[Bitboards|bitboards]] <ref>[https://github.com/billjordanchess/Bitboard-Chess GitHub - billjordanchess/Bitboard-Chess: Simple C++ chess playing program which uses bitboards]</ref>.
[[Bitboard Serialization|Bitboard serialization]] is done via [[Matt Taylor|Matt Taylor's]] [[BitScan#MattTaylorsFoldingtrick|folded BitScan]]<ref>[https://github.com/billjordanchess/Bitboard-Chess/blob/master/bitboard.cpp#L362 Bitboard-Chess/bitboard.cpp at master · billjordanchess/Bitboard-Chess · GitHub]</ref>,
but [[Move Generation|move generation]] of [[Sliding Pieces|sliding pieces]] is done in [[Mailbox|mailbox]] manner
iterating over [[Direction#RayDirections|ray directions]] and pre-calculated [[Target Square|target squares]]<ref>[https://github.com/billjordanchess/Bitboard-Chess/blob/master/gen.cpp#L94 Bitboard-Chess/gen.cpp at master · billjordanchess/Bitboard-Chess · GitHub]</ref>.
=Features=

Navigation menu