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

Start and end a round when player selects to play again #74

Closed
4 tasks
emaela opened this issue Nov 30, 2021 · 0 comments · Fixed by #108
Closed
4 tasks

Start and end a round when player selects to play again #74

emaela opened this issue Nov 30, 2021 · 0 comments · Fixed by #108

Comments

@emaela
Copy link
Collaborator

emaela commented Nov 30, 2021

Entering the game screen should trigger a new session to be created, and exiting the game screen should trigger the current session to end.

Specs:

  • When a player first enters the game screen, a new round should be created and added to the current session with a start timestamp and list of word pairs.
  • When a player presses 'done', the current round should be ended with an end timestamp and list of matches.
  • When a player presses 'play again', a new round should be created and added to the current session with a start timestamp and list of word pairs.
  • When a player presses 'end session', the current round should be ended with an end timestamp and list of matches.

Backend brainstorm for reference on schemas.

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

Successfully merging a pull request may close this issue.

1 participant