Prompts that turn an AI coding assistant into an architecture and code reviewer for your game. AI is quick to add features; these prompts make it stop and check that the code underneath stays well structured, consistent, testable and fast, so the project doesn't fall apart as it grows.
16prompts
15categories
Any engineUnity · Unreal · Godot · custom
What they're for. Building good game architecture and reviewing code. Most of the prompts are reviews:
the overall architecture, how systems are split, saves, performance, tuning data, tests and security. The rest cover the moments
when reviews matter most: before a new feature, before a refactor, while chasing a bug, and before a build goes out.
How to use them. Open your project in an AI coding assistant, paste a prompt, and fill in the [square brackets]:
every prompt starts with a short project context block (engine, game, platforms, team). The reviews don't change code. They ask the
assistant to point at the file and line behind each finding, to say what it could not check, and to save its report in your project.
Read the report, decide what to act on, then use Implement One Finding & Verify It to make the changes one at a time.
ArchitectureRecommended milestone gate
Game Architecture & Codebase Milestone Review
The full checkpoint: whether the game's architecture and code can carry the next stage of production, with a verdict and a short ranked list of what to fix.
architecturegame-loopsystemsmodularitytech-debt
We have reached a development milestone on this game. Before any more features are added, review the architecture and the code as they stand today, so that problems are found while they are still cheap to fix.
## Project context (fill in before sending)
- Engine and version: [e.g. Unity, Unreal or Godot, and the version]
- The game: [genre, and one line on what the player does]
- Platforms and target frame rate: [e.g. Windows PC and Steam Deck at 60 FPS]
- Team and stage: [e.g. solo developer, prototype / four people, in beta]
- Scope of this review: [the whole project, or the systems or folders to concentrate on]
## How to work
- Read the code before judging it. Give a file path and a line or function name for every finding, so each one can be checked.
- Mark each finding Verified (you read the code that shows it) or Suspected (you inferred it; say what would confirm it).
- If the project is too large to read in full, say which parts you read and which you did not, and spend your time on the parts that matter most to this review.
- Where you are able to run things (the build, the tests, a script), run them and report what you ran and what happened. Don't say something passes or fails unless you ran it.
- Don't change any code in this step. We want to read the report and decide what to act on first.
## What to judge
The question is whether this codebase can carry the next stage of production: more content, more systems, more people. Judge it as one system, not file by file. A game that runs and is fun is not proof that it is well built.
Start by understanding it: the main loop (startup, scene loading, per-frame and fixed updates, shutdown), the major gameplay systems, and the two data flows that matter most: input → rules → presentation, and game state → save file → game state.
Then look for the problems that do the most damage in game code:
1. **Boundaries.** Do the game rules depend on UI, scene objects or presentation? Do systems reach into each other's internals? How do systems find each other (singletons, scene lookups, injection, events), and is that one approach or several?
2. **God classes.** A GameManager, PlayerController or UIManager that owns unrelated jobs; very large Update or Tick methods.
3. **Content and tuning.** If we added another weapon, enemy, item, level or game mode, how much code would change? Look for hard-coded stats, IDs, tags and scene names, switch statements over content types, and content defined in code.
4. **State ownership.** Two sources of truth for one value; runtime state written into shared data assets; save data tied to scene objects or class layouts.
5. **Time and order.** Frame-rate-dependent logic; initialization-order races; pause and time-scale handling; coroutines, async work and event subscriptions that outlive their owners.
6. **Consistency.** The same problem solved several ways (spawning, pooling, timers, events, error handling, serialization); two models of one concept.
7. **Failure handling.** Swallowed exceptions, null checks that hide real bugs, silent failure on missing content or a corrupt save.
8. **Testability.** Can the core rules run without a scene, with time and randomness under control?
9. **Overengineering.** Interfaces, factories and managers with a single use; a framework built for one mechanic; an event bus hiding what could be a direct call; architecture for features that aren't in the design.
10. **Design versus code.** Where the design documents and the implementation disagree.
Mention performance, save-system, test-coverage and security problems here only when they are architectural. The separate Performance, Save System, Test Coverage and Security prompts go deeper.
Finish with the growth test: what works today but breaks if the content triples, a second platform is added, old saves must keep loading, or a new programmer joins?
## Report
Lead with what matters most and keep the report as short as the findings allow. If a section has nothing worth saying, write "nothing significant" instead of filling it.
1. Verdict, first: READY / READY WITH MINOR CORRECTIONS / REFACTOR BEFORE CONTINUING / MAJOR REVISION REQUIRED, with the reasons in one short paragraph. Don't soften it.
2. Architecture summary: the systems, how they relate and the main loop, in under 200 words.
3. What is done well and should be left alone.
4. Findings, most serious first. No more than ten; fewer is better than padding. For each: priority, location, what the code does now, why that is a problem, what happens if it is left, and the smallest fix.
5. Overengineering: what to simplify or delete.
6. Minor cleanup, as a short list.
7. Action plan: the order to do things in.
8. What you did not check: the parts of the project or the questions you could not cover, and why.
Priorities: P0 = fix before other work continues; P1 = fix soon; P2 = fix when that area is next worked on; P3 = optional cleanup.
Save the report as a Markdown file in the project, for example `docs/reviews/YYYY-MM-DD-architecture-milestone-review.md`, so later reviews and fix plans can refer to it. That file is the only thing you should create or change.
## Ground rules
- Recommend the smallest change that fixes the real problem. No rewrites of working systems, no patterns for their own sake, no extension points for features that aren't planned.
- Don't propose changes to game feel, balance or player-facing behavior unless it is clearly a bug.
- Say when a recommendation would break save files, scene references or serialized fields.
- When you find a problem, search for the same pattern elsewhere before calling it a local issue.
- If something is good, say so and leave it.
Planning
Pre-Feature Impact Review
Use before adding a mechanic or system: maps what it touches and plans the smallest safe way to build it, without breaking saves, balance or other systems.
planningfeaturemechanicsdependencies
We want to add the feature described below. Before any code is written, work out the safest way to build it on the existing architecture.
## Project context (fill in before sending)
- Engine and version: [e.g. Unity, Unreal or Godot, and the version]
- The game: [genre, and one line on what the player does]
- Platforms and target frame rate: [e.g. Windows PC and Steam Deck at 60 FPS]
- Team and stage: [e.g. solo developer, prototype / four people, in beta]
- The feature: [what the player sees and does, and any rules or numbers already decided]
## How to work
- Read the code before judging it. Give a file path and a line or function name for every finding, so each one can be checked.
- Mark each finding Verified (you read the code that shows it) or Suspected (you inferred it; say what would confirm it).
- If the project is too large to read in full, say which parts you read and which you did not, and spend your time on the parts that matter most to this review.
- If an earlier review report exists (for example in `docs/reviews/`), read the parts that cover the systems this feature touches.
- Don't write the feature yet. A plan we agree on first is cheaper than code we have to undo.
## What to work out
1. Restate the feature in your own words: how the player experiences it, and the design questions that are still open.
2. Which existing systems, components, scenes, prefabs or blueprints, data assets, UI screens and save data it touches.
3. Which existing patterns it should follow: how other mechanics are defined, spawned, tuned, saved and shown in the UI.
4. Which boundaries it must not cross (for example, game rules must not depend on the UI).
5. Whether it belongs inside an existing system or should be a new one.
6. Which values should be tunable data, not constants in code.
7. What changes in the save data, and how older saves will load.
8. The input, UI, audio, VFX, localization and accessibility work it implies.
9. Performance risks on the target platforms: per-frame cost, spawn counts, memory.
10. Likely regressions in other mechanics, in balance and in existing levels.
11. Any logic that already exists and would be tempting to duplicate.
12. Any part of the request that fights the current architecture or the game design. If the architecture makes the feature awkward, say so plainly; don't force it into the wrong place.
## Report
Lead with what matters most and keep the report as short as the findings allow. If a section has nothing worth saying, write "nothing significant" instead of filling it.
1. The feature as you understand it, and the open design questions that need an answer before work starts.
2. Impact: the systems, files and assets affected.
3. Recommended approach, and the alternatives you rejected and why.
4. Data and tuning plan.
5. Save compatibility plan.
6. Risks: technical, performance and balance.
7. Tests to add, and what to check by playing.
8. Implementation sequence: the smallest steps, each leaving the game playable.
9. What you did not check: the parts of the project or the questions you could not cover, and why.
Save the report as a Markdown file in the project, for example `docs/reviews/YYYY-MM-DD-pre-feature-impact-review.md`, so later reviews and fix plans can refer to it. That file is the only thing you should create or change.
## Ground rules
- Extend the existing clean patterns before inventing new ones.
- Keep the plan to this feature. Note unrelated problems you see in a short list at the end; don't fold them into the plan.
Refactoring
Refactor Safety Plan
Use after a problem is found and before working game code is changed: scope, what must not change, serialized data and saves at risk, and how to prove nothing broke.
refactorriskserializationtests
A refactor has been proposed for this game. Before any code changes, produce a plan that shows it can be done safely, or that it isn't worth doing.
## Project context (fill in before sending)
- Engine and version: [e.g. Unity, Unreal or Godot, and the version]
- The game: [genre, and one line on what the player does]
- Platforms and target frame rate: [e.g. Windows PC and Steam Deck at 60 FPS]
- Team and stage: [e.g. solo developer, prototype / four people, in beta]
- The proposed refactor: [what would change and why, or the finding from an earlier review report]
## How to work
- Read the code before judging it. Give a file path and a line or function name for every finding, so each one can be checked.
- Mark each finding Verified (you read the code that shows it) or Suspected (you inferred it; say what would confirm it).
- If the project is too large to read in full, say which parts you read and which you did not, and spend your time on the parts that matter most to this review.
- Where you are able to run things (the build, the tests, a script), run them and report what you ran and what happened. Don't say something passes or fails unless you ran it.
- Don't change any code in this step. We want to read the report and decide what to act on first.
## What to work out
1. The exact problem being solved, and how it hurts development or players today.
2. Every code path the change touches.
3. Engine-serialized data it could break. In engine projects this is where refactors go wrong:
- Renamed or moved serialized fields, classes, namespaces or assemblies (lost inspector values, missing scripts)
- Prefab, blueprint, scene and data-asset references
- Animation events, editor-bound events or delegates, and anything looked up by string
- Addressables, asset bundle or package paths
4. Save data, network messages, config files and mod or data formats that must stay compatible.
5. Player-facing behavior that must not change: game feel, timings, balance numbers, input response.
6. The tests that protect this behavior today, and the tests to add before starting.
7. Likely regression points, including changes to execution order.
8. Whether it can be split into smaller steps that each leave the game playable.
9. How we will prove behavior did not change: tests, replays, deterministic runs, side-by-side play, profiler captures.
10. Whether it is worth doing now, given where the project is.
## Report
Lead with what matters most and keep the report as short as the findings allow. If a section has nothing worth saying, write "nothing significant" instead of filling it.
1. Recommendation, first: Proceed / Reduce scope / Do not refactor, with the risk level (Low / Medium / High) and the reason.
2. The problem and the scope.
3. Behavior and data that must not change.
4. Test protection: what exists, and what to add first.
5. Refactor sequence, step by step.
6. Editor and serialization migration steps (for example FormerlySerializedAs in Unity, core redirects in Unreal, upgrade scripts).
7. Rollback: how to back out if a step goes wrong.
8. What you did not check: the parts of the project or the questions you could not cover, and why.
Save the report as a Markdown file in the project, for example `docs/reviews/YYYY-MM-DD-refactor-safety-plan.md`, so later reviews and fix plans can refer to it. That file is the only thing you should create or change.
## Ground rules
- Prefer the smallest change that solves the real problem.
- If the honest answer is "leave it alone", say that.
Implementation
Implement One Finding & Verify It
The step after a review: carries out a single finding in one small, checked change, proves it is fixed, and touches nothing else.
implementationfixverificationsmall-steps
We have a review report and want to act on one finding from it. Make that one change, prove it worked, and stop.
## Project context (fill in before sending)
- Engine and version: [e.g. Unity, Unreal or Godot, and the version]
- The game: [genre, and one line on what the player does]
- Platforms and target frame rate: [e.g. Windows PC and Steam Deck at 60 FPS]
- Team and stage: [e.g. solo developer, prototype / four people, in beta]
- The finding to fix: [paste it, or give the report file and the finding's number]
- What must not change: [e.g. saves from build 1.4 must load; the feel of the jump]
## How to work
- Re-read the code the finding points at before doing anything. Reports go stale. If the finding no longer applies, or was wrong, say so and stop.
- Say what you are going to change in two or three sentences, and list the files you expect to touch. If the change grows beyond that, stop and say so; don't quietly widen it.
- Before changing behavior, make sure something will tell us if it breaks: an existing test, or a new test written first.
- Make the smallest change that resolves the finding. Don't fix other things you notice on the way; list them at the end.
- Don't commit or push unless asked.
## While making the change
- Protect serialized data. A renamed serialized field needs the engine's rename mechanism (FormerlySerializedAs in Unity, core redirects in Unreal). Check the prefabs, scenes, blueprints and data assets that reference anything you rename or move.
- Keep save files loading. If the save format changes, add the migration in the same change.
- Keep tuning values in data. Don't introduce new hard-coded numbers.
- Match the patterns already used in that part of the code.
## Verify
- Build the project and run the tests, and report exactly what you ran and the result.
- Where you can, run the game or the scenario the finding describes and confirm the behavior.
- If you could not run something, say it is unverified. Don't describe a fix as working when it has only been compiled.
- Search for the same pattern elsewhere in the project. List the other places; don't change them unless the finding said to.
## Report
Keep it short.
1. What changed: the files, and a summary a reviewer can follow.
2. How it was verified: what you ran and the results, and what is still unverified.
3. A manual check for a person: the steps to follow in the game, and what they should see.
4. Effects on saves, serialized data, balance or game feel, or "none".
5. Other things you noticed and did not change, and other places with the same pattern.
6. If the finding came from a report file, mark it done there with the date.
Debugging
Bug Root-Cause Investigation
Turns a tester's bug report into a reproduction, a proven root cause and the smallest safe fix, not a guess or a patch over the symptom.
debuggingbugsreproductionroot-cause
A bug has been reported in the game. Find its root cause before anything is changed.
## Project context (fill in before sending)
- Engine and version: [e.g. Unity, Unreal or Godot, and the version]
- The game: [genre, and one line on what the player does]
- Platforms and target frame rate: [e.g. Windows PC and Steam Deck at 60 FPS]
- Team and stage: [e.g. solo developer, prototype / four people, in beta]
- Build and platform where it happened: [build or version number, OS, hardware, input device]
## The bug report
[Paste the report here: what the player did, what they expected and what happened. Add logs, the save file's location and screenshots if you have them.]
## How to work
- Reproduce it before explaining it. If you can run the game or a test, do; a failing test that shows the bug is the best evidence there is.
- Give a file path and a line or function name for every claim about the code.
- Keep what you have confirmed apart from what you suspect. If you are not sure of the cause, say so and say what evidence would settle it.
- Don't change code until the root cause is confirmed. A fix made on a guess often hides the bug instead of removing it.
## 1. Understand the report
Restate what the player did, what they expected and what happened. List what is unknown, and what you would ask the person who reported it.
## 2. Reproduce
Find the shortest reliable steps. If it won't reproduce yet, list the conditions that could matter: frame rate, time scale, load order, scene transitions, save and load, specific content, input device, resolution, network conditions, the timing between two events.
## 3. Trace
Follow the code path from the player's action to the wrong result. In games the usual suspects are:
- Initialization and execution order
- Object lifetime: destroyed or disabled objects still referenced or subscribed
- Coroutines and async work finishing after their owner has gone
- Physics timing against frame timing; logic that depends on frame rate
- State that survives a scene load, or is lost in a save and load
- Floating-point comparisons, and unordered collections
Find the exact line or decision where the behavior first goes wrong.
## 4. Root cause
State it in one or two sentences, and explain why the symptom shows up where it does. Then search the project for the same pattern, and list the other places that have the same bug or soon will.
## 5. Fix plan
Propose the smallest fix that removes the cause. Say what else it could affect (game feel, balance, saves, other mechanics) and how to verify it: the test that will pass, plus steps to check by playing. If save files have already been damaged by the bug, say how to repair or tolerate them.
## Report
Keep it short and in this order.
1. Root cause, first, marked Confirmed or Suspected.
2. Reproduction steps.
3. The trace: how the action leads to the wrong result.
4. Other places with the same pattern.
5. Proposed fix and its risk (Low / Medium / High).
6. How to verify the fix.
7. What you did not check: the parts of the project or the questions you could not cover, and why.
## Ground rules
- A null check or a try/catch that hides the symptom is not a fix.
- Adding a delay, or waiting a frame, is not a fix unless you can explain the ordering problem it solves and why nothing better is possible.
Performance
Performance & Frame Budget Audit
Finds what really costs frame time, memory and load time on the target hardware. Works from profiler data where you have it, and says what to measure where you don't.
performanceprofilingframe-budgetmemorygc
Review this game's performance against its target platforms and frame rate. Find the problems that matter; this is not a hunt for micro-optimizations.
## Project context (fill in before sending)
- Engine and version: [e.g. Unity, Unreal or Godot, and the version]
- The game: [genre, and one line on what the player does]
- Platforms and target frame rate: [e.g. Windows PC and Steam Deck at 60 FPS]
- Team and stage: [e.g. solo developer, prototype / four people, in beta]
- Minimum-spec hardware: [the slowest machine or device the game must run well on]
- Where it feels slow: [a scene or situation, or "nowhere yet, general audit"]
## Profiler data
[Paste profiler captures, frame-time numbers or memory snapshots here. If you have none, write "none".]
## How to work
- Reading code can show what is likely to be slow; only measurement proves it. With profiler data, tie each finding to the numbers. Without it, mark every finding Suspected and say exactly what to capture to confirm it.
- Give a file path and a line or function name for every finding.
- If the project is too large to read in full, say which parts you read, and concentrate on the code that runs every frame and on the scope above.
- Where you can run a benchmark, a test scene or a build, run it and report the numbers.
- Don't change any code in this step. We want to read the report and decide what to act on first.
## 1. Frame budget
Work out where the frame time goes, and look for hot spots in:
- **Scripts:** per-frame Update or Tick work, the number of active update callbacks, and work that could be event-driven, batched or spread across frames
- **Garbage collection:** allocations every frame (strings, LINQ, closures, boxing, new collections, logging)
- **Lookups in hot paths:** Find, GetComponent, tag or name searches, reflection
- **Physics:** collider counts and types, mesh colliders, raycast volume, the collision matrix, fixed timestep, rigidbody counts
- **AI and pathfinding:** cost per agent, query frequency, path recalculation
- **Animation:** animator or skeleton counts, culling, update modes
- **UI:** canvas or widget rebuilds, layout recalculation, text changed every frame, hidden UI still updating
- **Rendering:** draw calls and batches, overdraw, transparent particles, shadow casters, real-time lights, post-processing, shader cost, LODs, occlusion culling
- **Audio:** voice counts, decompression on load, streaming
## 2. Spikes and hitches
Single-frame stalls: spawning or destroying many objects at once (no pooling), synchronous asset loads during play, shader compilation on first use, large garbage collections, saving on the main thread, scene loads without async loading.
## 3. Memory
Texture sizes and compression per platform, audio import settings, assets kept alive by stray references, leaks across scene loads (static lists, event subscriptions, caches), duplicate assets.
## 4. Load time
Startup work that could be deferred, large always-loaded asset folders or monolithic bundles, data parsing at startup.
## Report
Lead with what matters most and keep the report as short as the findings allow. If a section has nothing worth saying, write "nothing significant" instead of filling it.
1. The targets you assumed, and whether you had profiler data.
2. Top problems, ranked by expected impact, no more than ten. For each: location, why it costs, the evidence or how to get it (profiler view or marker), the fix, and the expected gain.
3. Spikes and hitches.
4. Memory and load-time concerns.
5. Quick wins: low risk, clear gain.
6. Things that look slow but aren't worth changing.
7. A benchmark or test scene to keep, so regressions are caught.
8. What you did not check: the parts of the project or the questions you could not cover, and why.
Save the report as a Markdown file in the project, for example `docs/reviews/YYYY-MM-DD-performance-frame-budget.md`, so later reviews and fix plans can refer to it. That file is the only thing you should create or change.
## Ground rules
- Don't trade readability for speed unless the code is on a measured hot path.
- Say so if a fix would change gameplay behavior or visuals.
- List platform-specific risks separately (mobile, console, low-end PC, Steam Deck).
Checks whether game rules are separate from rendering, UI and audio, and whether the simulation is deterministic enough for tests, replays, saves and multiplayer.
simulationdeterminismseparationreplays
Review how this game separates its rules (the simulation) from how they are shown (the presentation), and how repeatable the simulation is.
## Project context (fill in before sending)
- Engine and version: [e.g. Unity, Unreal or Godot, and the version]
- The game: [genre, and one line on what the player does]
- Platforms and target frame rate: [e.g. Windows PC and Steam Deck at 60 FPS]
- Team and stage: [e.g. solo developer, prototype / four people, in beta]
- Scope of this review: [the whole project, or the systems or folders to concentrate on]
- How deterministic the game needs to be: [not at all / on one machine, for tests and replays / across machines, for lockstep multiplayer / not sure]
## How to work
- Read the code before judging it. Give a file path and a line or function name for every finding, so each one can be checked.
- Mark each finding Verified (you read the code that shows it) or Suspected (you inferred it; say what would confirm it).
- If the project is too large to read in full, say which parts you read and which you did not, and spend your time on the parts that matter most to this review.
- Where you are able to run things (the build, the tests, a script), run them and report what you ran and what happened. Don't say something passes or fails unless you ran it.
- Don't change any code in this step. We want to read the report and decide what to act on first.
## 1. Map the split
Find where the rules live (economy, combat, AI decisions, progression, timers) and where the presentation lives (rendering, animation, VFX, camera, UI, audio). The rules should not depend on the presentation. Flag each place where:
- Rules are computed inside view components, animation events, UI handlers or VFX callbacks
- The simulation reads state from scene objects, transforms, animators or UI widgets
- A gameplay outcome depends on rendering frame rate, animation length or particle timing
- The UI keeps its own copy of game state that can drift
## 2. Determinism
Do the same inputs and starting state always give the same result? Check for:
- Unseeded random number generators, or one generator shared by gameplay and cosmetics
- Real time (wall clock, frame delta) used in rules, where a game clock or fixed tick should be
- Iteration over unordered collections where the order changes the result
- Floating-point differences between platforms or builds, if determinism across machines matters
- Physics engine results used as authoritative outcomes
- Async work completing in a variable order
## 3. What the split would buy
- Can the simulation run headless, without a scene, faster than real time?
- Could a test, a bot or a balance script play hundreds of game days or matches automatically?
- Is the saved state the simulation's state, or a scrape of scene objects?
- Could a session be recorded as inputs and replayed to reproduce a bug?
## Report
Lead with what matters most and keep the report as short as the findings allow. If a section has nothing worth saying, write "nothing significant" instead of filling it.
1. Verdict, first: CLEAN SPLIT / MOSTLY CLEAN / TANGLED, and whether that matters for this game.
2. The current split, as a short text diagram.
3. Leaks from the simulation into the presentation, and back.
4. Determinism risks, ranked.
5. What it would take to run the simulation headless.
6. Recommended changes, smallest first, each with what it buys.
7. What you did not check: the parts of the project or the questions you could not cover, and why.
Save the report as a Markdown file in the project, for example `docs/reviews/YYYY-MM-DD-simulation-presentation-split.md`, so later reviews and fix plans can refer to it. That file is the only thing you should create or change.
## Ground rules
- Don't recommend splitting where the game wouldn't benefit (a small action game with no replays, tests or multiplayer may be fine as it is). Say when the current approach is good enough.
Gameplay & Balance
Gameplay Data & Balance Tuning Review
Finds hard-coded numbers designers need to tune, checks content definitions and data validation, and looks for balance problems an automated run could catch.
balancetuningdata-drivencontent
Review this game's gameplay values and content definitions from a designer's point of view: can the game be tuned and extended without a programmer, and do the numbers hold together?
## Project context (fill in before sending)
- Engine and version: [e.g. Unity, Unreal or Godot, and the version]
- The game: [genre, and one line on what the player does]
- Platforms and target frame rate: [e.g. Windows PC and Steam Deck at 60 FPS]
- Team and stage: [e.g. solo developer, prototype / four people, in beta]
- Scope of this review: [the whole project, or the systems or folders to concentrate on]
## How to work
- Read the code before judging it. Give a file path and a line or function name for every finding, so each one can be checked.
- Mark each finding Verified (you read the code that shows it) or Suspected (you inferred it; say what would confirm it).
- If the project is too large to read in full, say which parts you read and which you did not, and spend your time on the parts that matter most to this review.
- Where you are able to run things (the build, the tests, a script), run them and report what you ran and what happened. Don't say something passes or fails unless you ran it.
- Don't change any code in this step. We want to read the report and decide what to act on first.
## 1. Hard-coded tunables
Search the code for values a designer will want to change: stats, costs, prices, rewards, drop rates, XP curves, timings, cooldowns, spawn rates, speeds, ranges, thresholds, probabilities, difficulty multipliers, and lists of content written in code. For each, say where it is, what it controls and where it should live (a data asset, a definition file, a table). Leave true constants (math, engine limits) where they are.
## 2. Content definitions
- How is content defined (ScriptableObjects, Data Assets, resources, JSON, spreadsheets, prefabs), and is it one approach or several?
- Can a designer add an item, an enemy or a level without code?
- Are relationships between content (requirements, unlocks, recipes, tech trees) data, or code?
- Are IDs stable, unique and safe to rename?
## 3. Validation
Is data checked at load or build time for missing references, negative values, impossible requirements, duplicate IDs and unreachable content? Does a typo fail loudly, or quietly produce a broken game?
## 4. Balance risks
From the rules and the current numbers, look for: dominant strategies or items; dead content no sensible player would pick; runaway loops (snowballing, death spirals); income and costs that don't balance over time; difficulty spikes and flat stretches; exploits (selling for more than buying, infinite loops, stacking bonuses). Show the numbers or the formula behind each one.
## 5. Automated checks
Propose simulations, bots or scripts that would measure balance without a person playing: for example, run the economy for 100 in-game days with a simple strategy, compare time-to-unlock along each path, or compare win rates between factions. If the project already has such a tool, run it and use the results.
## Report
Lead with what matters most and keep the report as short as the findings allow. If a section has nothing worth saying, write "nothing significant" instead of filling it.
1. Hard-coded tunables to move into data, as a table: location, what it controls, where it should live.
2. Content definition assessment.
3. Data validation gaps, and the checks to add.
4. Balance risks, each with its evidence.
5. Proposed automated balance runs.
6. Prioritized plan.
7. What you did not check: the parts of the project or the questions you could not cover, and why.
Priorities: P0 = fix before other work continues; P1 = fix soon; P2 = fix when that area is next worked on; P3 = optional cleanup.
Save the report as a Markdown file in the project, for example `docs/reviews/YYYY-MM-DD-data-driven-tuning.md`, so later reviews and fix plans can refer to it. That file is the only thing you should create or change.
## Ground rules
- Don't change any number. Propose changes as old value, new value and reason, for a designer to decide.
- Don't move true constants into data just to be thorough.
Saves & Data
Save System & Data Migration Review
Checks that saves are complete, versioned and safe against crashes and corruption, and that old saves keep loading as the game changes.
savespersistencemigrationversioning
Review this game's save and load system. A player who loses progress rarely comes back, so anything that can lose it is the top priority.
## Project context (fill in before sending)
- Engine and version: [e.g. Unity, Unreal or Godot, and the version]
- The game: [genre, and one line on what the player does]
- Platforms and target frame rate: [e.g. Windows PC and Steam Deck at 60 FPS]
- Team and stage: [e.g. solo developer, prototype / four people, in beta]
- Builds already with players or testers: [the versions whose saves must keep loading, or "none yet"]
## How to work
- Read the code before judging it. Give a file path and a line or function name for every finding, so each one can be checked.
- Mark each finding Verified (you read the code that shows it) or Suspected (you inferred it; say what would confirm it).
- If the project is too large to read in full, say which parts you read and which you did not, and spend your time on the parts that matter most to this review.
- Where you can, test it: save and load in a test or a script and compare the state, and load any old save files kept in the project. Report what you ran.
- Don't change any code in this step. We want to read the report and decide what to act on first.
## 1. What is saved
- Everything that is saved, and where (files, player prefs, cloud saves, platform storage)
- State that should be saved and isn't: things that reset on load, such as timers, random-number state, quest flags and selections that matter
- State that is saved and shouldn't be: derived values, caches, scene object references, editor-only data
- The single source of truth for each saved value
## 2. Format and coupling
- Is the format tied to class layouts, field names or engine serialization, so that a refactor breaks old saves?
- Is content referenced by stable IDs, not by names, paths or instance IDs?
## 3. Versioning and migration
- Does each save carry a version number?
- What happens when an older build's save is loaded? A newer build's save in an older build?
- Is there a migration path for renamed or removed content, changed rules, and new fields with sensible defaults?
## 4. Safety
- Is writing atomic (write a temporary file, then replace), so a crash or power cut can't leave half a save?
- Are backups or rotating autosaves kept?
- What happens with a corrupt, empty or truncated file: a crash, a silent fresh start, or a message to the player?
- Does saving stall the frame?
- Are save locations right for each platform (Steam Cloud, console save APIs, mobile sandboxes)?
## 5. Load correctness
- After a save and a load, is the game state identical?
- Is anything set up twice, or skipped, when loading instead of starting a new game?
- Are timers, events and subscriptions restored?
## Report
Lead with what matters most and keep the report as short as the findings allow. If a section has nothing worth saying, write "nothing significant" instead of filling it.
1. Anything that can lose a player's progress, first. These are P0.
2. Save inventory, as a table: data, where it is stored, its owner, and whether it uses stable IDs.
3. Missing and unnecessary saved state.
4. Compatibility and migration risks.
5. Safety risks: crash, corruption, platform.
6. Tests to add: round trip, old-save fixtures, corrupt-file handling.
7. Prioritized plan.
8. What you did not check: the parts of the project or the questions you could not cover, and why.
Priorities: P0 = fix before other work continues; P1 = fix soon; P2 = fix when that area is next worked on; P3 = optional cleanup.
Save the report as a Markdown file in the project, for example `docs/reviews/YYYY-MM-DD-save-system-review.md`, so later reviews and fix plans can refer to it. That file is the only thing you should create or change.
## Ground rules
- Any recommended format change must come with its migration for existing saves.
Testing
Game Test Coverage & Failure-Mode Audit
Finds the missing tests that matter: gameplay rules, edge cases, scene and save flows, and the automated play checks that protect a build.
testingplaymodeedge-casesreliability
Review this game from a testing and failure-mode point of view. Coverage percentage is not the measure. Games need tests where the rules are subtle and a regression is expensive to find by playing.
## Project context (fill in before sending)
- Engine and version: [e.g. Unity, Unreal or Godot, and the version]
- The game: [genre, and one line on what the player does]
- Platforms and target frame rate: [e.g. Windows PC and Steam Deck at 60 FPS]
- Team and stage: [e.g. solo developer, prototype / four people, in beta]
- Scope of this review: [the whole project, or the systems or folders to concentrate on]
## How to work
- Read the code before judging it. Give a file path and a line or function name for every finding, so each one can be checked.
- Mark each finding Verified (you read the code that shows it) or Suspected (you inferred it; say what would confirm it).
- If the project is too large to read in full, say which parts you read and which you did not, and spend your time on the parts that matter most to this review.
- Run the existing tests first and report the result: how many pass, fail or are skipped, how long they take, and any that are flaky.
- Don't write the tests yet. We want the list and the priorities first.
## What to look for
- Core gameplay rules with no tests: damage, economy, progression, unlocks, win and lose conditions, AI decisions
- Boundary conditions: zero, a full stack, the level cap, an empty inventory, the last enemy, full storage, overflow
- Invalid states: a dead unit acting, negative resources, two game states active at once
- Timing: frame rate, pause, time scale, cooldowns across a save and load
- Scene and level transitions: loading, unloading, returning to the menu, restarting
- Save and load round trips, and loading old saves
- Input edge cases: two inputs in one frame, rebinding, a device disconnecting, focus loss
- Content data that could break at runtime: missing references, invalid values
- Randomness: are tests seeded and repeatable?
- Platform differences: resolution, aspect ratio, controller only
- Online or service failures, if the game has any: timeouts, offline play, the store being unavailable
- Existing tests that are tied to implementation details, slow, flaky, or prove little
For each gap that matters, give: the system, the risk, the failure as a player would see it, the right kind of test (edit-mode or unit, play-mode or functional, automated play-through or bot, data validation, screenshot comparison, performance benchmark, manual checklist) and the priority.
## Report
Lead with what matters most and keep the report as short as the findings allow. If a section has nothing worth saying, write "nothing significant" instead of filling it.
1. The state of the existing tests: what ran, and the result.
2. The ten highest-value tests to add next, with what each one asserts.
3. A smoke test to run on every build: boots, loads each main scene, starts a game, saves, loads, quits.
4. Any automated play-through or bot that would catch whole classes of regressions.
5. Existing tests to fix or delete.
6. Other gaps, as a short list.
7. What you did not check: the parts of the project or the questions you could not cover, and why.
Save the report as a Markdown file in the project, for example `docs/reviews/YYYY-MM-DD-test-coverage-game.md`, so later reviews and fix plans can refer to it. That file is the only thing you should create or change.
## Ground rules
- Don't recommend tests for trivial getters, for engine behavior, or for code with no real failure risk.
UI & Input
UI, Input & Accessibility Review
Reviews menus, HUD and input handling: controller and keyboard support, rebinding, resolution scaling, readability, accessibility and localization.
uiinputaccessibilitycontrollerux
Review this game's UI and input code.
## Project context (fill in before sending)
- Engine and version: [e.g. Unity, Unreal or Godot, and the version]
- The game: [genre, and one line on what the player does]
- Platforms and target frame rate: [e.g. Windows PC and Steam Deck at 60 FPS]
- Team and stage: [e.g. solo developer, prototype / four people, in beta]
- Input devices to support: [e.g. keyboard and mouse, controller, touch]
- Languages planned: [e.g. English only for now; French and German at launch]
## How to work
- Read the code before judging it. Give a file path and a line or function name for every finding, so each one can be checked.
- Mark each finding Verified (you read the code that shows it) or Suspected (you inferred it; say what would confirm it).
- If the project is too large to read in full, say which parts you read and which you did not, and spend your time on the parts that matter most to this review.
- You are reading code and layout files, not looking at the screen. Say which findings need a person to check on a real display or with a real controller.
- Don't change any code in this step. We want to read the report and decide what to act on first.
## 1. UI architecture
- How is the UI built (UI Toolkit, uGUI, UMG, Godot Control nodes, immediate mode)?
- Does the UI read game state through a clear model, or reach into gameplay objects?
- Does the UI ever change game rules directly, where it should send a command?
- Are screens, popups and navigation handled one way throughout?
- Are there per-frame UI updates that should be event-driven?
## 2. Input
- Is input read through an abstraction (actions), or as raw keys scattered through gameplay code?
- Rebinding, and saving the bindings
- The right button prompts for the device in use, switching when the device changes
- Input during pause, menus, cutscenes, loading and text entry
- A device disconnecting and reconnecting; the window losing focus
## 3. Navigation
Can every menu be used with only a controller, and with only a keyboard? Is focus always visible and never lost? Is there always a way back?
## 4. Layout and scaling
Resolution and aspect ratio (16:9, 16:10, ultrawide, Steam Deck, phone notches), a UI scale setting, text overflow with long strings or translations, safe areas on TVs and phones.
## 5. Accessibility
- Text size and contrast; subtitle size and background
- Information never carried by color alone
- Remappable controls; alternatives to holding or rapidly pressing a button
- Options for camera shake, flashing and motion
- Visual equivalents for important audio cues
## 6. Localization readiness
Hard-coded player-facing strings; sentences built by joining strings; plurals; number and date formats; fonts that cover the languages planned.
## Report
Lead with what matters most and keep the report as short as the findings allow. If a section has nothing worth saying, write "nothing significant" instead of filling it.
1. UI architecture assessment.
2. Input problems.
3. Navigation problems.
4. Layout and scaling problems.
5. Accessibility gaps.
6. Localization blockers.
7. Prioritized fixes, with platform certification risks marked.
8. What a person should check on a real screen and controller.
9. What you did not check: the parts of the project or the questions you could not cover, and why.
Priorities: P0 = fix before other work continues; P1 = fix soon; P2 = fix when that area is next worked on; P3 = optional cleanup.
Save the report as a Markdown file in the project, for example `docs/reviews/YYYY-MM-DD-ui-input-accessibility.md`, so later reviews and fix plans can refer to it. That file is the only thing you should create or change.
Security
Cheating, Security & Trust Boundary Review
Reviews what the game trusts: save files, the client, online services, leaderboards, mods, keys shipped in the build and player data.
securitycheatingonlinesecretsprivacy
Review this game's security and what it trusts. A single-player offline game and a competitive online game need very different things, so judge it against what this game actually is.
## Project context (fill in before sending)
- Engine and version: [e.g. Unity, Unreal or Godot, and the version]
- The game: [genre, and one line on what the player does]
- Platforms and target frame rate: [e.g. Windows PC and Steam Deck at 60 FPS]
- Team and stage: [e.g. solo developer, prototype / four people, in beta]
- Online features: [none / leaderboards / cloud saves / accounts / multiplayer / purchases]
- Does cheating hurt anyone? [e.g. no, single-player only / yes, competitive leaderboards]
## How to work
- Read the code before judging it. Give a file path and a line or function name for every finding, so each one can be checked.
- Mark each finding Verified (you read the code that shows it) or Suspected (you inferred it; say what would confirm it).
- If the project is too large to read in full, say which parts you read and which you did not, and spend your time on the parts that matter most to this review.
- Where you are able to run things (the build, the tests, a script), run them and report what you ran and what happened. Don't say something passes or fails unless you ran it.
- Don't change any code in this step. We want to read the report and decide what to act on first.
## Map the trust boundaries first
Save files and local config; the game client itself (memory, timing, assets); online services (accounts, matchmaking, leaderboards, cloud saves, telemetry, purchases, beta logins); game servers or hosts; mods, user content and downloaded data; the build pipeline and anything secret shipped in the build; players' personal data.
## Then look for
- Secrets in the build or the repository: API keys, service tokens, passwords
- Values the client decides that a server should decide: currency, score, inventory, unlocks, match results
- Leaderboard or achievement submissions that can be forged or replayed
- Save edits that unlock something paid or competitive (and whether that matters here)
- Network messages accepted without checking contents, size or rate
- Unsafe deserialization of saves, mods or downloaded data
- Path traversal or code execution through mods or content loading
- Weak session or token handling with online services
- No rate limit on the service calls the game makes
- Personal data collected, logged or sent without need, including in telemetry and crash reports
- Debug commands, cheat menus or development endpoints still enabled in release builds
## Report
Lead with what matters most and keep the report as short as the findings allow. If a section has nothing worth saying, write "nothing significant" instead of filling it.
1. What kind of game this is, and so which risks matter.
2. Findings, grouped Critical / High / Medium / Low / Informational. For each: location, how it would be attacked or abused, the realistic effect on players or the business, and the fix.
3. Categories that don't apply to this game, in one line each.
4. What you did not check: the parts of the project or the questions you could not cover, and why.
Save the report as a Markdown file in the project, for example `docs/reviews/YYYY-MM-DD-cheating-trust-review.md`, so later reviews and fix plans can refer to it. That file is the only thing you should create or change.
## Ground rules
- If you find a real secret, give its location and type. Don't print its value in the report.
- Don't recommend anti-cheat or obfuscation for single-player behavior that harms no one.
- No generic security advice. Every finding must point at something in this project.
Release
Build & Release Readiness Review
The final gate before a build goes to testers, a demo, a festival or a store: crashes, saves, performance, platform requirements and rollback.
releasebuildsstabilityplatform
Treat the current build as a release candidate, and decide whether it is safe to ship.
## Project context (fill in before sending)
- Engine and version: [e.g. Unity, Unreal or Godot, and the version]
- The game: [genre, and one line on what the player does]
- Platforms and target frame rate: [e.g. Windows PC and Steam Deck at 60 FPS]
- Team and stage: [e.g. solo developer, prototype / four people, in beta]
- This build is for: [beta testers / public demo / festival / store release]
- Build being reviewed: [version or build number]
- Build people have now: [the version testers or players are on, or "first release"]
## How to work
- Read the code before judging it. Give a file path and a line or function name for every finding, so each one can be checked.
- Mark each finding Verified (you read the code that shows it) or Suspected (you inferred it; say what would confirm it).
- Where you can, make the release build and run it, and run the tests. Report what you ran and the result. A build that works in the editor has not been tested as a build.
- Say plainly which checks need a person: a clean-machine install, a controller, the store client.
- Don't change any code in this step. We want to read the report and decide what to act on first.
## What to review
- Known bugs, and how serious each is for a player
- Crash risks and unhandled exceptions; whether crash reporting is in place
- Progress loss: saves, settings, cloud sync
- Whether saves from the build people have now still load
- First run: a fresh install, no save, no config, offline, a new machine
- Startup and shutdown; alt-tab, minimize, sleep and resume, a display change
- Settings: resolution, fullscreen modes, V-sync, frame cap, quality presets, volumes, and whether they are saved
- Performance on the minimum spec: frame rate, hitches, memory, load times
- Build configuration: release flags, debug code and cheats off, log level, developer console off
- Problems that only show in builds: code stripping, ahead-of-time compilation, shipping configuration
- Third-party SDKs and plugins: versions, licenses, failures at startup
- Platform and store requirements: achievements, overlays, controller support, age ratings, required metadata
- Version number, build number and changelog
- Telemetry consent and privacy
- Package size and contents (no stray development files)
- Rollback: can the previous build be put back quickly?
## Report
Lead with what matters most and keep the report as short as the findings allow. If a section has nothing worth saying, write "nothing significant" instead of filling it.
1. Verdict, first: READY / READY WITH KNOWN RISKS / NOT READY, and why.
2. Release blockers.
3. High-risk issues.
4. Acceptable known issues, with wording for the patch notes.
5. Checks still to do before shipping, and who does them: smoke test, clean-machine test, save-compatibility test, performance capture.
6. Rollback plan.
7. Ship checklist.
8. What you did not check: the parts of the project or the questions you could not cover, and why.
Save the report as a Markdown file in the project, for example `docs/reviews/YYYY-MM-DD-build-release-readiness.md`, so later reviews and fix plans can refer to it. That file is the only thing you should create or change.
## Ground rules
- Don't call it READY because it runs in the editor or because the main path works.
Playtesting
Playtest Feedback Triage
Turns a pile of playtester reports into grouped, prioritized bugs, design problems and tasks, separating what players said from the cause.
playtestingfeedbacktriagebugsdesign
Below is feedback from a playtest. Sort it into something we can act on.
## Project context (fill in before sending)
- Engine and version: [e.g. Unity, Unreal or Godot, and the version]
- The game: [genre, and one line on what the player does]
- Platforms and target frame rate: [e.g. Windows PC and Steam Deck at 60 FPS]
- Team and stage: [e.g. solo developer, prototype / four people, in beta]
- Build tested, and how many testers: [e.g. build 0.8.2, 14 testers]
- What the playtest was meant to find out: [e.g. is the first hour clear? is the late game too easy?]
## The feedback
[Paste it here: bug reports, survey answers, chat logs, notes.]
## How to work
- Work only from the feedback given. Quote or count it; don't invent reports, and don't guess how many players something affects.
- Keep what the player said apart from your reading of the cause. Players report symptoms accurately and often suggest the wrong fix.
- Look items up in the codebase where you can, and name the system most likely responsible, with a file path. Mark those links Verified or Suspected.
- Don't fix anything in this step.
## How to sort it
1. Put each item in one group:
- Bugs: the game does not do what it was designed to do
- Design problems: it works as designed, but players are confused, frustrated, bored or exploiting it
- Usability and UI problems: players can't find, read or understand something
- Performance and technical problems
- Feature requests
- Praise: what players liked, so it can be protected
2. Merge duplicates, and count how many players reported each item.
3. For bugs: the build, platform, reproduction steps if known, and severity (crash or progress loss, blocks play, wrong behavior, cosmetic).
4. For design problems: where in the game it happens (the first minutes, a specific level, the late game), and which player goal it gets in the way of.
5. Note what information is missing, and what to ask testers next time.
## Report
Lead with what matters most and keep the report as short as the findings allow. If a section has nothing worth saying, write "nothing significant" instead of filling it.
1. The five most important findings.
2. Bug list, as a table: title, severity, number of reports, reproduction, likely system.
3. Design and usability problems, each with the underlying cause and options for addressing it.
4. Performance and technical issues.
5. Feature requests worth considering, and ones to decline, with the reason.
6. What players liked, which must not be broken.
7. Questions to ask and things to measure in the next playtest.
8. Prioritized next actions.
Priorities: P0 = fix before other work continues; P1 = fix soon; P2 = fix when that area is next worked on; P3 = optional cleanup.
Save the report as a Markdown file in the project, for example `docs/reviews/YYYY-MM-DD-playtest-feedback-triage.md`, so later reviews and fix plans can refer to it. That file is the only thing you should create or change.
## Ground rules
- A severe problem reported by one player still matters.
- A loud request is not a priority without evidence that it affects many players or the core loop.
Maintenance
Engine & Package Upgrade Plan
Plans an engine version, render pipeline, SDK or package upgrade so it can be done in small steps and rolled back, before anything is changed.
upgradeenginepackagesdependenciesmaintenance
We are considering the upgrade described below. Produce a plan before anything is changed.
## Project context (fill in before sending)
- Engine and version: [e.g. Unity, Unreal or Godot, and the version]
- The game: [genre, and one line on what the player does]
- Platforms and target frame rate: [e.g. Windows PC and Steam Deck at 60 FPS]
- Team and stage: [e.g. solo developer, prototype / four people, in beta]
- The upgrade: [what, from which version, to which version]
- Why now: [a feature, a fix, a platform requirement, end of support]
## How to work
- Read the real release notes and upgrade guides for every version between the two. If you can't reach them, say so and list the documents we should read. Don't rely on memory for version-specific changes; it is often out of date or wrong.
- Check our code and assets for each breaking change you list, and give the file paths that are affected.
- Mark each risk Verified (you found the affected code or asset) or Suspected.
- Don't change or upgrade anything in this step.
## What to work out
1. Whether the upgrade is needed now, or can wait.
2. The current engine version, packages, plugins and SDKs, and which of them the upgrade affects.
3. From the release notes and upgrade guides:
- Breaking API changes that affect our code
- Deprecated APIs we use
- Serialization or asset format changes (scenes, prefabs, materials, shaders, animation, input)
- Render pipeline or shader changes
- Build and platform changes (minimum OS, SDKs, scripting backend, code stripping)
- Known regressions other developers have reported
4. Third-party plugins that may not support the new version.
5. The parts of the project most at risk: custom shaders, editor tools, native plugins, platform code.
6. How we will prove the game still works: tests, a smoke test, before-and-after screenshots, before-and-after performance captures, loading existing saves.
7. The upgrade as small steps on a branch, each leaving the project openable and buildable.
8. Rollback: version control, keeping the old editor installed, and never upgrading assets in place on the main branch.
## Report
Lead with what matters most and keep the report as short as the findings allow. If a section has nothing worth saying, write "nothing significant" instead of filling it.
1. Recommendation, first: Upgrade now / Upgrade later / Do not upgrade, with the risk (Low / Medium / High) and the reasons.
2. Impact inventory: the code and assets affected.
3. Plugin and SDK compatibility, as a table.
4. Upgrade sequence, step by step.
5. Verification plan.
6. Rollback plan.
7. The sources you read, and the ones you could not.
8. What you did not check: the parts of the project or the questions you could not cover, and why.
Save the report as a Markdown file in the project, for example `docs/reviews/YYYY-MM-DD-engine-upgrade-plan.md`, so later reviews and fix plans can refer to it. That file is the only thing you should create or change.
Multiplayer
Multiplayer & Netcode Review
Reviews authority, state replication, latency handling, bandwidth and desync risks in a networked game, before more features are built on it.
multiplayernetcodereplicationlatency
Review this game's multiplayer code. Start by naming the model it uses: client-server (dedicated or listen server), peer-to-peer, deterministic lockstep, rollback, or relay.
## Project context (fill in before sending)
- Engine and version: [e.g. Unity, Unreal or Godot, and the version]
- The game: [genre, and one line on what the player does]
- Platforms and target frame rate: [e.g. Windows PC and Steam Deck at 60 FPS]
- Team and stage: [e.g. solo developer, prototype / four people, in beta]
- Network model and library: [e.g. client-server with a dedicated server, on a named library; or "work it out from the code"]
- Players per session, and is it competitive? [e.g. 2–4 co-op / 16 competitive]
## How to work
- Read the code before judging it. Give a file path and a line or function name for every finding, so each one can be checked.
- Mark each finding Verified (you read the code that shows it) or Suspected (you inferred it; say what would confirm it).
- If the project is too large to read in full, say which parts you read and which you did not, and spend your time on the parts that matter most to this review.
- If you can run several clients locally, or a network test, do, and report what you saw. Otherwise say that latency behavior is unverified.
- Don't change any code in this step. We want to read the report and decide what to act on first.
## 1. Authority
- Who is authoritative for each important piece of state: movement, combat, inventory, score, the match result?
- Where does a client decide something the server should decide?
- Are client requests checked for range, cooldown, ownership and rate?
## 2. State and replication
- What is replicated, how often, and to whom?
- Is anything sent that clients don't need (wasted bandwidth, or leaked information such as enemy positions)?
- Are late joins and reconnects handled with a full state sync?
- Are spawns, ownership transfers and despawns handled one way throughout?
- Is each message reliable or unreliable for a reason?
## 3. Latency
- Client prediction and reconciliation for the player's own actions
- Interpolation or extrapolation for remote objects
- Lag compensation for hit detection, if the game needs it
- Behavior at 100 ms and 250 ms, and with packet loss and jitter
## 4. Desync and determinism
For lockstep or rollback: sources of non-determinism (floating point, unordered iteration, random numbers, frame timing), desync detection such as checksums, and what happens when a desync is found.
## 5. Session lifecycle
The host leaving or migrating; disconnects and timeouts; NAT and relay fallback; matchmaking and lobby errors; clients on different versions.
## 6. Testability
Can several clients run on one machine, with simulated latency and packet loss? Are the core netcode paths covered by automated tests?
## Report
Lead with what matters most and keep the report as short as the findings allow. If a section has nothing worth saying, write "nothing significant" instead of filling it.
1. Verdict, first: SOUND FOUNDATION / FIX BEFORE ADDING FEATURES / RETHINK THE MODEL.
2. Network model summary.
3. Authority problems: exploitable, or likely to desync.
4. Replication and bandwidth issues.
5. Latency handling gaps.
6. Session lifecycle gaps.
7. Test tooling to add.
8. Prioritized plan.
9. What you did not check: the parts of the project or the questions you could not cover, and why.
Priorities: P0 = fix before other work continues; P1 = fix soon; P2 = fix when that area is next worked on; P3 = optional cleanup.
Save the report as a Markdown file in the project, for example `docs/reviews/YYYY-MM-DD-multiplayer-netcode-review.md`, so later reviews and fix plans can refer to it. That file is the only thing you should create or change.
## Ground rules
- Judge it against this game's needs. A small co-op game does not need a competitive shooter's netcode.