APZH / pe

0 stars 0 forks source link

'start' command allows users re-enter the game difficulty parameter if the user enters a non-integer input, but kicks user out of the 'start' command if the user enters a integer but it is not valid #3

Open APZH opened 2 years ago

APZH commented 2 years ago

image.png

When I type the string 'letters' when executing the start command, the program does not terminate the command and allows me to re-enter my input. However, when I try to enter an invalid integer like 0, it does produce a suitable error but it kicks me out of the command, requiring me to re-enter the 'start' command again.

The invalid integer for the game difficulty should be handled gracefully like how it does when handling a non-integer input. by allowing users to retype their input again without having to retype the command.

nus-se-script commented 2 years ago

Team's Response

Hi, thank you for your advice!!

Items for the Tester to Verify

:question: Issue severity

Team chose [severity.Low] Originally [severity.Medium]

Reason for disagreement: [replace this with your explanation]