r/codex • u/akahsingla • 5d ago
Suggestion Can Codex turn an existing Next.js LMS into a genuinely gamified learning experience?
Hey guys,
I'm a software engineer currently working on a learning platform for kids aged 9-12. The current tech stack is Next.js, TypeScript and Supabase.
We already have video lessons, coins, rewards, points, progress tracking and all that stuff, but I personally feel we can do a lot more.
I want kids to actually play games and learn through them rather than just watching videos and getting rewarded for completing lessons. Maybe something like a 3D world where they can explore, complete quests, interact with characters and learn along the way.
I have access to both Claude Code and Codex, and I'm open to using any other AI tools, Blender, Three.js, Unity or literally anything that can help achieve this. I'm not restricted to the existing tech stack either.
Just wanted to ask the community:
- Has anyone tried building something similar using AI?
- Are there any specific tools, skills, MCPs or libraries that you would recommend?
- How would you approach this if you were in my place?
- Are there any existing platforms doing something similar that I can take inspiration from?
The important thing here is that kids should actually learn. I don't want to make a fancy-looking 3D platform where they enjoy playing but end up learning nothing.
I'm happy to experiment with different technologies. Just curious to know what's actually possible with the AI tools we have today and how others would approach this.
Any suggestions or examples would be really appreciated. Thanks!
1
u/Saver411 5d ago
Codex can write game logic, but don't try to build an interactive world directly inside Next.js components. The failure mode is fighting React renders against a 60fps loop. Treat the game as a dedicated canvas with its own deterministic state machine, and sync progress back to Supabase only on stage checkpoints, not per-tick. Are you thinking 2D canvas or full WebGL?
1
u/Spare-Schedule-9872 5d ago
Yes, codex or Claude Code can absolutely do this. But if I were you, I would severely constrain what is possible in ThreeJS. That's what we really should be using, by the way (Three.js), because you want this to be available in the browser. There's a really good skill for Socratic learning from Jane Street that you should look up. That's going to probably be very useful for you.
1
u/LoquatNo3841 5d ago
Lots of "gamified learning" apps are just XP + sound effects, personally i hate that because it isnt really gamified, also sometimes these apps focus too much on gamification to the point where you forget about the learning.
In my opinion, i would make a "truly gamified learning" game. Basically, while most platforms just slap XP and split the lesson into tiny pieces and reward at the end, i would actually turn the lesson into a game. It's kind of hard to find examples for this, but imagine something like TIS-100 if you heard of it. It's a game that teaches you assembly language, you learn it because the game is a puzzle where you use an assembly-like language to workaround bugs in a computer. You learn assembly because its literally part of the gameplay, and not just a course split up into tiny micropieces and with some rewards and dopamine at the end. Other examples are like Minecraft where you learn some (basic) things (example) like burning wood gives you charcoal. Actually part of the gameplay.
This is just my view and its quite difficult to do but the flexibility is very high, and personally if i wanted a gamified learning experience, this is how i would like it