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 2 Wrong answer

  1. Player submits answer to Answered servlet
  2. Answered gets players name from cookie
  3. It next gets the question number of that question
  4. It then gets the answer of that question
  5. A connection to a database is opened
  6. It gets the correct answer for that question
  7. If correct answer doesnt match the users answer the score is zero
  8. A message is generated for that particular score
  9. HTML is processed
  10. The player is presented with this information
  11. Slated is initialised
  12. A connection to a database is opened
  13. All picked questions are returned to Unpicked.