alexobviously / bishop

A chess logic package for Dart with flexible variant support
https://pub.dev/packages/bishop
Other
19 stars 8 forks source link

Ability to pass turn #21

Closed alexobviously closed 1 year ago

alexobviously commented 1 year ago

This will probably result in Move getting refactored a bit. It would probably be possible just to allow Move.to to be nullable but if we're adding more varied types of moves, I'd prefer to just have Move become an interface and make variations of it. This might also allow for refactoring the makeMove function to make it significantly more readable.

alexobviously commented 1 year ago

Done in #38