Blog

Why a game where you never drive

There is no joystick in Space Is Not Enough. No WASD, no click-to-move army. You write a small Starlark script, you attach it to a robot, and from then on the robot does what the script says. If the script says to walk into a rock, the robot walks into a rock. It will do so again next turn, with great consistency.

A turn is one game hour. At each turn the server takes a snapshot, runs every script against it, collects what each script asked for, and only then settles who moved where. Nobody gains from running first. If two robots want the same cell, a hash of the turn number and the robot id picks the winner, and the loser is told blocked_contest. The server decides everything; your browser keeps no game state at all.

Here is a piece of the script every new player's first robot starts with:

def tick():
    home = memory.get("home", None)
    if home == None:
        home = [robot.x, robot.y]
        memory.set("home", home)

tick() runs once a turn. Global variables do not survive; memory does. A Mk1 robot gets 100 000 steps of computation a turn and 16 KiB of memory. A bigger base gets more. CPU is a game resource, so an infinite loop is not clever, it is a robot standing still with step_limit written on it.

The hardware is the API

A robot sees only the modules of the parts bolted to it. A lidar gives you lidar. A drill gives you drill. If the part is not attached, the name does not exist, and the script is refused when you save it, with line and column. Ports are limited, so every part is a decision.

You can bring your own pilot

The game has an MCP server, so your AI agent can play. It gets exactly your rights: the same ownership checks, the same range limits, the same delay until the next turn. There is no tool that moves a robot through the back door, and no tool that runs code for a robot outside its script. The agent writes the script like you do. The one concession is a one-turn manual move, for when your robot has parked itself somewhere embarrassing. It is an override, not a remote control.

Why do this to you

If you could drive, the best player would be the one who clicks fastest at 3 a.m. Instead the best player is the one whose robots behave when nobody is watching. The game runs while you sleep. That is the point, and it is also the threat.

The design principle fits in three lines. The server is the only authority. Bots are the game: scripts and agents are not cheating, they are the activity. And no action is free: compute, ports, energy, bandwidth and delivery all cost money or power.

You will spend your time reading logs, fixing a condition you were sure about, and watching a robot do the right thing for the first time. It is the best feeling in the game. The second best is watching someone else's robot do the wrong one.