Use Cases

Use Cases

Description

Tutorial
Actors User
Description The tutorial is shown to the user
Data Information about the tutorial, if it has been completed or skipped
Stimulus The game is opened for the first time
Response A page where information about the game is presented to the player, is possible to go to the next explanation or skip the tutorial entirely
Comments This is possible to visualize only the first time the game is opened, other times the game will start from the main menu
Game settings
Actors User
Description The settings page is displayed
Data None
Stimulus The "SETTINGS" button is pressed
Response A page where it can be possible to set music and effects volume is displayed
Comments None
Adjust music volume
Actors User, computer
Description The user is able to adjust the music volume
Data Information needed to change the volume
Stimulus The music volume bar is moved
Response The music volume increases or decreases
Comments None
Adjust sound effects volume
Actors User, computer
Description The user is able to adjust the sound effects volume
Data Information needed to change the volume
Stimulus The sound effects volume bar is moved
Response The sound effects volume increases or decreases
Comments None
Select configuration
Actors User
Description The game provides a set of 40 levels that can be selected. The different configuration are stored in an internal file
Data The level configuration selected by the user
Stimulus The "CHOOSE CONFIGURATION" button is pressed
Response A list of the 40 levels will appear and the user can choose one
Comments None
New game
Actors User
Description A new game starts choosing randomly from the 40 configuration
Data The configuration randomly selected by the game
Stimulus The "NEW GAME" button is pressed
Response A configuration is selected randomly between the 40 provided and the puzzle starts
Comments None
Load game
Actors User, local storage file
Description The user will be able to load a saved game and can delete the savings from the list
Data The state of the game that was previously saved
Stimulus The "LOAD GAME" button is pressed
Response The list of all the available saves will appear
Comments If no game is saved, it is not possible to load a game
Exit game
Actors User
Description The puzzle can obviously be closed
Data None
Stimulus The "EXIT GAME" button is pressed
Response The game shuts down
Comments None
Save game
Actors User, local storage file
Description During a game the state can be saved in a local file. The saving can be named as the user wants.
Data The state of the game is saved in the local file
Stimulus The "SAVE GAME" button, during a game, is pressed
Response The state of the game is saved in a file and named as the user like
Comments The saved game will appear in the list when the user wants to load a game
Move blocks
Actors User
Description The user, when starts a game, can move the blocks in order to solve the puzzle
Data None
Stimulus After selecting the block with the mouse it can be moved using the keyboard or the mouse
Response The selected block moves and the action is saved in a stack
Comments The block won't move if it is surrounded by other blocks
Next best action
Actors User
Description This functionality will simplify the puzzle to the user moving a determined block
Data None
Stimulus The "NEXT MOVE" button is pressed during the game
Response An algorithm will process the state of the game and a block will be moved in order to facilitate the puzzle to the user
Comments When always clicking the "NEXT MOVE" button the puzzle will be solved
Undo action
Actors User
Description The game gives the possibility to undo the move just taken
Data None
Stimulus The "UNDO" button is pressed during the game
Response The move just taken is undone by extracting the last item on the stack
Comments When always clicking the "UNDO" button the puzzle will be reset to the beginning
Reset setup
Actors User
Description The game restarts from the beginning
Data None
Stimulus The "RESET" button is pressed during the game
Response The game will restart from the beginning
Comments None
Moves counter
Actors User
Description The puzzle has a counter that will keep track of the moves token during the game
Data None
Stimulus An action is taken by the user
Response The counter move will be updated
Comments The counter can't be a negative number

Made with ❤️ by The Plagiarizers.