]> git.lizzy.rs Git - xdecor.git/commit
Chess: Fix queen-side castling
authorDamian Hofmann <femtobit@users.noreply.github.com>
Sun, 7 Jun 2020 02:01:48 +0000 (04:01 +0200)
committerJean-Patrick Guerrero <kilbith@users.noreply.github.com>
Wed, 24 Jun 2020 16:31:30 +0000 (18:31 +0200)
commit16adad0cd7a0e5ca685bd80a0f0cfafcc2fb0011
treea54430f5781fdfe9182efa4c114266b4e650365a
parentd86848863369a5e34f5c85e503d45a014f32ff5e
Chess: Fix queen-side castling

When castling queen side, the king moves two squares to the left,
not three as this implementation used previously.

This resolves issue #120.
src/chess.lua