Blackjack Companion App
Basic Strategy: Blackjack is a companion app that helps players make optimal decisions at the blackjack table. Using mathematically proven basic strategy, the app guides users through every hand by analyzing their cards and the dealer's upcard to recommend the best possible move - whether to hit, stand, double down, or split.
Basic Strategy: Blackjack was built using SwiftUI for a modern, responsive interface across iOS and iPadOS. The app implements mathematically precise basic strategy algorithms and uses StoreKit for in-app purchases. The interface focuses on simplicity and speed to provide quick decisions during gameplay.
The main challenge was implementing the complex basic strategy logic accurately keeping in mind all custom rules the user can set while maintaining a simple, fast user interface. To ensure every decision is the right one, extensive unit testing using SwiftTesting is implemented to validate the strategy against known outcomes.