diff --git a/lib/src/game/game.dart b/lib/src/game/game.dart index b6d49b0..ff6ae70 100644 --- a/lib/src/game/game.dart +++ b/lib/src/game/game.dart @@ -468,7 +468,7 @@ class Game { continue; } // king starting on target - if (j != numMidSqs && board[midSq].isNotEmpty) { + if (j != numMidSqs && from != midSq && board[midSq].isNotEmpty) { // squares between to and from must be empty valid = false; break;