webtjs / pe

0 stars 0 forks source link

Hangman category can cause program to stop working #2

Open webtjs opened 2 months ago

webtjs commented 2 months ago

If a non-valid category is first entered before a valid category, the program stops working and only the stats and quit commands can be used. User has to relaunch the program to get the games working again.

Valid category entered first, hangman game works

image.png

Non-valid category entered first followed by a valid category, program stops working

image.png

nus-se-bot 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]