I want my own single-player Clash of Clans-inspired environment that runs locally on an iPhone 16 Pro (iOS 18.4) without any multiplayer or online calls. The core build should mirror the familiar base-building, troop-training, and attack loop, but everything must be served from a private backend I can host on-device or on my Mac for syncing. Key twists I’d like baked in: • A flexible framework for custom features—think altered building stats, new unit types, or reskinned art assets—so I can keep experimenting after delivery. • Challenge-based missions that trigger unique win conditions (e.g., “three-star this layout with only ground units” or “finish under a time limit”). A simple JSON or scriptable format for adding more of these challenges later would be ideal. • Smart single-player AI that defends and attacks convincingly, making those challenges feel fresh every run. Deliverables 1. Compiled iOS build installed and running on my device. 2. Source code for both the lightweight server component and the client, with clear instructions to rebuild in Xcode / Swift (or the language you choose). 3. A starter set of at least five challenge-based missions to prove the framework works. 4. README covering setup, how to add new missions, and how to toggle future custom features. Acceptance criteria: No internet traffic once the game starts, smooth performance on iPhone 16 Pro, and all five starter challenges fully completable. Feel free to leverage any open-source server emulation, C++ game logic, SwiftUI front end, or lightweight Node back end—whatever gets the job done cleanly and maintainably, as long as licensing stays clear for private use.