-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
3 additions
and
3 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,15 +1,15 @@ | ||
# **blackJack** | ||
|
||
<img src="logo.svg" width= "150px"> | ||
|
||
## About | ||
|
||
A card game made with **Javascript**. Users have an initial balance ($5000) and can choose bet amount via three buttons that auto-selects a card out of a deck of 52. After selecting the bet amount and starting the game, users can choose to Draw (Hit, draws another card) or Hold (Stand, doesn't draw any more card) or Double (draws another card and doubles bet). Whoever's card value is closest to 21 (but doesn't cross 21) wins the round and increases their balance. | ||
|
||
### Note: | ||
### Note | ||
|
||
I have not added splice method to remove drawn cards from the deck to keep it simpler. | ||
|
||
### Game has one error to be fixed: | ||
### Game has one error to be fixed | ||
|
||
Game accepts one userDraw even after dealer busts. | ||
|