'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
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.
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.