swanjln / Quiz_game-Swan_Joulin-CDOF4

3 stars 2 forks source link

Handling Out-of-Bounds Answers and Category 24 #6

Open swanjln opened 7 months ago

swanjln commented 7 months ago

Description

Currently, there's an issue where if a player enters a value outside the bounds of the provided answers, the program crashes. To enhance the user experience and prevent such crashes, it would be beneficial to implement error handling that displays a message like "Inexistant answer" when an invalid value is entered. Additionally, there is an observation that the category 24 (cartoons) on difficulty 'medium' does not have any questions stored.

Suggested Enhancement

Benefits

These enhancements will contribute to a smoother and more user-friendly experience in the game. Your attention to these matters is greatly appreciated.

swanjln commented 7 months ago

Thanks to @louis-mtyr for those suggestions! 😊