A blackjack game made in pure rust, using SDL2 for the rendering. Currently just a desktop app but I plan to implement many features. This is purely an educational project. Only tested on Ubuntu
Report Bug
·
Request Feature
Table of Contents
I decided to tackle blackjack because it's a simple game but there is a surprising amount of logic which makes it quite a tricky project. This has been my biggest project so far and I loved building it!
This is an example of how you may give instructions on setting up your project locally. To get a local copy up and running follow these simple example steps.
- Clone the repo
git clone git@github.com:THashimov/RustyJack.git
- Install sdl2
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh sudo apt-get install libsdl2-dev sudo apt-get install libsdl2-image-dev sudo apt-get install libsdl2-gfx-dev sudo apt-get install libsdl2-ttf-dev cd Rustyjack cargo r
Once cloned and sdl2 is installed, run with cargo run.
- Basic game working
- Cards are dealt to all players.
- Players can play against the dealer.
- Blackjack ends the round.
- Double working correctly.
- Hand splitting.
- Basic strategy hints.
- Card counting hints.
- AI
- Other players draw cards.
- Other players play basic strategy.
- Online
- Create and join lobbies
- Cross-compile for Windows and Mac
See the open issues for a full list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE.txt
for more information.