Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add extra Move types #9

Closed
benwh1 opened this issue Apr 14, 2023 · 1 comment
Closed

Add extra Move types #9

benwh1 opened this issue Apr 14, 2023 · 1 comment

Comments

@benwh1
Copy link
Owner

benwh1 commented Apr 14, 2023

PieceMove to represent a numbered piece being moved
PositionMove to represent an (x, y) position being moved

also add an IntoMove trait to convert them to regular Moves (can't use Into because it needs to take a puzzle state as a parameter)

@benwh1
Copy link
Owner Author

benwh1 commented Jun 2, 2023

a6ff18e

@benwh1 benwh1 closed this as completed Jun 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant