The Balatro Card Game is a C++ project that simulates a card game inspired by traditional card games, including elements from the classic Balatro game. The project features classes and functionality to manage playing cards, decks, hands, and more.
- Card Management: Handle individual playing cards and jokers.
- Deck Handling: Manage decks of standard cards and jokers.
- Hand Evaluation: Evaluate and sort hands, determine hand types.
- Utilities: Utility functions for bitwise operations and error handling.
- C++11 or later
- Standard C++ libraries (e.g.,
<iostream>
,<vector>
,<array>
) - A C++ compiler (e.g.,
g++
)
-
Clone the Repository:
git clone https://github.com/yourusername/BalatroCardGame.git cd BalatroCardGame
-
Install Required Libraries:
This project uses standard C++ libraries, so no additional installations are required beyond a compatible compiler.
-
Build the Project:
Use the provided Makefile to compile the project:
make
This will compile the source files and create an executable named balatro.
-
Clean Build Artifacts (optional):
To remove build artifacts and clean the project directory:
make clean
To run the game, execute the compiled binary:
./c-l-tro
This project is licensed under the MIT License. See the LICENSE file for more details.
This game is inspired by traditional card games and incorporates elements from the classic Balatro game, implemented using modern C++ features.