Prohibit attacks by sittuyin promotion
authorFabian Fichter <ianfab@users.noreply.github.com>
Fri, 24 Apr 2020 17:56:53 +0000 (19:56 +0200)
committerFabian Fichter <ianfab@users.noreply.github.com>
Fri, 24 Apr 2020 17:56:53 +0000 (19:56 +0200)
commitc55fea65e56223b0ce446661b5bc0043c90cea19
tree35f7625d4d68ee61da8cb5779e671d9cbd20468b
parent4eb0cf4807e88abaac47a6eae7962f54478a5db2
Prohibit attacks by sittuyin promotion

Fix interpretation of rule 3.9 c.4 that does not allow captures and attacks
by the general as part of promotion moves.

Closes #14.
src/movegen.cpp
tests/perft.sh