Skip to content

Buddy28911/Blackjack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blackjack in C++

Author: Danny Noe


Play Blackjack in the console, powered by C++.


Compile

To compile the Blackjack use

./build.sh

Alternatively, you can build the executable with this command:

g++ main.cpp deck.cpp players.cpp blackjack.cpp -g -o blackjack 

Run

Blackjack takes no arguments. So, run the program with

./blackjack

How to Play

  • Enter a bet amount (must be int)
  • Enter "Hit" to be dealt another card || "Stay" to end turn
  • Players can play as many rounds as they'd like until they best out.

About

Blackjack written in C++

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published