Pawn moves

This commit is contained in:
cdricms
2024-07-01 17:18:10 +02:00
parent cf42721235
commit 8335db5888
6 changed files with 62 additions and 10 deletions

View File

@@ -85,7 +85,6 @@ public class Piece: Hashable {
if let p = s.piece {
if p.color == color { return false }
if let king = p as? King {
#warning("It could be in check or behind another piece.")
delegate?.notify(.kingInCheck(self, on: king))
return false
}