chesskit-app / chesskit-swift

♟️ Swift package for implementing chess logic.
MIT License
7 stars 6 forks source link

Explore conforming `MoveTree` to official Swift collection types #23

Closed pdil closed 2 weeks ago

pdil commented 1 month ago

I think there is potential to implement MoveTree as a BidirectionalCollection and possibly a RandomAccessCollection.

This would allow for behavior that is more predictable and expected of data structures in Swift.