Playable: From Prompt to Playable Game
Currently building a mobile-first social gaming platform that transforms text prompts into playable 2D/3D games instantly.
The Vision
Think TikTok meets game creation - users can:
- Create games with simple text prompts
- Play them immediately
- Share with friends
- Compete on global leaderboards
System Architecture
The platform uses a multi-layered architecture with an agentic AI system at its core:
How It Works
- Agentic Layer: Multiple specialized AI agents work together to interpret prompts, generate game mechanics, and create assets
- Orchestration: Mastra coordinates between different agents - one for game logic, one for visual design, one for physics
- Real-time Generation: The backend processes requests through Hono, streaming updates to the client as the game is being built
- Asset Pipeline: Generated game assets are stored in Cloudflare R2 for instant global delivery
- Rendering: Three.js and WebGL handle the 2D/3D graphics rendering on the client side
Tech Stack
- Mobile: Swift
- AI Orchestration: Mastra for agent orchestration
- Storage: Cloudflare R2
- Backend: Hono (lightweight web framework)
- Graphics: Three.js, WebGL for rendering
- Database: PostgreSQL
Current Progress
This week I'm working on the core game generation engine and the social features that make sharing and competing fun.
This project is currently under development. More details coming soon!