|
| 1 | +# Blackjack game |
| 2 | +The player has to get a hand with a value as close to 21 as possible without going over. |
| 3 | +A hand that goes over 21 is a bust. |
| 4 | +The players in a blackjack game plays against the dealer. Each player has to beat the dealer's hand in order to win. |
| 5 | + |
| 6 | +In blackjack game, the suits have no meaning. |
| 7 | +1. Number cards have a value equal to their number. |
| 8 | +2. All the picture cards (Jacks, Queens, and Kings) are worth 10. |
| 9 | +3. Aces are worth 1. |
| 10 | + |
| 11 | + |
| 12 | +## HOW TO PLAY |
| 13 | + |
| 14 | +## 1. When the user clicks "Hit" button , a card is drawn |
| 15 | +You can draw as many cards as you want |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | +### 2. You can click on "Stand" when you no longer want to draw cards and then the dealer will draw it's cards |
| 20 | + |
| 21 | +## 3. If the sum of cards of the dealer is greater than your sum , then you loses the game |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | +## 4. If the sum of your cards is greater than 21 then you are busted and you loses the game |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | +## 5. If your sum is greater than dealer's sum then you won the game |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | +## 6. If Your Sum = Dealer's sum then the game draws |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | +7. The table keeps a record of total wins,loses and draws |
| 40 | +8. Click on "Restart" Button to start a new game |
| 41 | +9. Click on "Deal" Button to clear the field |
0 commit comments