Simple game prototype written in SwiftUI + MVVM, without storyboards.
- SwiftUI interface
- Game loop using GameManager
- Modular architecture (Models / Views / Managers)
- Custom assets (fonts / images / sounds)
- iPhone + iPad support
Project structure:
GamePrototype/ โโโ App/ - Entry point โโโ Models/ - Game data structures โโโ Views/ - Screens and UI components (SwiftUI) โโโ Managers/ - Game logic (GameManager etc.) โโโ Resources/ - Assets, fonts, sounds
Pattern: MVVM + Managers
UI is updated via @State, @StateObject, @ObservedObject.
-
Clone the repository: git clone https://github.com//GamePrototype.git
-
Open the project in Xcode: open GamePrototype.xcodeproj
-
Run on simulator or device (iOS 17+)
Language: Swift 5.10
UI Framework: SwiftUI
Architecture: MVVM + Managers
IDE: Xcode 16.4 or later
Pull requests and issues are welcome โ feel free to propose improvements.
MIT License โ free for use and modification.