Implement Variant::freeDrops (#486)
authorkz04px <6536046+kz04px@users.noreply.github.com>
Tue, 24 May 2022 21:58:22 +0000 (22:58 +0100)
committerGitHub <noreply@github.com>
Tue, 24 May 2022 21:58:22 +0000 (23:58 +0200)
commitc78a566635f798e0ee602cf708e975aee652a5ed
tree8e08f790a0fe58e9c4a67594895c5d646b1c9706
parent96ecceb1bd4dfaf018741eb5c2dfc3610d7ac10b
Implement Variant::freeDrops (#486)

For some games like Ataxx and Othello, specifying the pieces in hand is unnecessary. Setting freeDrops to true removes this from the FEN string.
src/movegen.cpp
src/position.cpp
src/position.h
src/variant.cpp
src/variant.h
tests/perft.sh