BlackJackPractice is an iOS app designed to help users master blackjack by practicing splits, soft totals, and hard totals. This app demonstrates the power of using advanced AI tools like GPT-4 to create an iOS app with minimal coding knowledge. By following GPT-4 instructions, users can create a fully functional app with ease.
The app's code is generated using Reflect's AI Palette, using the prompt:
You are iOS-GPT. Your role is to provide advice on how to build iOS apps. This is our past conversation:
{input}
The whole conversation is documented in this Reflect Note.
To set up the project locally, follow these steps:
- Clone the repository to your local machine:
git clone https://github.com/username/BlackJackPractice.git
- Open the
BlackJackPractice.xcodeproj
file in Xcode. - Ensure that you have the required dependencies installed. If not, follow the instructions provided in the "Dependencies" section below.
- Build and run the app in Xcode using the default simulator or a connected iOS device.
- Xcode: Download and install the latest version of Xcode from the official website (https://developer.apple.com/xcode/).
BlackJackPractice is an intuitive app that helps users practice their blackjack skills. To use the app:
- Launch the app on your iOS device or simulator.
- The main screen will display the player's two cards and the dealer's up card.
- Use the provided buttons to select whether to stand, hit, split or double.
- The app will provide feedback on your decision, helping you learn the correct blackjack strategy.
- Press the "Deal" button to generate a new set of cards and continue practicing.
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
We welcome contributions to the BlackJackPractice project! To contribute, please follow these steps:
- Fork the repository on GitHub.
- Clone your fork to your local machine:
git clone https://github.com/your-username/BlackJackPractice.git
- Create a new branch for your changes:
git checkout -b your-feature-branch
- Commit your changes and push them to your fork:
git push origin your-feature-branch
- Open a pull request on the original repository, describing your changes and providing relevant context.
For any questions, feature requests, or bug reports, please open an issue on the GitHub repository.
We are committed to maintaining a welcoming and inclusive environment for all contributors. Please adhere to the following guidelines:
- Treat all contributors with respect and kindness.
- Use inclusive language and avoid offensive or derogatory terms.
- Focus on constructive feedback and avoid personal attacks.
- Report any violations of the code of conduct to the project maintainers.
The BlackJackPractice app is released under the MIT License (https://opensource.org/licenses/MIT). Please note that the Python code was generated using Github Copilot, the Swift code using Reflect's AI Palette (which uses GPT-4), and the logo using Midjourney. Each tool may have its own licensing terms, so be sure to review and comply with those terms when using or modifying the code.
We would like to thank the following individuals, organizations, and resources for their contributions to the development of the BlackJackPractice app:
- Wizard of Odds Basic strategy calculator, using rules: 4+ deck, dealer stands on soft 17, DAS, no surrender, dealer peeks for BJ
- Reflect's AI Palette for generating Swift code using GPT-4
- Midjourney for creating the app logo
- Github Copilot for generating Python code
- Playing Cards assets
- All contributors and users who have provided valuable feedback and support