milesrack / blackjack-cli

Play a game of Blackjack in your terminal.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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?

About

Play a game of Blackjack in your terminal.

License:GNU General Public License v3.0


Languages

Language:C 100.0%