Consider custom pieces in insufficient material
authorFabian Fichter <ianfab@users.noreply.github.com>
Sat, 1 May 2021 19:24:58 +0000 (21:24 +0200)
committerFabian Fichter <ianfab@users.noreply.github.com>
Sat, 1 May 2021 19:24:58 +0000 (21:24 +0200)
commitd2c8485cf7f20ebe49aedec481f727bc4b267bfe
treef01dfd020d1be6926af272f9caf5edbb0ecc8014
parent381672f217b051c71f2853d01ac1d5b0c9dc3788
Consider custom pieces in insufficient material

Consider all custom pieces to have mating potential
in order to avoid false positive insufficient material calls.

Temporary solution for #294.
src/apiutil.h
src/variant.cpp
test.py