Skip to content

Conversation

@swati-londhe
Copy link

Summary

Improved the Animal Guess Game by enhancing gameplay logic, fixing typos, and adding new interactive features for better user engagement.

Changes

  • Added randomized question selection using Python's random module.
  • Fixed typo: "larget animal" → "largest animal".
  • Replaced global score variable with cleaner function-based structure.
  • Added a "Play Again" option for replaying the game.
  • Improved user experience with emojis, clear instructions, and spacing.
  • Added docstrings and comments for better readability and maintainability.

Benefits

  • Makes the game more dynamic and fun for users.
  • Demonstrates clean coding practices and modular structure.
  • Improves reusability and readability for contributors.

Testing

  • Verified all questions appear in random order each run.
  • Tested scoring and replay functionality manually.

@github-actions
Copy link

github-actions bot commented Nov 1, 2025

👋 @swati-londhe
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.

Please make the requested changes.

Copy link
Contributor

Choose a reason for hiding this comment

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

Please remove the changes made to this file. Each PR should be isolated to one single purpose, and the changes made to this file don't belong here.

You can perform interactive rebasing to remove the commit that contains the changes to this file. And if you use rebasing, your commit history will change, so force-push your changes to this branch.

Important

If you're stuck or unable to do it, please ping @iamwatchdogs in the conversation tab of this PR.

@iamwatchdogs
Copy link
Contributor

Hi @swati-londhe,

Just a friendly reminder: If this PR remains inactive for an extended period, it will be automatically marked as stale and closed. Please try to stay engaged and contribute as needed to ensure your changes are successfully merged.

If you need any help, you can ping @iamwatchdogs in this conversation.

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.

3 participants