Inspiration Traditional learning platforms feel like a chore. We wanted to create an experience where education feels like playing a video game - complete with XP, levels, achievements, and a sense of progression. Inspired by platforms like Duolingo and CodΓ©dex, we built Gamify AI to make learning addictive.
What it does Gamify AI transforms any topic into a 4-stage adventure:
π Story Mode - Engaging narratives that teach concepts through storytelling β Quiz Challenge - 5 comprehension questions to test understanding π Master Practice - Advanced application questions for deeper mastery π Detective Mode - Unique mystery-solving cases using learned concepts Users can choose from 5 pre-built quests (Python, Black Holes, Dinosaurs, DNA, AI) with 3 difficulty levels each, or generate content on ANY topic using AI. The retro gaming aesthetic with XP bars, achievement badges, and level-ups keeps users engaged and coming back.
How we built it Backend: FastAPI with Python for fast, async API handling Database: SQLite with SQLAlchemy for persistent XP and achievement tracking AI: OpenRouter API with multi-model fallback (Gemini, Gemma, Llama) and 15-second timeout Frontend: Vanilla JavaScript with retro pixel-art CSS inspired by classic games Hybrid Content System: Pre-built quests work instantly without AI, custom topics use AI generation Challenges we ran into API Timeout Issues: Free AI models can be slow - we implemented a 15-second timeout with fallback to ensure responsive UX Multi-Level Content: Structuring content for 3 difficulty levels across 5 quests required careful content architecture Level Progression Bugs: Getting the UI to properly reset between levels while maintaining session state took multiple iterations Deployment Dependencies: Missing packages in requirements.txt caused initial deploy failures Accomplishments that we're proud of 15 complete learning modules (5 quests Γ 3 levels) that work without any API calls Unique Detective Mode - no other learning platform has mystery-solving as a learning mechanic Seamless hybrid system - featured quests are instant, custom topics use AI Beautiful retro gaming UI that makes learning feel like playing What we learned Hybrid AI systems are the future - pre-built content for reliability, AI for flexibility Gamification mechanics significantly increase engagement Error handling and fallbacks are crucial for AI-powered apps FastAPI + SQLite is a powerful combo for rapid prototyping What's next for Gamify AI User accounts with cloud-saved progress and achievements Multiplayer challenges - compete with friends on quizzes More pre-built quests - History, Science, Languages Mobile app with offline mode for pre-built content Teacher dashboard to create custom quest paths for classrooms


Log in or sign up for Devpost to join the conversation.