Skip to content

Commit

Permalink
Merge pull request #1 from prajwalkulkarni/prajwalkulkarni-patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
prajwalkulkarni authored Jan 9, 2024
2 parents 19963c2 + b4834e2 commit d1c4961
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This is a simple command-line interface (CLI) blackjack game built using Node.js

- Play blackjack against a computerized dealer.
- Interactive interface with textual representations of cards.
- Basic functionalities: hit, stand, split and double down.
- Basic functionalities: hit, stand, split, and double down.
- Track your cash and bet accordingly.

## Requirements
Expand All @@ -18,8 +18,15 @@ This is a simple command-line interface (CLI) blackjack game built using Node.js
To start the game, run the following command:

```
node index.js
npx blackjack21
```
or
```
npm install -g blackjack21
```
followed by `blackjack21`.

If you want to run the module locally, clone the repository and run `npx .` or `node bin.js`.

Follow the prompts displayed in the terminal to make your moves during the game.

Expand All @@ -28,7 +35,8 @@ Follow the prompts displayed in the terminal to make your moves during the game.
The game follows standard blackjack rules.

- You'll be dealt two cards initially.
- Choose from available actions: hit, stand, split and double down.
- Bet your stake from the available denominations that is generated based on your current balance.
- Choose from available actions: hit, stand, split, and double down.
- Aim to reach a hand value as close to 21 as possible without exceeding it.
- Beat the dealer's hand without going bust to win.

Expand Down

0 comments on commit d1c4961

Please sign in to comment.