Lots of changes
This commit is contained in:
@@ -1,5 +1,14 @@
|
||||
import Engine
|
||||
|
||||
let board = Board(fen: .init(fen: "rnbqkb1r/pppppppp/2n5/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1"))
|
||||
let board = Board(
|
||||
fen: .init(
|
||||
fen: "rnbqkb1r/pppppppp/2n5/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1"))
|
||||
// let board: Board = .init()
|
||||
print(board)
|
||||
print(board)
|
||||
|
||||
// Execute every time the timer changes
|
||||
// board.on(.timer) { time in
|
||||
|
||||
// }
|
||||
|
||||
// let square = board.getSquareInfo(on: .init(rank: 2, file: 7))
|
||||
|
||||
Reference in New Issue
Block a user