Skip to content

Acrenos/Blackjack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

# Blackjack Game 🃏

Welcome to **Blackjack**, a fun and interactive implementation of the classic casino card game! Test your skills against the dealer and try your luck to hit 21.

---

## 🎮 Features
- **Single-player gameplay**: Compete against the computer dealer.
- **Randomized card shuffling (Using Fisher-Yates Shuffle)** for realistic play.
- Intuitive **command-line interface**.

---

## 📜 Rules of Blackjack
- The objective is to have a hand value closer to 21 than the dealer, without exceeding 21.
- Number cards are worth their face value, face cards (J, Q, K) are worth 10, and Aces can count as 1 or 11.
- Players can:
  - **Hit**: Take another card.
  - **Stand**: Keep their current hand.
  - **Double Down**: Double the bet and take one final card.
- The dealer must hit until their cards total 17 or higher.

---

## 🚀 How to Play
1. Clone this repository to your local machine:
   ```bash
   git clone https://github.com/your-username/blackjack-game.git
   cd blackjack-game
  1. Install dependencies (if applicable):
    • For Python:
      pip install -r requirements.txt
    • For Node.js:
      npm install
  2. Run the game:
    • For Python:
      python blackjack.py
    • For JavaScript (Node.js):
      node blackjack.js
  3. Follow the on-screen instructions to play.

🔧 Technologies Used

  • Programming Language: Java

🤝 Contribution Guidelines

Contributions are welcome! Here's how you can contribute:

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix:
    git checkout -b feature-name
  3. Commit your changes:
    git commit -m "Add feature description"
  4. Push your branch:
    git push origin feature-name
  5. Open a pull request.

📬 Contact

For questions, suggestions, or feedback, feel free to reach out:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages