All Startup Ideas

Gamified Coding RPG for Adult Learners

Adult coding RPG with real GitHub artifacts — quests, XP, and boss fights that ship portfolio work instead of cartoon katas.

Adults quit learning to code within weeks. The tutorials are dry. The feedback loop is a green checkmark on a multiple-choice quiz. Progress is invisible unless you count certificates you would not show a hiring manager. You copy Stack Overflow, the tests pass, and you still do not know whether you got better or got lucky. Traditional coding education treats programming like a textbook. It should feel like a skill tree. Codecademy and freeCodeCamp did important work and still lose people to boredom — the research around this idea cites dropout on the order of 60% for traditional platforms. r/learnprogramming (1 million-plus) runs posts like "games that teach adults computer coding" that pull 90+ comments. r/gamedev (2 million) argues about whether game-based learning actually transfers. Facebook groups such as Gamification For Education (6.6K) are mostly aimed at K-12, which is exactly the problem: the adult who wants to ship an API is offered Scratch.

Built for Developers, Solo Founders.

Suggested stack: Next.js 15, Monaco or CodeMirror 6, Judge0 or a homegrown Node VM, Supabase, GitHub App, Claude. Weekend scope: about 8 hours.

The Problem

Adults quit learning to code within weeks. The tutorials are dry. The feedback loop is a green checkmark on a multiple-choice quiz. Progress is invisible unless you count…

The Solution

CodeQuest wraps production-grade challenges in RPG framing. You are not "completing module 3." You are debugging a crashed ship's nav system or writing an API to decode a scroll.…

Market Research

Global gamified learning is projected around $25.7B by 2025 at a 27.3% CAGR from 2020 (figures cited throughout Ideabrowser competitive analysis, idea 7147). Coding education as a…

Competitive Landscape

CodeCombat — 530+ levels, Python/JS, RPG, Roblox integration, freemium, school-friendly. Strongest narrative competitor. Kid-to-teen center of gravity. Weak on adult "boss fights"…

Business Model

Free — Chapter 1, GitHub export, no guilds

Recommended Tech Stack

Next.js 15 — Marketing + quest UI. Keep the IDE in a client island.

AI Prompts to Build This

Copy these build prompts into Claude, Cursor, or your AI coding tool. Create a free account to unlock the full research behind them.

  1. 1. Project Setup

    Build the weekend MVP of "CodeQuest": an adult coding game where each quest is a real task with failing tests, and XP comes only when they pass. One chapter of three quests this weekend.
    
    Stack: Next.js (App Router), TypeScript, Tailwind, Supabase (Postgres, Row Level Security, Auth with email magic link), CodeMirror 6 for the editor. Quests run in a sandboxed iframe in the browser, so no server runs learner code. Deploy on Vercel. No cartoon mascots: a dark interface with one gold accent.
    
    Tables (Row Level Security on, each user reads only their own profile, attempts and loot; quests are read-only to signed-in users):
    - profiles(user_id, display_name, xp, chapter)
    - quests(id, slug, ordinal, title, story_md, starter_code, tests, hint, xp_reward, loot_name, loot_snippet)
    - attempts(id, user_id, quest_id, passed boolean, code, created_at)
    - inventory(id, user_id, quest_id, name, snippet)  one row per user and quest
    
    Screens: /login, / (the chapter map), /play/[slug], /inventory.
    Env vars (names only): NEXT_PUBLIC_SUPABASE_URL, NEXT_PUBLIC_SUPABASE_ANON_KEY, SUPABASE_SERVICE_ROLE_KEY (server only).
    
    Do not build: billing, plans or packs, a server-side judge or hidden tests, GitHub repos or pushes, an AI reviewer, guilds, Python or SQL quests.
    Done when: npm run dev starts, you can sign in, and the four tables exist with Row Level Security on.
  2. 2. Core Feature

    Build the one feature that proves CodeQuest: a quest you can fail, fix and pass in about 15 minutes.
    1. Seed three quests in one chapter, each with a short story, starter code and tests: fix a broken status page (HTML and CSS, checked against the rendered DOM), write a function that decodes a scroll string, and write a function that parses a navigation log into totals.
    2. /play/[slug] shows the story and the visible tests on the left and a CodeMirror 6 editor on the right.
    3. Run puts the learner's code and the test assertions into an iframe with sandbox="allow-scripts" and no network, and reports results by postMessage. Remove the iframe after 3 seconds if it has not finished, and show "Your code took too long".
    4. Show only the first failing assertion by name, never the whole test file.
    5. On a pass, insert an attempts row, add the quest's xp_reward to profiles.xp once per quest (a second pass adds nothing) and add the quest's loot to inventory. /inventory lists the loot snippets with a Copy button.
    6. A Hint button shows the quest's hint, which points at the failing test by name. There is no button that shows a full solution.
    Rules: say plainly on the play page that in this version tests run in your browser, so XP is on the honor system. Never run learner code on the server.
    Empty state: a new learner sees the chapter map with quest one open and the rest locked until the one before it is passed.
    Done when: quest one fails with the first failing test named, passes after a fix, adds XP and loot once, an endless loop is stopped after 3 seconds, and the hint never shows a solution.
  3. 3. Landing Page

    Build a one-page landing site for CodeQuest, a coding game for adults who want to ship real work.
    Hero: "Learn to code by finishing real tasks." Sub: "Quests with failing tests, XP when they pass and loot you can reuse. No cartoon katas." One button: Join the waitlist.
    Sections: a mock quest screen with a story, a failing test and the editor, how it works in three steps (take a quest, make the tests pass, collect the loot), and an FAQ on what is in the first chapter (three web quests), what is coming (a GitHub portfolio, guilds and more languages) and how grading works today.
    Waitlist: store the email in a waitlist table in Supabase. No other service.
    Style: Geist with Geist Mono for code, a near-black background, one gold accent, no mascots.
    Done when: the page renders on a phone and a submitted email appears in the waitlist table.
  4. 4. Branding Package

    Use a design or image tool for this one. A coding agent cannot draw a logo.
    Brand for CodeQuest: a wordmark and an icon that suggest a pair of curly braces shaped like a shield.
    Colors: near-black, off-white and one gold. Type: Geist for the interface, Geist Mono for code.
    Deliverables: wordmark, icon, three rank badges (apprentice, journeyman, captain) that differ by shape as well as color, a quest card style, and one launch graphic.
    Done when: each deliverable is saved in one folder and the rank badges are distinguishable without color.