Skip to content

Build your own

Make a small browser game with Claude: a practical build checklist

Use Saltline as a reference for a bounded experiment, not a promise of the same output. This workflow applies to a small AI-assisted browser prototype and focuses on the parts you can inspect: input, objectives, failure, restart and delivery.

Saltline.games editorial · Checked against the hosted original build

1. Define a finishable first milestone

Choose one area and a short objective. For example, repair three panels in a greenhouse and return to the entrance. Write down how the player moves, what an interaction does and what visibly counts as completion. Avoid adding inventory systems, accounts or multiplayer to the first milestone.

Decide how the prototype will be delivered. If you want a single HTML page, say whether scripts, fonts and assets may come from outside sources. A self-contained visual scene and a completely offline page are different requirements.

2. Build the loop with simple geometry

Ask for a start screen, basic movement, obvious objective markers and a clear success screen. Use plain boxes for walls and props. At this stage, completing the route matters more than texture quality or lighting.

Run the page through a local HTTP server and test it in the target browser. Look for unreachable objectives, blocked passages and interactions that trigger from too far away. Keep a copy of the last version that can be completed.

3. Test the transitions that screenshots miss

Pause, leave the tab and return. Release the mouse, then resume. Fail the objective and restart. Complete the run twice. These transitions often reveal stale state or input problems that a single successful first run misses.

If touch support is part of the brief, test on a real touch device as well as a narrow viewport. Check that the movement area and action buttons can be used together. Do not claim gamepad support until a browser-recognized controller has been tested.

4. Add atmosphere within a performance budget

Improve one area at a time: material readability, lighting, sound cues, then decorative effects. Keep objective markers distinguishable from the environment. Ask for a quality setting when expensive effects make the game uneven on your target device.

A small file can still require substantial GPU work. Measure startup separately from in-game responsiveness. Test the same scene and settings before and after a change so you can tell whether it actually helped.

5. Package, attribute and inspect the published page

List external dependencies, preserve third-party notices and explain which parts you created or generated. If you adapted someone else’s game, confirm the applicable permissions and keep provenance. Write instructions that match the exact build you publish.

After hosting, load the public URL in a clean tab. Check that scripts and assets resolve, the Play action works, fullscreen and pointer capture can be requested, and reload does not break the page. Use truthful descriptions rather than review scores or performance claims you have not measured.

6. Build a repeatable test matrix

Write down the combinations you actually support before testing: current desktop Chrome or Firefox, one lower-powered laptop, a phone if touch is promised, and a controller only when gamepad support is part of the brief. For every combination, test first load, start, one complete run, failure, restart, pause and return from another tab. Record the date, browser version, graphics setting and outcome instead of relying on memory.

Separate blocking defects from polish. A blocked objective, broken restart or missing input path prevents release; a small visual seam can wait. Retest the whole critical path after any AI-generated rewrite because a local improvement can silently reset event listeners, saved settings or completion state elsewhere. Keep a short manual checklist beside the project even if you also add automated tests.

7. Make the game understandable beyond the ideal setup

Give every objective a text label as well as color or sound. Keep instructions readable over the busiest scene, provide a pause screen that repeats the controls, and avoid requiring a precise pointer action for essential progress when a keyboard alternative is possible. If audio communicates danger or success, pair it with a visible cue. Test keyboard focus before and after fullscreen and pointer lock.

Publish honest requirements and limitations. State whether the interface is English-only, whether touch and controller paths were tested, whether sound is required, and which browsers or graphics features the build needs. Do not label a prototype accessible merely because it opens on a phone. A useful accessibility note names what works, what has not been verified and how a player can report a barrier.

8. Release a version you can maintain

Freeze a numbered release and keep its source, notices and test record together. Add a visible version or date so bug reports identify the build they describe. Use a stable URL, a descriptive page title and a short original explanation of the objective, controls and known limitations. If the game came from an experiment, distinguish the experiment's reported facts from your own observations and link the primary sources.

After launch, collect reports through one documented contact route and reproduce each issue before changing the build. Do not replace a working release with an unreviewed model output. Make the smallest fix, rerun the matrix, update the version note and preserve the previous known-good file. Maintenance is part of the product: a small game with clear provenance and repeatable checks is more trustworthy than a larger demo nobody can explain or repair.

What to learn from your result

Keep a short record of the initial brief, major fixes, time spent and observable limitations. Distinguish model-generated work from your own edits. That record makes a prototype more useful to evaluate than a polished clip alone.

For Saltline’s reported process and the original playable result, follow the background article and primary-source links. For this tutorial, the milestone is deliberately smaller: a game you can finish, restart and explain on the hardware you actually tested.

Sources and build reference

Gameplay details refer to the original standalone file linked by Play. Experiment figures are creator-reported. For provenance, consult: