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

[New game]: Number Guessing by speaking the Number #4860

Closed
1 task done
ankit071105 opened this issue Jul 15, 2024 · 4 comments
Closed
1 task done

[New game]: Number Guessing by speaking the Number #4860

ankit071105 opened this issue Jul 15, 2024 · 4 comments
Labels
level3 Adding new features New Game 🎮 This is the label that will be used on issues that are raising new game issue

Comments

@ankit071105
Copy link

🎮 Game Request

Objective:
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.

Game Flow:
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.

5 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 23 02 PM
Screenshot 2024-07-15 at 8 22 53 PM

Point down the features

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.

Select program in which you are contributing

IWOC2024, GSSoC24, hacktoberfest, Other

Code of Conduct

@kunjgit
Copy link
Owner

kunjgit commented Jul 15, 2024

Hey @ankit071105 , You can't have another issue before completing the previous one 😀
you already have the following 1 open issues 👀 ! :

#4845

@kunjgit kunjgit closed this as completed Jul 15, 2024
@kunjgit kunjgit added level3 Adding new features New Game 🎮 This is the label that will be used on issues that are raising new game issue labels Jul 15, 2024
@kunjgit
Copy link
Owner

kunjgit commented Jul 15, 2024

Hey @ankit071105 ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇

@kunjgit
Copy link
Owner

kunjgit commented Jul 15, 2024

Hey @ankit071105 !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹️

@ankit071105
Copy link
Author

#4860 Assigned

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
level3 Adding new features New Game 🎮 This is the label that will be used on issues that are raising new game issue
Projects
None yet
Development

No branches or pull requests

2 participants