8:43 to AI-Generated Dungeons on a Phone: My On-Device Roguelike Experiment
Picture this: a roguelike RPG where your phone's brain — not some distant server — dreams up deadly floors on the fly. One dev did it with Phi-4-mini in Unity, clocking 8 minutes 43 seconds for JSON gold on a Galaxy S24 Ultra.
⚡ Key Takeaways
- Phi-4-mini runs in Unity roguelikes on Android, generating valid JSON dungeons in ~9 minutes on S24 Ultra.
- NPU acceleration underdelivers now (QNN lib fails), but CPU baselines work—hinting at explosive future potential.
- Key hacks: Custom tokenizer, adb model deploy, SDK 31 for vendor libs—blueprint for on-device AI games.
Worth sharing?
Get the best Developer Tools stories of the week in your inbox — no noise, no spam.
Originally reported by dev.to