Implement correct Cambodian opening moves (#514)
authorAda Joule <ada.fulmina@gmail.com>
Sat, 17 Sep 2022 13:59:48 +0000 (20:59 +0700)
committerGitHub <noreply@github.com>
Sat, 17 Sep 2022 13:59:48 +0000 (15:59 +0200)
commit685a446cec57e050998fb429a0f788513957cb9d
tree5495eb967e37e4ea2bc56fc9081ebb9c1ea8d3e3
parent6c0ca3a3d9c3b50fb22f4215e184da86cef9dd75
Implement correct Cambodian opening moves (#514)

Article 5, Items 3 and 4
https://docs.google.com/document/d/1adppJ66vonM27UYwC-KyldXl7oZ_5Pb0/edit?usp=sharing&ouid=116281580550740302191&rtpof=true&sd=true

- The king now loses the ability to leap if an enemy rook moves into the
  same rank or file
- The ferz can no longer capture with its leap
src/movegen.cpp
src/position.cpp
test.py
tests/perft.sh