JeffinsonDarmawan / pe

0 stars 0 forks source link

Programme is stuck when incorrect input is typed for hangman #5

Open JeffinsonDarmawan opened 2 months ago

JeffinsonDarmawan commented 2 months ago

image.png

image.png

Suppose a user accidentally types an input with a typo. In this case, I typed "fruit" which is a wrong input, since the programme is expecting "fruits". The error is thrown correctly, as it does not identify "fruit". However, the next time I type the correct input "fruits", the programme is stuck and I cannot continue. This also happens for not only fruits, but for countries, sports and animals as well.

nus-se-script commented 2 months ago

Team's Response

No details provided by team.

The 'Original' Bug

[The team marked this bug as a duplicate of the following bug]

Hangman: Selection of a correct category fails if you enter incorrect categories or 'guide' beforehand

Selection of a correct hangman category fails if you enter incorrect categories or 'guide' beforehand. The CLI is just left hanging, and you must quit to fix this.

image.png

image.png

image.png

image.png

I have rated this as a high severity functionality flaw as accidental incorrect category entry e.g., see photo where I misspell 'animals' category is very possible but this will cause subsequent correct category entry to be left hanging.


[original: nus-cs2113-AY2324S2/pe-interim#2101] [original labels: type.FunctionalityBug severity.High]

Their Response to the 'Original' Bug

[This is the team's response to the above 'original' bug]

No details provided by team.

Items for the Tester to Verify

:question: Issue duplicate status

Team chose to mark this issue as a duplicate of another issue (as explained in the Team's response above)

Reason for disagreement: [replace this with your explanation]