Implement Griffon piece type
authorH.G.Muller <hgm@hgm-xboard.(none)>
Sat, 3 Jan 2026 21:46:41 +0000 (22:46 +0100)
committerH.G.Muller <hgm@hgm-xboard.(none)>
Mon, 5 Jan 2026 08:28:25 +0000 (09:28 +0100)
commit15268d82d4d3f59d9b81751321d4511489932001
tree58f9d5054964a807b1762f84026a32c1b1ab3a0d
parent8cb6a88dc7d6bac96ec8c1ad29b5c0dacd896d52
Implement Griffon piece type

Four new RiderTypes are added, using 'tableless magics'. Thai is, they
use the attacks tables of the Rook, but shifted by one file or rank.
The Betza parser in extended to recognize two-leg moves of teh type yafs...,
where yafsF is recognized as the Griffon. It then generates the (fake)
large leap that is used to indicate these type of bent slides, omitting
moves to the first square of the ride. (Because this is what yafsF means).
  Unbent moves of the type yaf... are recognized as lame ski-sliders.
src/bitboard.cpp
src/piece.cpp
src/piece.h
src/types.h