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]: Add New Game BlackJack #3447

Closed
1 task done
codewithishu opened this issue May 18, 2024 · 7 comments
Closed
1 task done

[New game]: Add New Game BlackJack #3447

codewithishu opened this issue May 18, 2024 · 7 comments
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

@codewithishu
Copy link
Contributor

🎮 Game Request

Game Logic:
Objective: The primary goal in Blackjack is to have a hand value closer to 21 than the dealer's hand without exceeding 21.

Card Values:

Number cards (2-10) are worth their face value.
Face cards (Jack, Queen, King) are each worth 10 points.
Aces can be worth either 1 or 11 points, depending on which value benefits the hand most.
Gameplay:

.Initial Deal: Each player and the dealer are dealt two cards. Players’ cards are usually dealt face up, while the dealer has one card face up (the "Up Card") and one card face down (the "hole card").

.Player Decisions:
Hit: Take another card from the dealer.
Stand: Keep the current hand and end the turn.

Double Down: Double the initial bet and take exactly one more card.

Split: If the first two cards are of the same value, the player can split them into two separate hands, each with its own bet. Players then play each hand individually.

Surrender: Forfeit half the bet and end the hand immediately (only available as the first decision of the hand).
Dealer Rules: After all players have finished their turns, the dealer reveals the hole card. The dealer must hit until their cards total 17 or higher (some casinos require the dealer to hit on a "soft 17," which is a hand containing an Ace counted as 11).
Winning:

A player wins if their hand total is higher than the dealer's hand total without exceeding 21.
A player wins with a "Blackjack" (an Ace and a 10-value card) if the dealer does not also have a Blackjack.
If the dealer busts (exceeds 21), all remaining players win.
If a player busts, they lose regardless of the dealer’s outcome.

Point down the features

Game Points:
Points Calculation:

The total value of a player's hand is the sum of the individual card values.
If a player's hand includes an Ace, it can be counted as 1 or 11, depending on which value keeps the hand total under or equal to 21.

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 May 18, 2024
@kunjgit
Copy link
Owner

kunjgit commented May 18, 2024

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

@codewithishu
Copy link
Contributor Author

@kunjgit please assign this to me

@codewithishu
Copy link
Contributor Author

/assign

@kunjgit
Copy link
Owner

kunjgit commented May 25, 2024

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

@codewithishu
Copy link
Contributor Author

/assign

@kunjgit
Copy link
Owner

kunjgit commented May 25, 2024

Hey @codewithishu ! , This issue is already assigned to @codewithishu. 💗
You can work on other issues 🚀
If there is anything wrong you can contact us on Discord🕹️👀

@kunjgit
Copy link
Owner

kunjgit commented May 31, 2024

Hey @codewithishu ! 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