lichess-org / lila

♞ lichess.org: the forever free, adless and open source chess server ♞
https://lichess.org
GNU Affero General Public License v3.0
15.5k stars 2.26k forks source link

atomic chess selfmate #220

Closed ornicar closed 9 years ago

ornicar commented 9 years ago

should it be disallowed?

reported on http://en.lichess.org/forum/lichess-feedback/atomic-chess-beta#4

ornicar commented 9 years ago

the problem is that the winner is the one who loses his king.

Happy0 commented 9 years ago

It should be disallowed, going by the rule set we are using (however, certain variations of atomic chess do allow it.)

I've submitted a fix to scalachess with a unit test but I'm not able to verify it manually since my local UI setup is broken at the moment.

Should be fixed by: https://github.com/ornicar/scalachess/commit/6765296754a4f2c5bfe0d18f59d19c952c34d110