dpedley / swift-chess

Chess represented in swift
https://github.com/dpedley/swift-chess
MIT License
35 stars 7 forks source link

Named positions and moves #5

Closed dpedley closed 3 years ago

dpedley commented 3 years ago

Chess.Position.a1 (and the rest) are static representations for easy use. Chess.Move.white.e2.e4 (and the other combinations) are the same for named Moves.