Refactor capture the flag implementation
authorFabian Fichter <ianfab@users.noreply.github.com>
Sat, 22 Apr 2023 14:17:31 +0000 (16:17 +0200)
committerFabian Fichter <ianfab@users.noreply.github.com>
Sat, 22 Apr 2023 15:00:50 +0000 (17:00 +0200)
commit3eea0e9ec3e716e304f44558c4911176d0e053e5
tree7eece4015f47f4051459186fd2b1d326eac9b67b
parent6a22e430864906b6f2beac77a51433809c6fdc01
Refactor capture the flag implementation

Simplify and generalize implementation to support color-specific
flag pieces as well as allowing all pieces to be eligible.
src/apiutil.h
src/evaluate.cpp
src/nnue/features/half_ka_v2_variants.cpp
src/parser.cpp
src/position.cpp
src/position.h
src/search.cpp
src/variant.cpp
src/variant.h
src/variants.ini
tests/perft.sh