Game Development
On this page11 items
In 10 seconds
It’s strong at design and debugging, but it can’t judge what’s fun.
In solo development, what helped most was building a system that lets you keep going.
The reality of solo development#
When you make a game on your own, what stops you is usually not technology. It’s losing momentum.
- You don’t know where to start
- Half-finished pieces pile up and you lose sight of the whole
- While chasing a bug, you lose track of what you set out to do
- Six months later, you can’t read your own code
These four are where Claude helps. Let’s go through them in order.
Where to start#
The standard approach is to run one thin slice all the way through. Talking it over makes it concrete.
I'm making (description of the game you want to make) on my own.
・Define the "one working slice" I should build first
・Separate what goes into it from what deliberately stays out
・List the tasks needed to get that slice working, in dependency order
・Include a rough difficulty for each task
Don't write any code yet.The key is to have it list what deliberately stays out. Solo projects never finish unless you decide what to leave out.
Implementation#
Everything in Chapter 5 applies as is. Stick to the session pattern (No.37).
Investigate → plan → implement → verify.
There’s one caution specific to games: one loop isn’t complete until you’ve run it and checked.
Implement (feature).
・After implementing, actually launch it and confirm it works
・If there's anything you can't confirm, tell me what I should check
・Work in small steps. When one thing works, stop and show meUnless you add “when one thing works, stop”, you’ll end up with ten things built, all slightly wrong.
Debugging#
This is where it helps most.
(Symptom) is happening.
・Steps to reproduce: (if any)
・Files that might be involved: (if you have an idea)
・List three possible causes, most likely first
・For each, explain how to check it to narrow things down
・Don't fix anything yet. We'll fix it after narrowing it downThe line “don’t fix anything yet” is important. If you let it fix things before the cause is known, the symptom disappears but the cause remains.
And know the limits of rewind (No.39). Files deleted with bash commands and edits by subagents don’t come back. Commit before you start working.
Losing sight of the whole#
This is the most common failure in solo development. The fix is No.38 in Chapter 5.
Write what this project is in CLAUDE.md.
Create a CLAUDE.md for this project.
・What kind of game it is (one paragraph)
・The definition of done (what has to work for it to be finished)
・Things I've deliberately decided not to do
・What the directory structure means
・My naming conventions
Don't write anything that can be read from the code.The item “things I’ve deliberately decided not to do” pays off. Your future self six months from now won’t have to go over the same deliberation again.
Managing assets#
This is the part that falls apart as the count grows. Cowork from Chapter 4 is well suited to it.
Organize the assets folder.
・Naming convention: (the convention you decided on)
・List anything that doesn't follow the convention
・List files that aren't referenced from anywhere
・Before running, show me a list of the changes
Don't delete anything. Only move and rename.Always include the line “don’t delete anything”. Sometimes a reference just can’t be found, but the file is actually in use.
If you make your own 3D assets, go to No.76.
What you can’t hand over#
- Judging whether it’s fun
- Tuning the difficulty (you have to actually play it)
- Whether it feels good in the hands
- Deciding what to make
Everything you judge by playing is up to you. That holds throughout Chapter 10.
Try it: Decide what deliberately stays out (5 minutes)
If you have something you want to make, use that. If not, imagine a simple game.
Prompt
“`
I’m making (description of the game you want to make) on my own.・Define the “one working slice” I should build first
・Separate what goes into it from what deliberately stays out
・List the tasks needed to get that slice working, in dependency orderDon’t write any code yet.
“`Expected result: What goes in and what stays out are separated. Sometimes the thing you were going to build first ends up on the “stays out” side.
If it doesn’t work: If nothing ends up on the “stays out” side, ask again with emphasis on “the smallest thing that works”.
Common pitfalls#
Having it fix things before the cause is known. Only the symptom goes away.
Not running it to check. Code that looks like it works and code that works are different things.
Having it make big changes without committing. Some paths can’t be rewound (No.39).
Asking it to judge what’s fun. Play it.
Related pages#
- No.37 Session etiquette — investigate, plan, implement, verify
- No.39 Permission modes, sandboxing and rewind — paths that can’t be undone
- No.76 3D and Blender integration — making your own assets
- No.77 Solo development: from zero to launch — launch and operation
Summary#
- It helps with design and debugging. It can’t judge what’s fun
- First, decide what deliberately stays out
- For debugging: don’t fix it yet; narrow it down first
- Write what you decided not to do in
CLAUDE.md