Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Number Guessing By Speaking The Number #2404

Closed
ankit071105 opened this issue Jul 15, 2024 · 2 comments · Fixed by #2453
Closed

Number Guessing By Speaking The Number #2404

ankit071105 opened this issue Jul 15, 2024 · 2 comments · Fixed by #2453
Assignees

Comments

@ankit071105
Copy link
Contributor

ankit071105 commented Jul 15, 2024

The objective of the game is for the player to guess a randomly generated number within a specified range by speaking their guesses. The game provides feedback to help the player narrow down the correct number.
1 Game Initialization:
The game generates a random number within a specified range (e.g., 1 to 100).
The player is prompted to start guessing the number by speaking their guesses.

2 Player Input:
The player speaks a number as their guess.
The game uses speech recognition to convert the spoken number into text.

3 Processing the Guess:
The game compares the player's guess to the randomly generated number.
Based on the comparison, the game provides feedback:
Correct Guess: If the player's guess matches the random number, the game congratulates the player and ends the current round.
Higher/Lower Feedback: If the guess is incorrect, the game informs the player whether the correct number is higher or lower than their guess.
The player continues to guess based on the feedback until they correctly guess the number.

4 Game End and Restart:
Once the player guesses the correct number, they are given the option to play again.
The game resets with a new randomly generated number for the next round.

Features of the Game:

1 Speech Recognition:
The game utilizes speech recognition technology to convert spoken guesses into text.
Ensures that the game is accessible and engaging by allowing hands-free interaction.

2 Range Selection:
Players can choose different difficulty levels by selecting different number ranges (e.g., 1-50, 1-100, 1-200).

3 Feedback System:
Provides real-time feedback on whether the guess is correct, too high, or too low.
Helps players narrow down their guesses efficiently.

4 Score Tracking:
Keeps track of the number of guesses taken by the player to guess the correct number.
Displays the player's score at the end of each round.

5 Voice Feedback:
The game provides voice feedback for a more immersive experience.
Encourages players and guides them through the game with spoken instructions and responses.

6 Multilingual Support:
Supports multiple languages for both speech recognition and voice feedback.
Allows players from different linguistic backgrounds to enjoy the game.

7 User-Friendly Interface:
Simple and intuitive interface designed for easy navigation.
Clear instructions and visual cues to assist players.

8 Play Again Option:
After guessing the correct number, players can choose to play again with a new number.
Option to adjust the difficulty level for the next round.

Example Scenario:
The game generates a random number between 1 and 100.
The player starts guessing by saying, "50."
The game responds with, "The number is higher."
The player then guesses, "75."
The game responds with, "The number is lower."
The player guesses, "63."
The game responds with, "Congratulations! You guessed the correct number."
The player is given the option to play again or choose a different difficulty level.
This game combines the fun of traditional number guessing games with modern speech recognition technology, providing an engaging and interactive experience for players.

Screenshots :-

Screenshot 2024-07-15 at 8 22 53 PM

I want to add this to Your Projects . I request you to assigned me this

Copy link

Thank you for creating this issue! 🎉 We'll look into it as soon as possible. In the meantime, please make sure to provide all the necessary details and context. If you have any questions or additional information, feel free to add them here. Your contributions are highly appreciated! 😊

You can also check our CONTRIBUTING.md for guidelines on contributing to this project.

Copy link

Hello @ankit071105! Your issue #2404 has been closed. Thank you for your contribution!

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