GET YOUR BEARINGS
About Code: Terraform
Code: Terraform drops you onto a frozen alien world where every interaction is performed through real‑code scripts. Using a Python‑like language, you script mining, power, drones, and infrastructure to revive the planet. The game blends a full‑featured editor with engineering contracts that reward you for processing data and delivering fabricated parts. All progress is driven by your code, not point‑and‑click menus.
01 / THE GUIDE
Full Programming Environment
The game provides a code editor with syntax highlighting, autocomplete, signature help, type‑aware completions, rename refactoring, and inline documentation accessible via Cmd+click. Multiple scripts run concurrently, and you can create library scripts for shared functions.
Debugging tools include breakpoints, log points, conditional breakpoints, and three‑step modes, allowing you to dock the editor and view results side by side.
- Use library scripts to avoid duplicating common functions across drones and stations.
- Set conditional breakpoints to isolate issues when sensor data looks incorrect.
02 / THE GUIDE
Automation Through Scripts
Every system—solar trackers, rovers, smelters, drones—is controlled by scripts you write. Your code runs autonomously while you plan the next move, allowing continuous operation of multiple components.
Scripts can be shared as libraries, so a single flight route can be imported and used by all drones.
- Start with simple scripts for basic tasks like powering a solar panel before scaling to complex drone routes.
- Import shared functions to keep drone behavior consistent.

03 / THE GUIDE
Engineering Contracts
Earth sends data‑processing contracts that require you to parse signals, filter datasets, and compute solutions. Harder contracts yield larger payouts in credits, recipe unlocks, and tech upgrades.
Credits earned let you buy machines, modular rovers, and upgrade components for further terraforming tasks.
- Prioritize contracts that unlock new machine tiers to expand your capabilities.
- Balance credit spending between new equipment and upgrade packs.
04 / THE GUIDE
Tile‑Based Infrastructure
You design power grids, fluid networks, and outposts in a tile‑based blueprint editor. A Pioneer with a Constructor module executes the plan tile by tile, mirroring real engineering crews.
Infrastructure includes solar panels, water drills, oil wells, geothermal vents, pipes, and power lines, each requiring careful placement and balancing.
- Lay out power lines before adding high‑consumption machines to avoid back‑pressure issues.
- Use overpasses to cross fluid pipes without interference.
05 / THE GUIDE
Machine Tiers and Upgrades
Mark I machines operate in thin atmosphere, Mark II unlock breathable air, and Mark III require fluid input while enabling full terraformation. Upgrade packs earned from orders improve machine output curves.
Advancing tiers lets you expand from a single solar panel to planet‑spanning industry.
- Focus on Mark II upgrades once you have a stable power supply to access breathable air benefits.
- Apply upgrade packs to tier‑specific machines for maximum efficiency gains.





COMMUNITY
Player discussion