An open API service indexing awesome lists of open source software.

https://github.com/dylanbt928/blackjack

♠️ gui-based blackjack
https://github.com/dylanbt928/blackjack

blackjack cmake cpp sfml

Last synced: 6 months ago
JSON representation

♠️ gui-based blackjack

Awesome Lists containing this project

README

          

# Blackjack ♠️

A simple Blackjack game implemented in C++ using SFML for the graphical interface and CMake for project management. This project is designed to practice GUI development, game logic, and clean C++ programming.

## 🚀 Features

- Classic Blackjack game logic
- Graphical user interface with SFML
- Deck shuffling and card dealing
- Player and dealer hands
- Basic win/loss conditions

## 🛠️ Built With

- **C++**
- **SFML**
- **CMake**

## 🔧 Installation

1. Clone the repository:

```bash
git clone https://github.com/DylanBT928/blackjack.git
cd blackjack
```

2. Create a build directory and compile:

```bash
mkdir build
cd build
cmake ..
cmake --build . --target run
```

## 🤝 Contributing

Contributions are welcome! If you'd like to contribute, please follow these steps:

1. **Fork the Project**: Create your own fork of the repository.
2. **Create a Branch**: Make a new branch for your feature or bugfix.
```
git checkout -b feature/AmazingFeature
```
3. **Commit Your Changes**: Commit your changes with a descriptive message.
```
git commit -m 'Add some AmazingFeature'
```
4. **Push to the Branch**: Push your changes to your forked repository.
```
git push origin feature/AmazingFeature
```
5. **Open a Pull Request**: Submit a pull request to the main repository.

Please ensure your code follows the project's style and includes appropriate documentation.

## 📜 License

Licensed under the MIT License. See `LICENSE` for more information.