-
Notifications
You must be signed in to change notification settings - Fork 679
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #348 from Albinary/patch-1
Refined ReadMe.md
- Loading branch information
Showing
1 changed file
with
12 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,20 @@ | ||
# BLACKJACK | ||
|
||
BlackJack is very popular card game mainly played in casinos around the world. | ||
Let's imagine this program as a virtual casino with computer as the **Dealer**. | ||
The purpose of this game is to beat the Dealer, which can be done in various ways. | ||
Blackjack is a very popular card game commonlu played in casinos worldwide. | ||
This program will simulate a virtual casino, with computer as the dealer. | ||
The purpose of this game is to beat the dealer, which can be done in various ways. | ||
|
||
## Rules | ||
|
||
- Both the player and the dealer are given 2 cards at the beginning , but one of the dealer's card is kept hidden. | ||
|
||
Each card holds a certain value. | ||
|
||
- Numbered cards contain value identical to their number. | ||
- All face cards hold a value of 10 | ||
- Ace can either hold a value of 1 or 11 depending on the situation. | ||
|
||
BlackJack means **21**. Whoever gets a total value of 21 with their cards immediately wins! | ||
*(winning through blackjack results in 3x the money)* | ||
|
||
If the value of cards goes over 21, its called a BUST, which results in immediate loss... | ||
If both the players get the same value of cards , it's a TIE and the betted money is returned. | ||
|
||
If none of the above cases are met ,the person with closer value to 21 wins. | ||
*(winning like this returns 2x the betted money)* | ||
- At the start of the game, both the player and the dealer are given 2 cards, however one of the dealer's card is kept hidden. | ||
- Each card holds a certain value. | ||
- Numbered cards have a value identical to their number. | ||
- All face cards (e.g. King, Queen) hold a value of 10. | ||
- Aces can either hold a value of 1 or 11, depending on the situation. | ||
- Blackjack refers to a total card value of **21**. When a player achieves this, they immediately win, and the victory results in a payout 3x the amount of the bet! | ||
- If the total value of cards exceeds 21, it's called a BUST, which results in immediate loss. If both participants bust, the result is a tie, and the bets are returned. | ||
- If none of the above conditions are met, the person with a closer value to 21 wins. Winning in this manner results in a payout 2x the amount of the bet! | ||
|
||
----------------------------------------------------------------------------------------------------------------- | ||
|
||
For simplicity of the program a lot of moves like double down,split and surrender were skipped. | ||
The program also lacks proper linting , debugging and optimization at the moment. | ||
PLEASE NOTE: For simplicity, this program does not include advanced moves, such as double downs, splits and surrenders. The program also currently lacks proper linting, debugging and optimization. |