Skip to content
SoleonePublic

About

A story based game to learn programming and become a developer

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

ย 

History

24 Commits

Folders and files

Repository files navigation

Gig Quest

Learn JavaScript by taking freelance gigs to make rent. Clients like Betty the baker bring you real problems, Chip the robot guide explains the idea, and you solve each task with real code in the editor that powers VS Code, checked the moment you finish.

Play it in your browser, no sign-up: Betty's first job is five short tasks.

Betty's first job: the briefing, Betty and Chip explaining the task, the answer typed into the editor and passed, then the next task

๐ŸŽฎ What is Gig Quest?

Gig Quest combines Phoenix Wright-style visual novel storytelling with real JavaScript programming. Players write actual, executable code in a professional Monaco editor (the same engine that powers VS Code) to complete tasks for memorable clients like Betty the bakery owner and Mario the pizza shop owner.

The Problem We're Solving

Traditional coding tutorials are boring. Game Dev Story lets you "pretend" to program. Codecademy is effective but lacks narrative motivation. No game teaches programming through story with real, executable code in a professional editor.

What Makes It Different

  • โœ… Real JavaScript - Not multiple choice, not abstraction - actual code that runs
  • โœ… Professional Tools - Monaco editor with syntax highlighting, autocomplete, debugging
  • โœ… Story-Driven - Every task has purpose - help Betty save her bakery, optimize Mario's pizza orders
  • โœ… Expert Teaching - Built by someone who understands games, development, AND pedagogy
  • โœ… Universal Access - Beginners to experts, any age, browser-based (no install friction)

๐ŸŽฎ Live Demo

Coming soon at gigquest.dev


๐ŸŽฏ Core Features

๐Ÿ–ฅ๏ธ Professional Code Editor

  • Monaco editor (VSCode engine) with full syntax highlighting
  • Real-time error detection and autocomplete
  • Standard keyboard shortcuts (Ctrl+C/V/Z, etc.)
  • <100ms code execution feedback

๐Ÿ“– Visual Novel Presentation

  • Phoenix Wright-style character portraits and dialogue
  • Personality-driven storytelling (Betty is warm, Mario is enthusiastic)
  • Chip the AI teaching companion explains concepts through narrative context
  • Memorable clients with real problems to solve

๐ŸŽ“ Real Learning Outcomes

  • Write JavaScript that actually executes (no toy language)
  • Scale from variables to complete applications
  • Learn professional development patterns
  • Build a portfolio of projects by the end

๐Ÿ“Š Progression Systems

  • Money - Earn cash to make rent, unlock new opportunities
  • Reputation - Build credibility to access higher-tier clients
  • Expertise - Granular skill tracking (const, let, loops, functions, etc.)

๐ŸŽจ Design Pillars

These five pillars guide all development decisions:

  1. Authentic Code Editor - Monaco mimics professional workflows
  2. Real JavaScript - Executable code teaches transferable skills
  3. Visual Novel Presentation - Phoenix Wright-style character-driven storytelling
  4. Pro Developer Teaching - Industry-standard practices, expert pedagogy
  5. Concise Gameplay - Tight loops, clear goals, satisfying progress

๐ŸŽฏ Target Audience

Age: All ages (13+ for reading comprehension) Experience: Complete beginners to expert developers seeking fresh perspective Motivation:

  • Want to become a programmer (career change, exploration)
  • Tried tutorials but found them boring
  • Curious what it feels like to code
  • Want narrative motivation and context
  • Experienced devs seeking "beginner's mind" and opinionated patterns

๐Ÿ—๏ธ Tech Stack

Category Technology
Framework Next.js 16 (App Router)
Language TypeScript (strict mode)
UI React 19, Tailwind CSS 4
Code Editor Monaco Editor
State Management Zustand
Content YAML (narrative) + JSON (technical)
Deployment Vercel (web browser)

๐Ÿ“Š Performance Targets

  • 60fps UI interactions
  • <100ms code execution feedback
  • <3s initial page load
  • <2s Monaco editor ready

๐Ÿš€ Quick Start

Prerequisites

  • Node.js 20+ (recommended)
  • Modern browser (Chrome, Firefox, Safari, Edge - last 2 versions)

Installation

# Clone the repository
git clone https://github.com/Soleone/gigquest.git
cd gigquest

# Install dependencies
npm install

# Run development server
npm run dev

Open http://localhost:3000 to start coding!

First Steps

  1. Meet Betty - Your first client runs a bakery and needs help tracking sales
  2. Write Real Code - Use the Monaco editor to store variables, calculate totals
  3. Pass Tests - Your code validates automatically - instant feedback
  4. Earn Money - Complete tasks to make rent and unlock new clients
  5. Level Up - Build expertise in JavaScript concepts through granular progression

๐Ÿ“ Project Structure

gigquest/
โ”œโ”€โ”€ src/
โ”‚   โ”œโ”€โ”€ app/              # Next.js pages and routing
โ”‚   โ”œโ”€โ”€ components/       # React components
โ”‚   โ”‚   โ”œโ”€โ”€ TaskView.tsx           # Main game screen
โ”‚   โ”‚   โ”œโ”€โ”€ CodeEditor.tsx         # Monaco integration
โ”‚   โ”‚   โ”œโ”€โ”€ TestRunner.tsx         # Code validation
โ”‚   โ”‚   โ””โ”€โ”€ CharacterDialogue.tsx  # Visual novel UI
โ”‚   โ”œโ”€โ”€ content/          # YAML files (story, dialogue, clients)
โ”‚   โ”œโ”€โ”€ data/             # JSON files (tests, skills, technical data)
โ”‚   โ”œโ”€โ”€ lib/              # Utilities (code execution, formatting)
โ”‚   โ”œโ”€โ”€ store/            # Zustand state management
โ”‚   โ””โ”€โ”€ types/            # TypeScript definitions
โ”œโ”€โ”€ _bmad/                # Game development methodology
โ”œโ”€โ”€ _bmad-output/         # Generated docs (GDD, architecture)
โ””โ”€โ”€ docs/                 # Additional documentation

๐Ÿšง Development Status

โœ… Completed (Phase 1)

  • Core game loop (view job โ†’ write code โ†’ pass tests โ†’ next task)
  • Monaco editor integration with syntax highlighting
  • Code execution and validation system
  • Visual novel dialogue system
  • One complete job (Betty's Bakery - 4 tasks)
  • YAML + JSON content separation architecture

๐Ÿšง In Progress

  • Game Design Document (GDD) finalization
  • Additional client jobs (Mario, Chen, Sarah)
  • Character dialogue refinement
  • Progression system implementation

๐Ÿ“‹ Planned (Future Phases)

  • Money/reputation mechanics
  • Expertise tracking and skill trees
  • Hint system with progressive guidance
  • Mobile/iPad optimization
  • Additional chapters (advanced JavaScript, frameworks)

๐Ÿค Contributing

This is currently a solo side project, but contributions are welcome! If you'd like to help:

  1. Read CLAUDE.md for AI agent context and architecture
  2. Check _bmad-output/gdd.md for game design reference
  3. Follow existing code patterns (see CLAUDE.md style guidelines)
  4. Test your changes locally before submitting PR

Areas Where Help is Welcome

  • Content creation (new jobs, characters, tasks)
  • UI/UX improvements
  • Performance optimization
  • Bug fixes
  • Documentation

๐Ÿ“– Documentation

  • CLAUDE.md - Comprehensive AI agent context (start here for development)
  • _bmad-output/gdd.md - Game Design Document (vision, goals, mechanics)
  • src/types/game.ts - Core type definitions and data models

๐Ÿ“œ License

MIT License - See LICENSE file for details


๐Ÿ™ Acknowledgments

Built with:

  • Monaco Editor - Microsoft's VSCode editor engine
  • Next.js - Vercel's React framework
  • BMAD - Game development methodology
  • AgentVibes - AI agent collaboration tools

๐Ÿ“ฌ Contact

Project Owner: Sole Status: Active side project Feedback: Open an issue on GitHub


Remember: This isn't just a game about programming - it's about the journey of becoming a developer. Every line of code should make that journey feel meaningful, satisfying, and human.

About

A story based game to learn programming and become a developer

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages