Skip to content

Commit d064128

Browse files
committed
BlackJack game
1 parent 161ac44 commit d064128

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

BlackJack/README.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
**BLACK JACK**
1+
**BLACK JACK**
22

3-
**GOAL**
3+
**GOAL**
44
The sum of your cards should be greater than the sum of the dealers cards.
55
Also sum of the cards cannot go above 21 and if the sum is 21 it is called Blackjack.
6-
Blackjack always wins.
6+
Blackjack always wins.
77

8-
**DESCRIPTION**
8+
**DESCRIPTION**
99
BlackJack is a famous casino game , and this is a simplified version of the real game(which involves bidding and various other stuff).
1010
All players play againt the dealer of the cards.
1111
All the cards have fixed values associated to them and the main objective of the game is
1212
to get the score as high as possible but less than or equal to 21.
13-
It is a fun short game.
13+
It is a fun short game.
1414

15-
**WHAT I HAD DONE**
15+
**WHAT I HAD DONE**
1616
First I decided the Game Design:
1717
It had to be played on the terminal
1818
I wrote a function to print out a card to the terminal.
@@ -22,7 +22,7 @@ I defined a class of cards and formed a Deck as the array of cards.
2222
Then I wrote the main Game Logic:
2323
Cards are given using random function,
2424
Player can choose to Hit or Stand,
25-
Players and dealers cards and values are shown on the screen.
26-
**DEMONSTRATION**
25+
Players and dealers cards and values are shown on the screen.
26+
**DEMONSTRATION**
2727

28-
**SIDDHANT JETHWANI**
28+
**SIDDHANT JETHWANI**

0 commit comments

Comments
 (0)