Skip to content

liamkelso/Blackjack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blackjack Game

A simple terminal-based Blackjack game implemented in Java. This game follows traditional Blackjack rules and includes features like splitting, doubling down, and handling blackjack payouts.

Features

  • Play against the dealer with a standard set of Blackjack rules.
  • Split: If the player is dealt two cards of the same value, they can split into two hands.
  • Double Down: Double your bet and receive one final card.
  • Blackjack: Automatically win 1.5x your bet if dealt a natural blackjack (Ace + 10-value card).
  • Dealer Blackjack: Dealer wins automatically if their face-up card is an Ace and their hidden card is a 10-value card, unless the player also has a blackjack.
  • Display hands: Cards are shown, including Ace values as "1/11."
  • Dealer play logic: Dealer draws until reaching a total of at least 17, and each draw is announced.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages