Support pseudo-royal pieces
authorFabian Fichter <ianfab@users.noreply.github.com>
Sun, 28 Feb 2021 11:27:27 +0000 (12:27 +0100)
committerFabian Fichter <ianfab@users.noreply.github.com>
Sun, 28 Feb 2021 12:37:04 +0000 (13:37 +0100)
commitde7e7dae4dd651f2bcadc975a031947a5c50e7d8
tree25d83a717db487b9e6e985cb29ef992f32cfa2b9
parent49759288ba831c8716ce771f56a72b5a72eecf84
Support pseudo-royal pieces

This implements support for pseudo-royal pieces,
which allows to now fully support some new variants:
- lichess atomic rules
- coregal chess
- maharajah and the sepoys

Closes #81.

No functional change for other variants.
src/parser.cpp
src/position.cpp
src/position.h
src/variant.cpp
src/variant.h
src/variants.ini
tests/perft.sh