A cozy iPhone cat-home game prototype built with SwiftUI.
The old hidden-star prototype has been replaced with a playable V1 cat-care loop:
- Create multiple cat profiles
- Upload a cat photo and optionally generate an editable appearance seed with AI
- Manually tweak the cat appearance with a light creator
- Interact at home to gain coins
- Dress the cat and decorate a single-room home
- Send the cat on short trips to earn coins, collectibles, and photo cards
- Persist progress locally with a single Codable save file
- Swift
- SwiftUI
- Xcode
- XcodeGen
- PhotosUI
- Local JSON persistence
- OpenAI Responses API for development-only appearance extraction
- A native
BabeGame.xcodeproj - A SwiftUI app target for iPhone
- A multi-cat local save system
- Cozy home, wardrobe, album, travel, and settings flows
- A local pixel cat renderer driven by editable appearance parameters
- Development-only AI appearance extraction with manual fallback
- Generated app icons and asset catalogs
BabeGame/
├── BabeGame.xcodeproj
├── project.yml
├── BabeGame/
│ ├── App/
│ ├── Core/
│ ├── Features/
│ └── Supporting/
└── scripts/
Open BabeGame.xcodeproj in Xcode.
If we update project.yml, regenerate the Xcode project with:
cd /Users/xiaoshu/Desktop/test/BabeGame
/opt/homebrew/bin/xcodegen generateVerified build command:
xcodebuild -project /Users/xiaoshu/Desktop/test/BabeGame/BabeGame.xcodeproj \
-scheme BabeGame \
-destination 'generic/platform=iOS Simulator' \
-derivedDataPath /tmp/BabeGameDerivedData \
buildThe cat photo extraction feature is for internal development only.
- Launch the app.
- Open
设置. - Save an OpenAI API key into the on-device Keychain.
- In
创建猫咪or重生成 / 调整造型, choose a photo. - Tap
根据照片生成造型.
If AI generation fails or no API key is configured, the app automatically falls back to full manual editing.
Remote URL:
git@github.com:luowenxi76-coder/BabeGame.git