Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/milesrack/blackjack-cli

Play a game of Blackjack in your terminal.
https://github.com/milesrack/blackjack-cli

blackjack blackjack-cli blackjack-game blackjack-simulator c c-programming casino casino-games gambling gambling-game

Last synced: 4 days ago
JSON representation

Play a game of Blackjack in your terminal.

Awesome Lists containing this project

README

        

# Blackjack CLI
Play a game of Blackjack in your terminal.

## Compile
```
gcc blackjack.c -o blackjack
```

## Run
```
$ ./blackjack
Place your bet (bank: $10000.00): 200
Dealer (?)
+---------+ +---------+
| ? | | 9 |
| | | |
| ? | | ♢ |
| | | |
| ? | | 9 |
+---------+ +---------+
Player (14)
+---------+ +---------+
| K | | 4 |
| | | |
| ♢ | | ♠ |
| | | |
| K | | 4 |
+---------+ +---------+
Would you like to [h]it or [s]tand?
```