Use-Case: Play game
- Player
starts game
- Game
initializes resources
- While
player is alive
- Player
can move right, left, speed up, or slow down
- If
player and enemy are in the same position, player “falls”
- Game
reports player out of time, or player finishes level
Use-Case: Player moves right/left
- Player
hits the key to move
- Game
changes attributes to put player in new position if player can be there
- Otherwise
player stays in same position
Use Cases for Future Updates:
Use-Case: Player gets upgrade of longboard
- Player
runs over item (doesn’t die)
- Player
max speed increases
- Player
attributes updated so that you can only have one upgrade at a time
Use-Case: Player gets upgrade or shortboard
- Player
runs over item (doesn’t die)
- Player’s
jump size increases
Player attributes updated so that you can only have one
upgrade at a time
Use-Case: Select game level
- Player
starts game but doesn’t want to start at beginning
- Player
clicks button skip to level/ uses a menu option
- Game
loads a new level
- Player starts game