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

Prevent ships from moving or firing when it is not their turn #10

Open
vingkan opened this issue Mar 9, 2018 · 0 comments
Open

Prevent ships from moving or firing when it is not their turn #10

vingkan opened this issue Mar 9, 2018 · 0 comments

Comments

@vingkan
Copy link
Contributor

vingkan commented Mar 9, 2018

Even if a student makes their doTurn() method public, if the Arena class can keep track of which ship's turn it is, it can prevent other ships from getting free moves by preventing them from firing or moving. Any other turn behavior is not high priority to prevent.

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