Added commands to execute interactively

This commit is contained in:
cdricms
2024-06-29 20:32:40 +02:00
parent 90f2988a14
commit 533322c5dd
4 changed files with 167 additions and 34 deletions

View File

@@ -2,7 +2,7 @@ final class King: Piece {
typealias Threats = (Piece?, Piece?)
var threats: Threats = (nil, nil)
override var unicodeRepresentation: String {
return color == .Black ? "" : ""
return color == .Black ? "" : ""
}
override var pseudoLegalPositions: [Square.Position] {