Skip to content

Conversation

@Achi-Vyshnavi
Copy link
Contributor

…put validation

  • Removed global variable score and replaced with return values for better modularity.
  • Fixed typos in questions and answers (e.g., "larget" → "largest").
  • Added input validation to ensure non-empty guesses.
  • Wrapped the game logic in a main() function for reusability.
  • Enhanced feedback messages with clearer prompts and emojis.
  • Overall improvements make the code cleaner, more maintainable, and easier to extend.

…put validation

- Removed global variable `score` and replaced with return values for better modularity.
- Fixed typos in questions and answers (e.g., "larget" → "largest").
- Added input validation to ensure non-empty guesses.
- Wrapped the game logic in a main() function for reusability.
- Enhanced feedback messages with clearer prompts and emojis.
- Overall improvements make the code cleaner, more maintainable, and easier to extend.
@github-actions
Copy link

👋 @Achi-Vyshnavi
Thank you for raising your pull request.
Please make sure you have followed our contributing guidelines. We will review it as soon as possible.

Copy link
Contributor

@iamwatchdogs iamwatchdogs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed and Approved by @iamwatchdogs.

@iamwatchdogs iamwatchdogs merged commit fb7e665 into Grow-with-Open-Source:main Dec 28, 2025
4 checks passed
@github-actions
Copy link

Thank you for contributing @Achi-Vyshnavi. Make sure to check your contribution on GitHub Pages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants