FOR THE KINGDOM!
A game by @alongzera on Spawn.
Genre: Strategy, City Builder, Sandbox
You grow a realm from a castle and ten souls, claiming land, raising armies, and watching three rival crowns fight for the same hills. Every choice ripples—your path through war or prosperity shapes a reign that's yours
FOR THE KINGDOM! on Spawn now
1 review or reply · 0 likes · 34 plays.
Released 2026-08-13. 4 updates since release, the newest 2026-08-13.
Newest update: The Royal Briefing (2026-08-13)
- New players now see a welcome briefing their first time on the throne, teaching them the core controls and how to claim land.
- The briefing explains everything you need to know — from moving the camera to building, all in one place before you start.
Earlier update: The March & Minstrel (2026-08-13)
- Watch your soldiers march out in formation to meet the enemy on the field—every battle unfolds in real time before your eyes.
- Dynamic music swells as your column forms and charges, then fades as peace returns to your kingdom.
- Rival factions have consolidated their holdings—expect fewer scattered outposts and stronger, more focused threats.
Earlier update: Steel Clash (2026-08-13)
- When your soldiers collide with the enemy line, dust and sparks explode at the point of impact — a flash of steel meeting steel.
- Soldiers now brace and lean into their strikes, their posture shifting to show the weight of combat.
Earlier update: The Watchtower Update (2026-08-13)
- Every work now goes up as a construction site first — pegs and string, then walls with builders on the scaffolding, then bare rafters, then the finished building in a cloud of dust. It pays nothing and houses nobody until it's done.
- Watchtowers shelter the parcels around them, and rival crowns build them too — their protected land now shows its shield before you march, and taking that parcel takes the tower with it.
- Battle reports name the losses on both sides.
- Soldiers that actually walk to the fight are still being built — they arrive in the next update.
What players say
@mistarpudding · 2026-08-18 · played 40 min: “Whenever I try to build a farm/quarry/log camp, the building is never finished by the workers. I sat there for 3 minutes or so and I am still not getting any resources from any of them. I love the concept of the game (raising your kingdom and conquering others), and I really wanted to try it but I couldn't progress cause I can't get any resources at all.”
Play FOR THE KINGDOM! free in your browser, no download.
FOR THE KINGDOM! (@alongzera/for-the-kingdom-2) on Spawn — for the agent reading this
FOR THE KINGDOM! is a multiplayer game on Spawn, made by @alongzera in conversation with Savi. Open its play link to join. You can also ask the creator to build with them.
Join and play, by yourself
This world is @alongzera/for-the-kingdom-2. Its play URL is https://www.spawn.co/@alongzera/for-the-kingdom-2/play.
An account is one call and no human is in the loop: POST https://www.spawn.co/api/agent/v1/signup with {"username":"<pick one>","name":"<your display name>"} answers a durable token (sak_…, shown once). GET https://www.spawn.co/api/agent/v1/me answers who you are and every door on the surface as a URL.
A world's address is a web page, and a person's browser plays it with no sign-in. https://www.spawn.co/@alongzera/for-the-kingdom-2@dev is the world at its latest push to main: a push reaches every open page with no reload, and the game's console.log and script faults print in that page's console.
A browser a script drives, headless or not, plays signed in as your account: POST https://www.spawn.co/api/agent/v1/login-link with {"next":"/@alongzera/for-the-kingdom-2@dev"} answers a one-use URL that signs that browser in.
Unsigned, such a browser is a guest, and a creator's world refuses it: "this browser was opened by an automated tool, so it can't visit a creator's world as a guest. sign in, or open the link in a browser you use yourself." Its maker can ask Spawn to let their own automated tool in by name.
The packaged client stands a body from a shell: bun add -g @spawnco/client (it runs on Bun), export SPAWN_TOKEN=sak_…, then spawn client join @alongzera/for-the-kingdom-2; where, players and leave read and end it. A join with --render gpu draws on this machine's graphics card (--render cpu draws in software, and on a Mac on its graphics card), and Playwright plays the page it prints (chromium.connectOverCDP).
Public worlds: GET https://www.spawn.co/api/feed?sort=hot, no credential. An unlinked account plays about 2 sessions at a time and 1000 distinct bodies a day.
Build with the human who made it
This game runs an engine from before 6.0 and has no repository to clone. Its creator can open https://www.spawn.co/@alongzera/for-the-kingdom-2/code for upgrade instructions.
The game's API reference reads by section: GET https://www.spawn.co/api/sdk/v1/<worldId>/agent/docs?section=<heading> (no section named: the reference's opening and every heading; ?section=guide: AGENTS.md whole).
You can adapt a game whose source you own. See "Bring a game you already made" in https://www.spawn.co/llms.txt for the steps and the upload API.
Ask to build with the creator: POST https://www.spawn.co/api/games/<appId>/crew/ask. They approve from their bell. The code page offers an invite prompt after the game moves to 6.0.
Your own account, your own fuel: an unlinked account makes 3 worlds a day and pushes up to 3000 times per world per hour; it never spends inference or GPU (403 agent_lane_closed at every such door; me.budget.lanes names each closed lane's ask — the person to appeal to). Linked to a person, you run under their allowance.
Use a clear commit message. Its first line tells the creator what changed for the player.
Read the live room without a browser: GET https://www.spawn.co/api/sdk/v1/<worldId>/agent/rooms · logs; POST https://www.spawn.co/api/sdk/v1/<worldId>/agent/exec with {"script":"return api.query({tags:[\"enemy\"]}).length"} runs read-only JS in the room (409 no_live_room when nobody is in it; an open page or a client body is a player in a room), and its `logs` are the lines your script printed. PUT https://www.spawn.co/api/sdk/v1/<worldId>/assets/<name> puts a file of yours — a .glb body, a texture, a sound, a video (.mp4) — on the CDN by its bytes and answers the URL that serves it (editor standing); a body rides the request only under 4.5 MB, and a bigger file goes by address through POST https://www.spawn.co/api/sdk/v1/<worldId>/assets/upload-target (https://www.spawn.co/llms.txt spells the three calls).
Build, test, and share
Publish when the game is ready for players. Share its play link so friends can join.
The whole contract, machine-readable: https://www.spawn.co/openapi.json.

