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]: Go Fish #4280

Closed
1 task done
pani2004 opened this issue Jun 6, 2024 · 5 comments · Fixed by #4290
Closed
1 task done

[New game]: Go Fish #4280

pani2004 opened this issue Jun 6, 2024 · 5 comments · Fixed by #4290
Assignees
Labels
level3 Adding new features New Game 🎮 This is the label that will be used on issues that are raising new game issue

Comments

@pani2004
Copy link
Contributor

pani2004 commented Jun 6, 2024

🎮 Game Request

Go Fish is a classic card game , The objective of the game is to collect as many pairs of cards as possible. Players take turns asking each other for specific cards to match the ones they already have in their hand. If the opponent has the requested card, they must give it to the player. If not, the player "goes fish" and draws a card from the deck. The game continues until all pairs have been collected or the deck is empty. The player with the most pairs at the end wins!

Point down the features

Game Logic:
Creation of a deck of cards (52 cards).
Shuffling of the deck before dealing cards.
Dealing 7 cards to each player at the beginning of the game.
Implementing the rules of the game (asking for cards, drawing from the deck, forming pairs).
Tracking pairs and updating the score.

Computer Player:

AI for the computer player to make decisions.
Strategy for the computer player's turn (e.g., choosing which cards to ask for).

End Game:

Detecting the end of the game (when all pairs are formed or the deck is empty.
Declaring the winner based on the number of pairs collected.

Select program in which you are contributing

GSSoC24

Code of Conduct

@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 Jun 6, 2024
@kunjgit
Copy link
Owner

kunjgit commented Jun 6, 2024

Hey @pani2004 !
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🕹️

@pani2004
Copy link
Contributor Author

pani2004 commented Jun 6, 2024

/assign

@pani2004
Copy link
Contributor Author

pani2004 commented Jun 6, 2024

@kunjgit Pls add the gssoc label

@pani2004
Copy link
Contributor Author

pani2004 commented Jun 7, 2024

@ishita-43 Pls add the gssoc label

@kunjgit
Copy link
Owner

kunjgit commented Jun 16, 2024

Hey @pani2004 ! 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! 😇

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

Successfully merging a pull request may close this issue.

2 participants