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

Server-side validation of Battleship placements #18

Closed
1 task
shtwzrd opened this issue Sep 4, 2015 · 0 comments
Closed
1 task

Server-side validation of Battleship placements #18

shtwzrd opened this issue Sep 4, 2015 · 0 comments
Assignees

Comments

@shtwzrd
Copy link
Owner

shtwzrd commented Sep 4, 2015

When the client has finished placing their ships onto the board, the configuration of ships should be POSTed to the server (via /session//placement or similar), and the server should return HTTP Status Code 200 if it's valid or 400 if invalid.

If the configuration is valid, the server's gamestate should be updated accordingly.

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

2 participants