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

Update a user's play count for a game #2

Open
RyanFrantz opened this issue May 31, 2022 · 0 comments
Open

Update a user's play count for a game #2

RyanFrantz opened this issue May 31, 2022 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@RyanFrantz
Copy link
Contributor

RyanFrantz commented May 31, 2022

As a user, I want to be able to record the number of times I played a particular game.

Acceptance Criteria:

  • Get current game counts for a user curl localhost:8080/user/1/games
  • Update the count for one of the games: curl -X POST localhost:8080/user/1/games/train-of-thought (see 2nd implementation note)
  • See that the play count has increased by 1 curl localhost:8080/user/1/games

Implementation Notes:

  • Should have basic validation (e.g. the given game slug exists, etc)
  • The final route and payload to POST to is up to the implementer (and we will update the Acceptance Criteria to match)
  • Authentication is not in-scope for this story
@RyanFrantz RyanFrantz added enhancement New feature or request good first issue Good for newcomers labels May 31, 2022
@kastner kastner changed the title Add support for updating user game play information Update a user's play count for a game Jun 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant