Skip to content

This is a simple version of Blackjack which is the most popular table game at casinos. This project was built to implement the Java knowledge I've learnt so far.

Notifications You must be signed in to change notification settings

Adaobi-Chuks/Blackjack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Blackjack

This is a simple version of Blackjack which is the most popular table game at casinos. This project was built to implement the Java knowledge I've learnt so far.

How it works:

In Blackjack, the player plays against the dealer.

The dealer gives the player two cards faceup.

The dealer also starts with two cards. But, only one of the dealer's cards is faceup. The other is facedown.

First, it's the player's turn. The player can decide to hit or stay. hit: draw another card. stay: do nothing.

If the player decides to hit, and their hand value exceeds 21, they go bust (lose).

Once the player decides to stay, the dealer reveals the hidden card.

Then, the dealer must hit until their cards total up to 17. At 17 points or higher, the dealer must stay.

You win if your hand value is higher than the dealer's hand.

You win if the dealer goes bust (exceeds 21)

You lose if the dealer's hand value is higher than yours.

About

This is a simple version of Blackjack which is the most popular table game at casinos. This project was built to implement the Java knowledge I've learnt so far.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages