Goal
- To create a model to track game sessions
Context
When users play a game they create a new game session. The result of the session is outcome of the game. This outcome contains their score and the result. Games can either be completed with a score or they can be "game over" which means that the player ran out of time and lost the game. Users can, in theory, have multiple sessions per game.
AC
- A game session model is created that belongs to a student and belongs to a game.
- A game session has a score (integer)
Goal
Context
When users play a game they create a new game session. The result of the session is outcome of the game. This outcome contains their score and the result. Games can either be completed with a score or they can be "game over" which means that the player ran out of time and lost the game. Users can, in theory, have multiple sessions per game.
AC