Skip to content

4ppleSA0CE/Blackjack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Blackjack Game

How to Run

  1. Open a terminal in the project directory
  2. Compile the Java files:
    javac src/main/java/*.java
  3. Run the game:
    java -cp src/main/java StartScreen

Screenshots

Starting Screen

Starting Screen

Game GUI

Game GUI

How to Play

  1. Enter your name in the start screen
  2. Game Rules:
    • Click "Hit" to receive another card
    • Click "Stay" to keep your current hand
    • If your hand value exceeds 21, you bust and lose the round
    • The dealer must hit on soft 17
    • Blackjack (Ace + 10-value card) is an automatic win
    • Ties result in a push
    • Aces can be 1 or 11 (automatically calculated for best hand)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages