Making Swarmlight: the devlog
Every version of a game I'm making with Claude, from the first message to version 40: my notes in my own words, what changed, and screenshots.
I'm designing this game and playtesting it as it's built; Claude, Anthropic's AI, writes all the code. Each entry below is one round: my notes in my own words (trimmed, never reworded), what Claude proposed or built, and what changed. Times are New York time. Every screenshot was taken from that version's own build, saved in the code history, on a phone-sized or desktop browser. Most show a game a scripted test player had been playing for a few minutes. Kraig's notes are quoted as typed. Those from the first evening and night carry the time of the build they shaped; later ones the time they were written into the design log.
- A smaller game, built for your phoneOct 31, 1:10 pm to 1:10 pm
- Starting over: Swarmlight CoreOct 30, 5:30 pm to Oct 31, 9:45 am
- Day two: work, then reliefOct 30, 9:31 am to 1:09 pm
- The colony on an alien planetOct 29, 11:39 pm to Oct 30, 12:58 am
- The first evening: a ship in spaceOct 29, 9:27 pm to 11:13 pm
A smaller game, built for your phone
Oct 31, 1:10 pm to 1:10 pm · v40–v40
The scope cut down to one hub, its modules and the shipments home: a small game for a phone first, and a computer too.
v40builddesignlook
A smaller game, built for your phone
“Okay, so I think I'm just going to minimize the scope of the game, and I'm going to try to make it iOS, like mobile based as well as desktop.”Kraig, 10:17 am
“I think I want the buildings to attach to the hub, and the only logistics lines we have to worry about is ore getting to the hub.”Kraig, 10:17 am
“Let's just try to get like a minimalist, clean style so that everything is very easy to read”Kraig, 10:29 am
“Maybe shipments of the final item crafted on the planet. Each planet has one major item to make special”Kraig, 11:39 am
“Build this. Go”Kraig, 11:42 am
Claude: Claude rebuilt the game small: the spaceport hub with one module of each kind attached, miners whose drones fly one curved line each back to the hub, and a shuttle that sells anything and flies shipments home. Then three separate checks (Kraig's own words against the build, a playtest on a phone screen and a code review) found 40 problems, from double buys on a slow phone to a bonus nobody could earn. All of them were fixed and tested. Scripted players on 8 maps finish the first planet in 31 to 38 minutes.
- One hub, six modules on it: smelter, constructor, assembler, sensor array, solar and battery. Recipe slots are upgrades: each module runs up to three recipes at once.
- Miners on ore patches, each with its own drone line to the hub that curves round rocks and craters. Those are the only lines.
- The sensor array finds ore further out: iron, then copper, quartz and a glow crystal deep in the dark.
- Sell anything at any time, or ship it: the story's order from the Corvane Mining Company pays 2.5 times what selling does, and side contracts set their goods aside as they come in.
- Night: in the light everything runs, in a building's own glow it runs slowly, and in full dark it stops. Solar charges the battery by day; lamps spread the light at night until it runs low.
- Planets are chapters. Pale Reach ends with 20 light cores; shipping them is a bonus you keep for good, and every repeat order is another, up to five. On Longdark the nights are long and the glow crystal lights the ground round it.
- Built for a phone first: a dock of Modules, Sell and Ship opens a sheet over the map, buttons never move under your thumb, and one tap buys once. On a computer the panel sits at the side.
- A clean, flat look: a light ground, one colour per item, and the dark as a soft shade. Saves from earlier versions reset.
(open full size)Version 40 on a phone, night on Longdark: the glow crystal lights the ground round it.
(open full size)On a computer the panel stays open at the side.
Starting over: Swarmlight Core
Oct 30, 5:30 pm to Oct 31, 9:45 am · v34–v38
The game was rebuilt from the ground up as Core: a tutorial where every upgrade answers a problem you can see.
v38buildlook
A new look: pixel art where light is colour
“It just looks like RimWorld so far. Maybe we should think of a different visual style or something. Have we considered pixel?”Kraig, 8:20 am
“i really like this pixel look but it's a little too busy, especially the grass? moon landscape?”Kraig, 9:00 am
“looks great go”Kraig, 9:09 am
Claude: Claude built the moon mockup into the game. The world is drawn small and scaled up, so every pixel is a big square. Light decides colour: inside a lamp's light the moon is warm and pale, and outside it the world turns to dark blue-grey shapes, with a sharp dotted edge and a gold rim between. Two small changes to the mockup: a softer top on the hub's landing pad, and building walls a little darker so they stand out from the pale ground.
- Pixel art: one art pixel is 4x4 screen pixels on a computer and 3x3 on a phone, in a small set of colours.
- Light is colour: by day you see everything; at dusk the dark closes in, and at night only the lit ground keeps its colour.
- Lamps, windows, the smelter's furnace, drones, progress bars and warnings stay coloured in the dark.
- Buildings stand up from the ground with outlines and shadows. The ground, the drone lines and the light stay flat.
- The top bar, menus, sell slider and all the text use a tiny pixel font, and still work by touch.
- Everything else plays as in version 37. The old flat look is still there for comparison.
(open full size)Version 38 at night: the lit ground keeps its colour, and the smelter menu in the pixel font. v37build
Version 37: light, night and the grid; drone lines; copper
“anything in the dark takes damage and gets destroyed.”Kraig, 11:10 pm
“i still want to click and drag drone logistic lines between buildings”Kraig, 11:40 pm
“add copper ore, copper ingot, wire”Kraig, 11:55 pm
Claude: Light and night came back around the simple core, one piece at a time. Then three checks (Kraig's own notes, a code review and a browser playtest) found the lines still only ran from a miner and items jumped between buildings, so every hop is now a drone line you drag yourself. Scripted players on 8 maps finish in about 18 minutes, a casual one in about 20.
- Day and night: two minutes of day, one of night, with a 10 second warning. At night anything outside the light takes damage, and a whole night in the dark destroys it.
- The grid: the hub and your lamps. Each lamp passes power on to the next and lights a circle at night. Machines only work inside the grid's reach.
- Power: the hub makes 7. A solar panel adds more by day, and a battery stores the spare for the night.
- Drone lines between any buildings: drag from the hub, a miner, a smelter or a constructor to the hub, a smelter or a constructor. A line carries what the far end needs. The first line of each kind is free.
- Every machine has a small input store and a small output store. Nothing moves between buildings unless a drone carries it.
- Smelters and constructors go wherever you tap, inside the grid's reach.
- Copper lies far out in the dark: copper ore, copper ingots and copper wire, each worth more than iron.
- Sell from the top bar: tap an item to open its own slider.
- The goal: earn 3,000 credits in all. Saves from earlier versions reset.
v36build
Version 36: back to a simple core
“lots of little upgrades to each section of the logistic line”Kraig, 9:26 pm
“i think we need to start simple. we can sell anything at any point to get credits and everything i built with credits”Kraig, 9:26 pm
“Yes, core only”Kraig, 9:35 pm
Claude: Kraig played version 35 to the end and said it wasn't quite right. Claude stripped the game back to one loop: mine, carry, process, sell, upgrade. Everything else is switched off rather than deleted, so it can come back one piece at a time. Scripted players on 8 maps reach the end in about 9 to 10 minutes.
- One miner on one iron patch, its drone, a smelter and a constructor. Nothing else for now.
- Sell anything from the hub at any time: ore cheap, ingots more, plates more again. Selling is the only way to get credits.
- Credits buy everything: the smelter, the constructor and every upgrade.
- Lots of small upgrades on every part of the line: mining speed, drone speed and cargo, smelter speed, constructor speed. Each level makes its building a little bigger.
- Simple flat shapes, and no night, power, swarm, copper, trading or fog for now.
- The goal: earn 1,000 credits in all. You can keep playing after it.
- Saves from earlier versions reset.
(open full size)Version 36 at about 6 minutes: the whole line, and the hub panel where you sell and upgrade. v35build
Version 35: scarcity
“like we expanded too much and too quickly. there was no real shortage of ore, items or production. we need to create scarcity”Kraig, 7:33 pm
Claude: Kraig finished version 34 in about 10 minutes. Claude first added a pacing report to the scripted players' test (time, waits, starved machines, stockpiles, credits), recorded version 34 as the baseline, then tightened the economy until the tutorial took 25 to 35 minutes with something always short and never a minute with nothing to do.
- Slower miners and drones, so iron ore is the limit early. Copper is farther out and slow until its drone is upgraded.
- Bigger trade orders, loaded only once you have all of it, so until then you choose between shipping and building.
- Each extra solar panel, battery, pole or turret costs more than the last.
- Shorter days. At night the hub makes less power and the battery drains, so everything slows unless you've built enough power.
- A hand generator on the hub: wind it to keep things running while power is short.
- Nothing piles up: the hub holds 20 of each ore, and a miner waits once 40 sit at the mine.
- The tutorial now takes about 27 minutes for a steady player, up from 15.
(open full size)Version 35 at night: power is short, so you wind the generator. v34build
Version 34: rebuilt from the ground up as Core
“each of those upgrades should satisfy a pain”Kraig, 3:59 pm
“night should be quick death if you wander outside lights. all modules produce light if powered.”Kraig, 4:04 pm
“this core version now becomes the main game”Kraig, 5:08 pm
Claude: After version 15, a simpler core was built beside the old game, one small version at a time. Version 34 is that core grown into the whole game, and the old one was retired. Claude built it in four passes, with scripted players finishing the tutorial on 8 maps before each one shipped.
- You walk instead of flying. Place a miner and its drone hauls ore to your hub.
- A 30-step tutorial: each upgrade appears only once you can see the problem it fixes, like a starved smelter or a battery that runs dry at night.
- Items build things and credits buy upgrades. Credits come only from trade runs to a second colony nearby.
- Fog over unexplored ground. By day a few creatures roam; at night the dark beyond your lights kills fast.
- Copper, wire, power poles and laser turrets. The swarm hits the other colony first, then comes for you.
- A short story: you're a freelancer in debt to a mining company, and the tutorial ends with a landing pad.
- The play page records anonymous playtests again: how far you got, how the session ended, and any note you leave.
(open full size)Version 34 at night: only what has power is safe.
Day two: work, then relief
Oct 30, 9:31 am to 1:09 pm · v14–v15
Kraig played version 14, said it wasn't fun yet, and an interview reshaped the start and the story.
v15build
Version 15: work, then relief
“i think buildings off the hub should look and work like modules. similar to exominer.”Kraig, 9:51 am
Claude: Claude built the interview's answers, then reviewed the build and fixed what it found.
- An intro: the landing, then one iron patch to drill by hand.
- Modules snap onto the hub. The first smelter has one slot, and a second slot is a real upgrade.
- Power you can read: every line shows, colored by whether it is live, short or cut off.
- A 7-minute day. Only what has power lights the ground, and roaming bugs bite anything dark.
- Unlocks come one at a time, each when you need it.
(open full size)Version 15's intro.
(open full size)Day 2 for a scripted player: modules on the hub, each with its rates.
(open full size)Day 3: power lines, towers and the launch pad. playtestdesign
Not fun yet, and a story in debt
“it was better but still not fun. the progression was too fast. i didn't feel the pain of working and releaf of automation or upgrade”Kraig, 9:49 am
“the beginning can be slow”Kraig, 9:53 am
“i want this first planet to be the cheapest starter planet and you feel that. not very good pick. dangerous, not much value, lonely but with a few other poor colonists who also have to settle for this with debt”Kraig, 11:55 am
Claude: Claude read the recording: the trouble was contrast, not the clock. Hand-mining didn't hurt, and upgrades changed numbers you couldn't feel. A long interview followed, one card at a time.
- Work first, then relief: slow hand-mining, then a miner that clearly beats you.
- Explore by day, hide by night. The dark is deadly, and light is how you expand.
- The story: one freelancer, dropped with the hub on a cheap, dangerous planet, owing a company a 5 million credit loan. Losing the hub ends the game.
- The story arrives in version 16, after Kraig plays version 15.
v14build
Version 14: ideas from ExoMiner
“i want to use elements from exominer”Kraig, 7:27 am
“drone should come with every miner and it constantly goes from miner to base”Kraig, 7:27 am
Claude: The opening became hand work: mine by hand, build a smelter, run power out on poles. Each step unlocks the next.
- A power grid on poles, and a drone with every miner.
- Storage caps: what doesn't fit burns, and you see the money lost.
- Each machine runs one recipe, so balancing ores means owning several.
(open full size)Version 14 on bug night 2: the grid lit up and the bugs coming in.
The colony on an alien planet
Oct 29, 11:39 pm to Oct 30, 12:58 am · v8–v13
Overnight the game moved to a planet: a colony, drones, power, night and the hives.
v13build
Version 13: the danger returns
“1: Destroy the hives”Kraig, 12:58 am
“bugs come at night”Kraig, 12:58 am
Claude: Four hives sit far out in the fog. Bug nights raid the colony; by day the hives are sleepy and you can wear one down.
- Towers run on the colony's power. A blast tower hits a whole cluster.
- Attack drones and ship upgrades for going on the offence.
- Destroy the last hive and the planet is safe. A scripted player wins in 43 to 57 minutes.
(open full size)Version 13 on day 5: towers around the colony before the next bug night.
(open full size)The same game: a daytime raid on a hive, its health bar at the top left of it. v10–v12build
Versions 10 to 12: power, night and exploration
“day/night cycle with solar and battery”Kraig, 12:04 am
Claude: Three short builds overnight.
- Version 10: day and night. Solar panels make power by day and batteries carry the night.
- Version 11: a bigger planet under fog, richer ore farther out, wrecks and crystal fields.
- Version 12: a cleaner opening, tuned against Kraig's recorded play.
(open full size)Version 10: the colony's power readout and its light at dusk. v9build
Version 9: easier to read
“we need to make it all look better and easier to understand what's happening and the recepies and such”Kraig, 11:57 pm
Claude: A clarity pass before any new feature.
- Visible recipes and item icons.
- A status on every machine, auto-sell, a cleaner screen and pixel-style sprites.
(open full size)Version 9: icons, labels and a line at the top that says what to do next. v8build
Version 8: an alien planet
“i think we should put this game on an alien planet. you're a colonist that lands and starts the mission of colonizing it and taking out the enemy to make it safe”Kraig, 11:39 pm
Claude: The setting moved from space to a planet. The enemy became native alien bugs that breed and live in hives. This build was the peaceful half first: the colony and its drones.
- Land, build the colony, and let drones carry ore from miners.
- Better ores lie farther from the base.
(open full size)Version 8: the peaceful colony, before the bugs came back.
The first evening: a ship in space
Oct 29, 9:27 pm to 11:13 pm · v1–v7
From the first idea to a playable build the same evening, then one feature a build.
v7build
Version 7: a swarm that grows around you
“i want slower enemies and faster to kill and much more of them”Kraig, 11:13 pm
Claude: In version 5 no bot ever copied itself around the far outposts, so the swarm now grows where you are busy.
- Each tower has its own recharging battery instead of shared ammo.
- A constant swarm plus surges announced from the edges.
(open full size)Version 7: more bots, slower and easier to kill. v4–v6build
Versions 4 to 6: a recorder, a build menu and a factory
“we need to have a build menu. can use the cursor”Kraig, 10:51 pm
“you can sell ore for credits which you use to buy upgrades or buildings”Kraig, 10:51 pm
“or you can process the ore into more valuable items which has a higher sell value”Kraig, 10:58 pm
Claude: One feature a build, each played before the next.
- Version 4: a playtest recorder, so Claude can read how a session went.
- Version 5: a build menu you use with the mouse, and ore sold for credits.
- Version 6: the base factory, with storage, a smelter and a constructor.
(open full size)Version 6: the first smelter next to the base. v3build
Version 3: one continuous game
“i don't like going back to the middle circle to end runs. it should be one continuous map and game”Kraig, 10:33 pm
Claude: No more trips or load-out screen. One game keeps going on one map, and flying over the base banks your hold.
- Buy miners, towers and ammo at the base any time, and drop them out in the field.
- Losing the ship costs its hold; it comes back at the base. Losing the base ends the game.
- The game saves on your device every few seconds.
(open full size)Version 3 after four minutes of a scripted player: the base, the rocks and the first bots at the edges. v2build
Version 2: trips out from a base
“the enemy should usually overwhelm the mining outpost. you need to bring resources to build the towers and defense and mining machinery then get back to base”Kraig, 10:10 pm
Claude: Claude made each run one trip: load out at the base, set up at a deposit, and get home before the swarm takes the outpost.
- A load-out from banked ore: miners, towers and ammo, within a cargo limit.
- Losing the ship loses the trip's haul.
v1build
Version 1: playable within the hour
“Cut build 1 down so I can play it tonight. Aim for something playable within the hour.”Kraig, 9:38 pm
Claude: Claude cut the plan to the smallest thing worth playing: plain shapes, one map, one tower, one kind of bot.
- Fly a small ship. Mine by flying close to rocks: poor grey ones near the start, rich gold ones far out.
- One tower: it costs ore, drops where the ship is and shoots on its own. The ship has no gun.
- Bots chase the ship and copy themselves if left alive. Ignored, the swarm reaches about 160 at five minutes.
- Fly back into the jump gate to leave with your haul.
(open full size)Version 1, a few seconds in: plain shapes, the ore count and the swarm count. design
The idea: small, with a hard cap
“I want to design a new game ... This one stays small with a hard cap, per the Solhex lesson.”Kraig, 9:27 pm
“i'm thinking rouge game? tower defense but factory automation back at base to upgrade”Kraig, 9:27 pm
Claude: Claude asked one question at a time and wrote down each answer: small (a win in about two hours), lit pixel art, you fly a small ship, a light story. It picked the working name Swarmlight: the swarm, and the lit look.
- A hard cap from day one: 8 towers, 6 base machines, 5 enemy types. Adding anything means cutting something.
- The rules kept from the last game: fix the first 10 minutes before adding depth, and let strangers play it quietly first.
Play the build
It plays in a desktop browser with a mouse and keyboard. It's an early build: it changes every day and saves can reset between versions. Tell me what felt good and what didn't.