You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current Behavior:
As of now, there is no user-input validation for the gaming modes in the Number Guessing App. This means that users can input any value, including non-integer or out-of-range values, which may lead to unexpected behavior or errors.
Enhancement Request:
To provide a more user-friendly and robust experience, we propose implementing user input validation for both gaming modes. This validation will ensure that users can only select valid gaming modes (1 or 2) and will provide clear instructions or error messages if they enter invalid input.
Proposed Changes:
When the user is prompted to select a gaming mode, we will validate their input to ensure it is an integer.
If the input is not an integer or if it doesn't match any of the valid gaming modes (1 or 2), the user will be presented with a clear error message.
The user will be prompted to re-enter a valid input, thus preventing unexpected behavior and improving the overall user experience.
Expected Benefits:
Improved user experience by preventing invalid input.
Clear and informative error messages for users who enter incorrect input.
Enhanced robustness of the application by handling user input more gracefully.
The text was updated successfully, but these errors were encountered:
Issue Description:
Current Behavior:
As of now, there is no user-input validation for the gaming modes in the Number Guessing App. This means that users can input any value, including non-integer or out-of-range values, which may lead to unexpected behavior or errors.
Enhancement Request:
To provide a more user-friendly and robust experience, we propose implementing user input validation for both gaming modes. This validation will ensure that users can only select valid gaming modes (1 or 2) and will provide clear instructions or error messages if they enter invalid input.
Proposed Changes:
When the user is prompted to select a gaming mode, we will validate their input to ensure it is an integer.
If the input is not an integer or if it doesn't match any of the valid gaming modes (1 or 2), the user will be presented with a clear error message.
The user will be prompted to re-enter a valid input, thus preventing unexpected behavior and improving the overall user experience.
Expected Benefits:
Improved user experience by preventing invalid input.
Clear and informative error messages for users who enter incorrect input.
Enhanced robustness of the application by handling user input more gracefully.
The text was updated successfully, but these errors were encountered: