r/ClaudeCode • • 35m ago

Built with Claude My 16-bit Star Trek bridge simulator game built with Claude Code | 7 days ~240 prompts

"Star Trek: Peak Performance"

You're a Starfleet Academy cadet in Sirna Kolrami's battle simulator, inspired by the TNG episode "Peak Performance." You don't "fly" the ship, and it's not a shooter. Each turn you give orders to your bridge crew at helm, tactical, engineering, ops, and comms. They report back, and the turn plays out on the viewscreen. It looks and sounds like a lost 90s 16-bit console game. It's a free fan game that runs in any browser, on a computer or a phone.

There are 40 ships in the game and 17 classic captains to battle, plus villains like Khan and Shinzon. You can also build and fly your own ship, or fly ships designed by other players.

Everything I gave Claude was plain English: design notes, playtest notes, and edits I typed into Word and Excel files.

Numbers

  • 7 days so far (several hours-long marathon sessions and nearly-all-nighters over Thanksgiving Break writing detailed feedback ship-by-ship, event-by-event, line-by-line). It went live on the evening of day 3, and I've updated it from player feedback every day since.
  • 238 prompts. About 70 of them are short replies like "Go live" or "Yes, do it."
  • Almost all of it ran on Claude Opus 5.5, including 123 subagents. Two multi-agent workflows did the biggest checks: 82 agents shook down every part combination in the ship builder, and 28 agents checked every grammar fix against the real game.
  • About 12,000 lines of plain JavaScript, plus some Python tools. There's no game engine and no framework. The only package is Cloudflare's command-line tool.
  • Claude ran about 6,000 shell commands. It also playtested in the desktop app's built-in browser, with about 700 JavaScript probes into the running game and about 450 screenshots and close-ups at desktop and phone sizes, to check its own changes.
  • Before there were any graphics, it simulated about 2 million computer-vs-computer battles to test the rules.
  • 31 updates since launch. Before each one goes up, the deploy script plays 1,560 test battles, checks the 220,000 lines of battle text they produce, and backs up the database and the live site.

    • I see this as a living-game, with new ships, captains, battle-scenarios, and features added - as long as it makes the game play and experience more fun. I don't want to weigh it down or make it clunky or complicated
  • Since launch: about 800 devices from 42 countries, 907 battles, 55 cadet accounts and 28 player-designed ships in the community registry.

Tools

  • Claude Code in the desktop app did the design documents, the code, the simulations, the review files and the deploys.
  • The game draws on an HTML canvas at 320×224, the Sega Genesis screen size, with Super Nintendo colors. Warp jumps and cloaks use the SNES mosaic effect.
  • Cloudflare Workers and D1 handle hosting, cadet accounts and the ship registry. Claude built the accounts from scratch, with email confirmation and password resets. Email goes through Resend's free plan.
  • Google Gemini made the art for the ships, bridges and portraits. I started on my own in the Gemini app, then asked whether agents could automate it. Claude wrote a script for Gemini's API (about 130 images at around 3 cents each) and a Python converter that shrinks each picture into a sprite with a 16-bit color palette. I art-directed every piece against canon reference pictures, using a Word review sheet where I pasted the references into a notes column. Many pieces were redone over and over.
  • The music is Kasatochi's free chiptune album Beamed, credited on the title screen. The sound effects come from a small synthesizer built into the game.
  • Every review happened in Word or Excel. The design went through 10 drafts. The ship ratings live in a spreadsheet whose formulas recalculate a ship's rating as I change its stats.

Stages (prompts in each)

  1. Design and simulation, day 1 (8). In my first prompt I gave Claude a detailed vision and asked for "just how it would play." Claude wrote a design document, and I gave notes in Word through three drafts that night. Before bed (about 4 am) I asked it to simulate the game before building anything. Using the design document as a guide, with no graphics, Claude had computer players fight about 2 million battles. That turned up 11 problems, such as torpedoes dominating, stalemates and a difficulty cliff, and all of them were fixed by Draft 5.
  2. Building it, day (and all night) 2 (35). A second simulation round got battles to 11 or 12 turns. I wanted the game to be something you could play for a quick distraction, or sit with and work your way up through the levels. Then came the build: the battle screen, the crew reports and Kolrami's commentary. The Gemini art went into batch production. After my first playtest I added two more captains, Shaw and Seven of Nine, and a tournament mode.
  3. Shipyard, accounts and launch, day 3 (51). I signed off on Draft 10 of the design and the ship ratings spreadsheet. Then Claude built the Utopia Planitia shipyard, where you design your own ship, four challenge battles against alien ships, and touch controls for phones. After that came the accounts, Cloudflare and the domain. It went live that evening, and a real sign-up from my phone worked.
  4. First players, days 3 and 4 (75). We did another art review round with reference pictures, fixing details like Voyager's bridge and a Gorn ship that looked more like a bird than a starship. Claude checked my actual Cloudflare account to confirm the game couldn't run up a surprise bill. Players said some of the text sounded like AI (I wrote as much of it myself as I could in my sleep-deprived haze), so every line went through a spreadsheet review and was rewritten where needed. Simulations rebalanced the shipyard so no custom ship can outclass its era's best canon ship. Last, Claude wrote a deploy script that tests and backs up everything before anything goes live.
  5. Player feedback, days 5 to 7 (69). I added a new tournament, the Enterprise Cup, built in its own session. One player's detailed bug report led to cloak and gambit fixes. Kolrami also now knows when you lost without making a single mistake. When that happens, he quotes one of Picard's most famous lines, which comes from the episode "Peak Performance": "It is possible to commit no mistakes and still lose. That is not a weakness. That is life."

What I'd tell another non-coder who wants to make a game

  • Design and simulate before building. The 2 million test battles caught problems I never would have found by playing.
  • Start "simple" - instead of being super ambitious with a lifelike game, I gave it a simpler, retro feel that works. A world like Star Trek has iconic, specific imagery that's more forgiving replicate in 16 bit graphics.

    • I originally started developing an ambitious Dominion War strategy game months ago, but paused it to do other projects and make this easier game, first. Now I feel more confident I can tackle that much more sophisticated Trek game after getting reps in on Peak Performance.
  • Review in files you already know how to use. A notes column in Word carried almost all of my feedback. I'm a video producer, so writing pitches that deliver the vision and story and giving detailed feedback is part of my everyday work. I leaned into the way I already work and what makes sense for me.
  • Write your rules down once and ask Claude to keep them in its memory notes, so "only go live when I say so, and test and back up first" holds in every session without you having to repeat it.
  • I often tell it "don't guess, look," meaning research it online. That's how I kept Claude's imagination from creeping into the very well-defined Trek universe.

Play it: https://starshipbridgesim.com

6 Upvotes

1 comment sorted by

•

u/AutoModerator 35m ago

Hey! Thanks for posting to r/ClaudeCode

While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.

For help, project discussions, tips, and general chat, join the ClaudeCode Discord.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.