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

Introduce win conditions #24

Open
2 tasks
howard-bailey opened this issue Jul 30, 2020 · 0 comments
Open
2 tasks

Introduce win conditions #24

howard-bailey opened this issue Jul 30, 2020 · 0 comments

Comments

@howard-bailey
Copy link

howard-bailey commented Jul 30, 2020

  • The attack endpoint must check that both players own at least one tile, if they don't update a status on the board to 'game over'.
  • The get board endpoint must include the board status in the json.
{
 boardInfo:  {
  status: 'game-over'
  ...
 }
 ...
}

The valid statuses are: pre-game, playing, game-over

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