[go: up one dir, main page]

0% found this document useful (0 votes)
71 views8 pages

Subject:: A Quiz Game

The document describes a quiz game with multiple levels and themes. It includes use case diagrams for starting the game, playing the quiz, selecting difficulty level, generating questions, selecting a theme, and viewing results. The diagrams show the interactions between the player and system for each use case, including alternatives and exceptions.

Uploaded by

waed45
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
71 views8 pages

Subject:: A Quiz Game

The document describes a quiz game with multiple levels and themes. It includes use case diagrams for starting the game, playing the quiz, selecting difficulty level, generating questions, selecting a theme, and viewing results. The diagrams show the interactions between the player and system for each use case, including alternatives and exceptions.

Uploaded by

waed45
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

Nom et Prenom: chihaoui waed // aymen ghrissi

Subject :a quiz game

Description:
I'am developing a quiz
game with multiple levels and
themes.
1-Use case diagram
2-Analyze
Use case : start

Description : ask a question to start the game

Actors : player

Precondition :

Main Scenario :

Player System
0-Player register 2- the system validate it
1-the player picks one choice “yes “ or “no” 3- the system displays the Difficulty
4-use case ends

Alternative :
1- Missing answer the question
2- The system promts for answer
3a Invalid answer
1- The system displays ‘’invalid‘‘ message
2- The system prompts for choice
3- Use case resumes at main Scenario step1

Exceptional : the use case ‘Start’ fails , the system repeats the use case

Case diagrame start


Use case :quiz game

Description : ask a question to start the game


Actors : player
Precondition : the player has already started the game

Main Scenario :

Player System
2-player picks choice 1- The system displays the question
3- the system displays next question
4- use case ends

Alternative :
3- Missing answer the question
4- The system promts for answer
3a Invalid answer
2- The system displays ‘’invalid‘‘ message
3- The system prompts for choice
4- Use case resumes at main Scenario step1

Exceptional : the use case ‘playquiz’ fails , the system repeats the use case
Use case : Difficulty

Description : allons the player to select the game difficulty


Actors : player
Precondition : the player has already started the game

Main Scenario :

Player System
1-the player picks one choice 2- the system validate it
“normal“,“medium” or “hard” 3- the system displays the theme
4-use case ends

Alternative :
1- Missing choice
2- The system promts for choice
3a Invalid choice
1- The system displays ‘’invalid‘‘ message
2- The system prompts for choice
3- Use case resumes at main Scenario step1

Exceptional : the use case ‘Difficulty‘ fails , the system repeats the use case

Case diargram difficulty


Use case : generate the question
Description : allons the admin to select the game difficulty generate the question
Actors : player
Precondition : the player has already started the game

Main Scenario :

Player System
1- the system load the question

Alternative :
Exceptional : the use case ‘Difficulty‘ fails , the system repeats the use case

Case diagram generate the question


Use case : Theme

Description : allons the player to select a theme to play


Actors : Player
Precondition : the player has already picked a difficulty

Main Scenario :

Player System
1-the player picks one choice “theme1”,”
theme2” 2- the system validate it
3- the system displays the game
4-use case ends

Alternative :
1- Missing choice
2- The system promts for answer
3a Invalid choice
1- The system displays ‘’invalid‘‘ message
2- The system prompts for choice
3- Use case resumes at main Scenario step1

Exceptional : the use case ‘Theme’ fails , the system repeats the use case

Case diagram theme


Use case : Result

Description : allons the player view his result and score


Actors : Player
Precondition : the player has already finished the level

Main Scenario :

Player System
1- the system displays the Result
2-use case ends

Alternative :
Exceptional : the use case ‘score’ fails , the system repeats the use case

Case diagram result

You might also like