File tree 1 file changed +32
-0
lines changed
1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Blackjack game
2
+
3
+ ## HOW TO PLAY
4
+
5
+ ## 1. When the user clicks "Hit" button , a card is drawn
6
+ You can draw as many cards as you want
7
+
8
+ ![ image] ( https://github.com/TheArushiSingh/Web-dev-mini-projects/blob/main/Blackjack%20Game/readme%20images/img1.PNG )
9
+
10
+ ### 2. You can click on "Stand" when you no longer want to draw cards and then the dealer will draw it's cards
11
+
12
+ ## 3. If the sum of cards of the dealer is greater than your sum , then you loses the game
13
+
14
+ ![ ] ( https://github.com/TheArushiSingh/Web-dev-mini-projects/blob/main/Blackjack%20Game/readme%20images/img2.PNG )
15
+
16
+
17
+ ## 4. If the sum of your cards is greater than 21 then you are busted and you loses the game
18
+
19
+ ![ ] ( https://github.com/TheArushiSingh/Web-dev-mini-projects/blob/main/Blackjack%20Game/readme%20images/img3.PNG )
20
+
21
+ ## 5. If your sum is greater than dealer's sum then you won the game
22
+
23
+ ![ ] ( https://github.com/TheArushiSingh/Web-dev-mini-projects/blob/main/Blackjack%20Game/readme%20images/img4.PNG )
24
+
25
+ ## 6. If Your Sum = Dealer's sum then the game draws
26
+
27
+ ![ ] ( https://github.com/TheArushiSingh/Web-dev-mini-projects/blob/main/Blackjack%20Game/readme%20images/img5.PNG )
28
+
29
+
30
+ 7 . The table keeps a record of total wins,loses and draws
31
+ 8 . Click on "Restart" Button to start a new game
32
+ 9 . Click on "Deal" Button to clear the field
You can’t perform that action at this time.
0 commit comments