Developer Builds Same Math Puzzle Game Natively for iOS and Android
Software engineer Tapadyuti Chatterjee has launched Mathastic, a fast-paced arithmetic puzzle game available on both iOS and Android as fully separate native applications. The iOS version is built with SwiftUI and UserDefaults, while the Android version uses Jetpack Compose, ViewModel with StateFlow, Hilt, and SharedPreferences. Despite the distinct codebases, both apps share identical domain concepts and game rules, including modes like Timed Sprint, Endless, and Daily Challenge. The game features progression mechanics such as streaks, missions, XP, unlockable themes, and performance tracking to encourage replayability. Chatterjee documented the dual-architecture approach in a DEV Community post to highlight the technical decisions involved in translating one product into two platform-native implementations.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in