Partial support for shogi variants
authorianfab <ianfab@users.noreply.github.com>
Sat, 21 Jul 2018 15:25:57 +0000 (17:25 +0200)
committerianfab <ianfab@users.noreply.github.com>
Sat, 21 Jul 2018 15:39:48 +0000 (17:39 +0200)
commit8dd358b03493571f28307f4972d01c3a6498815c
tree6513340c33ef1ec52c4393cb14264043a5e42433
parenta796e3be17c9910633063f15947872fa633c624c
Partial support for shogi variants

Support minishogi and euroshogi with the limitation that the position
must be sent via "position startpos moves ..." and not using an FEN.

Limitations:
- FENs with promoted pieces do not work.
- Mates by pawn drops are not recognized to be losing.

bench: 4604661
src/bitboard.cpp
src/bitboard.h
src/movegen.cpp
src/position.cpp
src/position.h
src/psqt.cpp
src/types.h
src/uci.cpp
src/variant.cpp
src/variant.h