2.2.2 Package Feedback
2.2.2.3.3 Sequence Diagrams for Feedback.
Scenario 1 Right answer
Scenario 2 Wrong answer
Scenario 3 All questions are answered (Game over)
Scenario 3 All questions are answered (Game over)
Player submits answer to Answered servlet
Answered gets players name from cookie
It next gets the question number of that question
It then gets the answer of that question
A connection to a database is opened
It gets the correct answer for that question
It calculates the score if answer is right
Create new player form.
If player’s answer is correct their score is entered into a database
A connection to a database is opened
The players new score is entered into the database
A message is generated for that particular score
The score is then assigned a value of zero
A Slated object is generated
A connection to a database is opened
All picked questions that were picked are returned to unpicked
HTML is processed
The player is presented with this information