Support Sittuyin (Burmese chess)
authorFabian Fichter <ianfab@users.noreply.github.com>
Sun, 4 Nov 2018 16:50:10 +0000 (17:50 +0100)
committerFabian Fichter <ianfab@users.noreply.github.com>
Sun, 4 Nov 2018 16:50:10 +0000 (17:50 +0100)
commitf6d827639a70d87ac1be9a6a5248ceb5877e2653
treea990031354d02f4e79f0944d491587747e29e3eb
parent99e11ae96b3307744de31f1bca5395d945f4403c
Support Sittuyin (Burmese chess)

- Rook drops are limited to back ranks.
- Promotion is allowed on main diagonals within opponent's half
  or when only one pawn is left. The player must not have a general.
- Promoting pawns stay on same square or move like a general.
- Pawn promotions may not capture or give check.
src/bitboard.h
src/endgame.cpp
src/movegen.cpp
src/pawns.cpp
src/position.cpp
src/position.h
src/types.h
src/variant.cpp
src/variant.h
tests/perft.sh