Skip to main content
smileynet

game

by smileynetv0.5.1

Game design spice for Line Cook — MLP scoping, core loop frameworks, economy design, difficulty curves, content planning, mechanics palette, playtesting, scenario walkthroughs, anti-patterns, architecture auditing, with interactive commands, code review agent, and implementation guidance

Installation guide →
14 skillsMIT GitHub

Keywords

game-designspiceline-cookscopingcore-loopeconomyplaytestingbalancedifficultycontent-planninglevel-designmechanicsaccessibilityauditarchitectureplan-auditcode-qualitycommandsagentsimplementation

Commands

balance-check

Audit your game's economy balance and difficulty curve to catch design issues before they become code problems

brainstorm

Explore and define a game concept through conversation

build-plan

Generate a Game Design Document and Technical Specification from simulation data

decisions

Browse and search design decisions from the active session

help

Show available game design commands and workflow overview

simulate

Run an interactive Wizard of Oz gameplay simulation with ASCII wireframes

start

Start a new game design session or resume an existing one

status

Show the current state of your game design session

walkthrough

Generate a structured 5-beat scenario walkthrough to visualize the player experience before building

Documentation

# Game Spice

Game design spice for [Line Cook](https://github.com/smileynet/line-cook) — MLP scoping, core loop frameworks, economy design, difficulty curves, content planning, mechanics palette, playtesting methodology, scenario walkthroughs, planning anti-patterns, and architecture auditing.

## Quick Start

After [installing Line Cook](https://github.com/smileynet/line-cook#installation):

```bash
/plugin marketplace add smileynet/line-cook
/plugin install game@line-cook
/line:mise                                    # Plan a game
```

> **New here?** See the [tutorial](docs/tutorial.md) for a complete walkthrough planning a roguelike dungeon crawler.

Update: `/plugin update game`

## What It Looks Like

Here's a brainstorming session with game-spice active. The skills inject game-specific questions and frameworks automatically:

```
You: I want to make a roguelike dungeon crawler.

Claude: Let's explore that! First, some questions to shape the concept:

**What aesthetic are you targeting?**                     ← game-design-frameworks
MDA gives us 8 aesthetics. For a roguelike, the primary
candidates are Challenge, Discovery, and Sensation.
Which 1-2 resonate most?

You: Challenge and Discovery.

Claude: Good combo. Now let's nail the core loop:

**Can you describe your core loop in one sentence?**     ← game-scoping
Format: "Player [verbs] to [goal], earning [reward]
that enables [reinvestment]."

You: Player explores rooms to find loot, earning gear
     that enables deeper dungeon runs.

Claude: That's a clean loop. Let's browse mechanics
that could make exploration feel distinct:

**What movement style fits your vision?**                ← game-mechanics-palette
From the palette: grid-based, free movement,
auto-runner, teleport, grapple/swing...
Grid-based is classic roguelike. Free movement
opens real-time combat options.

You: Grid-based, turn-based.

Claude: Classic choice. For the economy:

**How complex should the resource system be?**           ← game-economy-design
┌─────────────────┬─────────────────────────────────┐
│ None            │ Pure action, no currency         │
│ Single resource │ Gold only — simple, clear        │
│ Dual currency   │ Gold + XP — spend vs grow        │
│ Full economy    │ Multiple interacting resources    │
└─────────────────┴─────────────────────────────────┘
For an MLP roguelike, dual currency is the sweet spot.
```

Each question comes from a different skill, but they flow as a natural conversation. Game-spice doesn't change what Line Cook does — it changes what Claude *knows to ask about* during planning.

## When to Use

**Use game-spice when:**
- Planning a new game project with `/line:mise`
- Scoping an MLP and need to cut features ruthlessly
- Designing core loops, economies, or difficulty curves
- Implementing game systems (game loop, state machines, input handling)
- Reviewing game code for architecture issues
- Running `/game:walkthrough` to visualize player experience
- Running `/game:balance-check` to audit economy and difficulty
- Auditing your plan for anti-patterns, completeness, or architecture issues

**Skip it when:**
- Building non-game software (game-spice only adds game concepts)
- Working on a game engine or tooling project (not game design)

## Interactive Game Design

Game-spice includes an interactive design workflow that takes you from idea to implementation plan through structured conversation. Each phase builds on the previous one, with persistent state tracking and decision provenance throughout.

```
/game:start → /game:brainstorm → /game:simulate → /game:build-plan
    │              │                    │                  │
    │              │                    │                  └─ GDD + Tech Spec
    │              │                    └─ Wizard of Oz playtest
    │              └─ Concept definition
    └─ Session creation
```

Start a session, brainstorm your concept through natural conversation, prove the core loop works with an interactive simulation, then generate production-ready design documents. Use `/game:status` to check progress and `/game:decisions` to review the decision trail at any point.

`/game:walkthrough` and `/game:balance-check` are complementary tools — use them at any stage to stress-test your design. Walkthroughs reveal gaps in moment-to-moment experience; balance checks catch economy and difficulty issues.

## Commands

### Interactive Design Workflow

| Command | Description | When to Use |
|---------|-------------|-------------|
| `/game:start` | Start a new session or resume an existing one | Beginning a new game design |
| `/game:brainstorm` | Explore and define a game concept through conversation | Turning an idea into a structured concept |
| `/game:simulate` | Run a Wizard of Oz gameplay simulation with ASCII wireframes | Proving the core loop works before coding |
| `/game:build-plan` | Generate a GDD and Technical Specification from simulation data | Turning design into implementation documents |
| `/game:status` | Show current session state and progress | Checking where you are in the workflow |
| `/game:decisions` | Browse and search design decisions with provenance | Reviewing what was decided and why |
| `/game:help` | Command reference and workflow overview | Quick orientation |

### On-Demand Tools

| Command | Description | When to Use |
|---------|-------------|-------------|
| `/game:walkthrough` | Generate a structured 5-beat scenario walkthrough | Visualize player experience before building |
| `/game:balance-check` | Audit economy balance and difficulty curves | Catch design issues before they become code problems |

## Agents

| Agent | Description |
|-------|-------------|
| **game-reviewer** | Game-specific architecture review during `/line:serve`. Detects game engine/framework, applies an 8-category health scorecard, and flags game-specific smells (physics in render loops, missing delta time, god update functions, per-frame allocations). |

## What's Inside

| Skill | Activates During | Key Topics |
|-------|-------------------|------------|
| **game-scoping** | `/scope`, MLP planning | MLP vs MVP, 3-feature rule, tracer bullets, MoSCoW, 30% rule |
| **game-design-frameworks** | `/brainstorm`, idea exploration | MDA framework, core loops, player motivation, systems thinking |
| **game-mechanics-palette** | `/brainstorm`, mechanic selection | 54 mechanics in 10 categories, mashup patterns, guided exploration |
| **game-economy-design** | `/brainstorm`, `/scope` | Taps & sinks, currency tiers, progression curves, genre patterns |
| **game-difficulty-design** | `/scope`, challenge design | Flow state, difficulty curves, accessibility, recovery mechanics |
| **game-content-planning** | `/scope`, world structure | World structure, pacing, procedural vs handcrafted, content reuse |
| **game-playtesting** | `/scope`, plan review | 3-question framework, MVPt, build-test-learn, pivot decisions |
| **game-scenario-walkthrough** | `/scope`, `/finalize` | 5-beat template, input/feedback mapping, experience narration |
| **game-antipatterns** | Plan review, scope audits | Top 10 anti-patterns, over-scoped rubric, pre/post-planning audits |
| **game-plan-audit** | `/plan-audit`, plan review | Plan completeness, GDD quality, scope scoring, economy/difficulty/playtest readiness |
| **game-architecture-audit** | `/architecture-audit` | Game loop, state machines, entity architecture, performance, Godot, Rust/Bevy, Unity, Unreal, Python, TypeScript patterns |
| **game-implementation** | `/line:cook`, coding game systems | Game loop setup, state management, input handling, frame budget, entity architecture, delta time |
| **ascii-wireframing** | `/game:simulate`, wireframe creation | Box-drawing toolkit, common primitives, genre-specific starter patterns, legend.yaml conventions |
| **simulation-guide** | `/game:simulate`, gameplay simulation | Facilitator stance, turn structure, coverage pacing, scope control, decision recording |

14 skills, 9 commands, 1 agent.

## How It Works

Game-spice has two layers: **interactive commands** that guide you through game design, and **passive skills** that enrich Line Cook phases with game knowledge.

### Interactive Design Commands

The `/game:*` commands form a linear workflow with utility commands available at any point:

```
 /game:start ──> /game:brainstorm ──> /game:simulate ──> /game:build-plan
     │                │                     │                    │
     │                │                     │                    └─ GDD + Tech Spec
     │                │                     └─ Wizard of Oz playtest
     │                └─ Concept + decision log
     └─ Session + state tracking

 Available anytime:
   /game:status    /game:decisions    /game:help
   /game:walkthrough    /game:balance-check
```

### Passive Skills

Skills load automatically when Line Cook commands detect game project context. No configuration needed — skill descriptions contain trigger keywords that Claude matches against.

```
 /brainstorm               /scope                        Plan Review
┌────────────────────┐    ┌──────────────────────────┐    ┌──────────────────┐
│ game-design-       │    │ game-scoping             │    │ game-antipatterns │
│   frameworks       │    │ game-economy-design      │    └──────────────────┘
│ game-mechanics-    │───>│ game-difficulty-design    │───>
│   palette          │    │ game-content-planning    │
│ game-economy-      │    │ game-playtesting         │
│   design           │    │ game-scenario-walkthrough│
└────────────────────┘    └──────────────────────────┘

 /plan-audit                /architecture-audit
┌────────────────────┐    ┌──────────────────────────┐
│ game-plan-audit    │    │ game-architecture-audit   │
│   questionnaires.md│    │   godot.md               │
│   telemetry.md     │    │   rust.md                │
└────────────────────┘    │   unity.md               │
                          │   unreal.md              │
                          │   python.md              │
                          │   typescript.md          │
                          └──────────────────────────┘

 /line:cook                 /line:serve
┌────────────────────┐    ┌──────────────────────────┐
│ game-implementation│    │ game-reviewer (agent)     │
│   (coding guidance)│    │   (architecture review)   │
└────────────────────┘    └──────────────────────────┘

 /game:walkthrough          /game:balance-check
┌────────────────────┐    ┌──────────────────────────┐
│ Scenario generation│    │ Economy & difficulty      │
│   (5-beat template)│    │   audit on demand         │
└────────────────────┘    └──────────────────────────┘

 /game:simulate
┌────────────────────┐
│ ascii-wireframing  │
│ simulation-guide   │
└────────────────────┘
```

Skills can activate in multiple phases — `game-economy-design` appears in both brainstorm and scope because resource decisions start broad and get concrete. Audit skills include engine-specific sub-files loaded on demand when Godot, Rust/Bevy, Unity, Unreal, Python, or TypeScript context is detected.

## FAQ

**Do I need to configure anything?**
No. Install the plugin and plan a game. Skills activate automatically based on what you're discussing. There's no config file, no setup step.

**Does game-spice work without Line Cook?**
The skills are designed for Line Cook's `/mise` workflow (brainstorm → scope → finalize). Without Line Cook, Claude won't have the planning commands that trigger these skills.

**What about non-standard genres?**
The frameworks are genre-agnostic. MDA, core loops, difficulty curves, and economy design apply to any game — the genre-specific examples just help illustrate the concepts. The mechanics palette covers 10 categories spanning most game types.

**MLP vs MVP — what's the difference?**
MVP (minimum viable product) asks "what's the least we can ship?" MLP (minimum lovable product) asks "what's the least that's *worth playing*?" Games need to be fun, not just functional. Game-spice uses MLP throughout because a game that works but isn't fun has failed.

**Does game-spice only work during planning?**
No. Skills activate throughout the development cycle: planning (`/mise`), implementation (`/line:cook`), review (`/line:serve`), and auditing (`/plan-audit`, `/architecture-audit`). Commands like `/game:walkthrough` and `/game:balance-check` are available on demand.

## Learn More

- [Tutorial](docs/tutorial.md) — Plan a roguelike dungeon crawler from scratch
- [Line Cook Tutorial](https://github.com/smileynet/line-cook/blob/main/docs/tutorial-claude-code.md) — Full workflow walkthrough
- [Changelog](CHANGELOG.md) — Version history

## Local Development

```bash
/plugin marketplace add /home/sam/code/game-spice
```

## Requirements

- Claude Code >= 1.0.33
- [Line Cook](https://github.com/smileynet/line-cook) plugin (for mise workflow integration)

## License

MIT