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

Check if king move is valid #9

Open
k4pran opened this issue Oct 19, 2018 · 0 comments
Open

Check if king move is valid #9

k4pran opened this issue Oct 19, 2018 · 0 comments
Labels
Difficult Challenging issue

Comments

@k4pran
Copy link
Owner

k4pran commented Oct 19, 2018

https://github.com/ryanmccauley211/Chess-2.0/blob/10380174e7cefce93786f8724e90bd1de910cd0f/src/com/neueda13/Move.java#L5-L38

Game board will include where all pieces are, board size etc. Determine if a move to a given position is valid given the current game board's state and the units position/abilities.

  • Return true if king's move is valid
@k4pran k4pran added the Difficult Challenging issue label Oct 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Difficult Challenging issue
Projects
None yet
Development

No branches or pull requests

1 participant