-
Notifications
You must be signed in to change notification settings - Fork 2
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
Create a function that returns a list of available pawn moves #1
Comments
This was proving to be a little more difficult than I first expected. Not sure if my first approach was not best or if I should update my data structures. Going to look into another approach for now |
My next approach is going to be to put more information in the tile and remove some from the Piece. Tile will remain the same but the Status will contain more information (if the tile has a light or dark piece, if the tile is empty, if the type is available for a piece to move to etc) I will be able to update a tiles status to available if a piece can move to it. This should help remove some of the more complex logic that was building up in my first approach. |
…a tile rather than a separate list #1
The text was updated successfully, but these errors were encountered: