Skip to content

gioretikto/bashjack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bashjack

A toy command line blackjack program for linux Brought to you by: simplicius. You can reach me in Freenode IRC channel #cansi

The game is played with one deck of 52 cards. The rules are simple: The goal of the game is to beat the Dealer's hand. The better hand is the hand where the sum of the card values is closer to 21 without exceeding 21. The detailed outcome of the hand follows:

- If the dealer exceeds 21 ("busts") and the player does not; the player wins.

- If the player attains a final sum higher than the dealer and does not bust; the player wins.

- If both dealer and player receive a blackjack or any other hands with the same sum, called a "push", no one wins.

- If the player exceeds a sum of 21 "busts": the player loses, even if the dealer also exceeds 21.

- If the player is dealt an Ace and a ten-value card, called a "blackjack" or "natural", and the dealer does not, the player wins and usually receives a bonus: 2/3 of the bet equal to 150%.

About

A toy command line blackjack program for linux

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published