🎮 GameForge
Inspiration
What if anyone could type a game idea and start playing it instantly? What if they could refine it through simple prompts until it perfectly matched their imagination? And what if they could publish it inside an app where others can discover it through trending and recent feeds — or share a web link so anyone can play instantly without downloading anything?
GameForge was built on one belief: game creation should be instant, social, and powered by imagination — not code.
What it does
GameForge is an AI-powered platform that transforms plain English into fully playable 2D HTML5 Canvas games in seconds.
Users:
- 🎮 Generate games from prompts
- ✏️ Refine them through follow-up instructions
- 💾 Save games to their personal library
- 🗑 Delete games anytime
- 🌍 Publish games publicly
- 🔍 Appear in Explore (Trending + Recent + Search) if game(s) are published
- ❤️ Like and remix community creations
- 🔗 Share a public web link playable without the app
The result isn’t just a generator — it’s a living game creation ecosystem. Published games become instantly discoverable and playable in-app and instantly playable on the web, lowering friction and driving organic growth.
How we built it
GameForge was built entirely on Replit as a full-stack, cross-platform application.
Frontend
- Expo (React Native)
- Mobile-first design
- Light/Dark themes
- Cross-platform (Web + Mobile)
Backend
- Express.js server
- PostgreSQL database
- Secure authentication with hashed passwords
- Persistent user game libraries
- AI Integration
- OpenAI streaming API
- Real-time code generation
- Dynamic rendering of generated HTML5 Canvas code
We focused heavily on performance, security, real-time state synchronization, and clean UX across platforms.
Challenges we ran into
- 1️⃣ Real-Time AI Streaming
Streaming generated game code to the client while providing meaningful progress feedback was complex. We had to carefully manage asynchronous streams, partial responses, and UI state updates to ensure smooth cross-platform rendering.
- 2️⃣ Reliable Explore Feed Updates
Newly created or published games needed to appear instantly in Trending and Recent feeds without manual refreshes. This required precise handling of screen focus events and optimized data-fetching logic.
- 3️⃣ Safe & Secure Execution
Since AI generates executable game code, we had to ensure it runs safely while maintaining performance and stability.
Accomplishments we’re proud of
- ✅ Built a complete end-to-end AI game platform in a hackathon timeframe
- ✅ Implemented real-time streaming generation
- ✅ Created a social discovery layer (Trending, Recent, Remixing)
- ✅ Enabled instant web play via shareable links
- ✅ Designed a polished, production-ready mobile-first UI
- ✅ Implemented secure authentication and persistent game storage
Most importantly, we didn’t just build a demo — we built a platform.
The iterative refinement feature stands out as our biggest innovation. Users collaborate with AI, evolving games through conversation rather than one-time generation. That shift turns AI from a tool into a creative partner.
What we learned
We learned how powerful AI becomes when paired with strong UX.
This project deepened our understanding of:
- Streaming APIs
- Real-time UI synchronization
- Cross-platform state management
- Secure authentication systems
- Designing AI systems that feel interactive, not transactional
We also saw firsthand how reducing friction unlocks creativity.
What’s next for GameForge
GameForge is just the beginning.
Next steps:
- 🧑🤝🧑 Multiplayer support
- 🏆 Leaderboards for top-rated games
- 🎲 More templates and genres (3D, RPG, puzzle)
- 👥 Collaborative live editing
Our long-term vision is to become the YouTube of AI-generated games — where anyone can create, share, and play instantly.
Built With
- async-storage
- canvas
- expo.io
- html5
- mobile
- openai
- react-native
- replit
- sse
- typescript
- web-audio
- webview
Log in or sign up for Devpost to join the conversation.