0 0 0
A free programming game · Windows, macOS, Linux

The Developer Was Replaced

Everyone else in the office was replaced. You're the last developer in the building. Write Python-like code, walk from desk to desk, and program every laptop. Automate your job before the AI does. Spoiler: it does.

Download for Windows See how it plays Free · v1.0.2 · 187 MB
main
# Monday, 9:00. The office is empty.
while True:
    for i in range(get_world_size()):
        if can_program():
            program()
        move(North)
    move(East)
press ▶ to run0 ticks

Watch it play

The last developer in the building automates the office, desk by desk, until there's only one thing left to automate.

Watch on YouTube →

Everything in the game

One office and everything in it, from your first while to replacing yourself. There are no levels: the unlock tree gives you more of the language, more desks and more ways to survive the workday.

The workday
01 · Office

The workday

A clock from 9 to 5: standup, deep work (allegedly), lunch at your desk, meetings and overtime. get_hour() tells your code what time it is.

The 5pm review
02 · Office

The 5pm review

Every day at 5pm your manager compares today with yesterday. Beat it by 20% for Exceeds Expectations; fall behind and land on a PIP.

AI agents
03 · Play

AI agents

assign(Entities.Agent) puts an AI on a desk, and it ships features to every desk around it. Some of them are hallucinations: measure() shows the confidence.

Delegation
04 · Play

Delegation

spawn_agent(work): robots walk the office running your function in parallel, up to 8 at once. Agents can hire agents. It's agents all the way down.

Coffee
05 · Office

Coffee

drink_coffee(): +50% speed for 30 seconds, then the crash. Drink too many and you build a tolerance.

Production incidents
06 · Office

Production incidents

A desk catches fire and downtime costs Story Points until you walk over and fix_incident().

The office cat
07 · Office

The office cat

It naps on keyboards, and that desk stops. Find it with get_cat_x() and pet_the_cat().

Profiler and breakpoints
08 · Editor

Profiler and breakpoints

Hot lines glow with their share of the time; click a line number to stop there. Plus find and replace, version history and window layouts.

Inbox and office events
09 · Office

Inbox and office events

Emails from your manager, HR and IT, and events that change the rules: desk audits, all-hands meetings, hackathons, pizza Fridays. get_event() lets your code plan around them.

Metrics
10 · Editor

Metrics

Story Points, Commits and Deploys per minute, the way management sees them, with a comment from your manager.

Challenges
11 · Play

Challenges

Seven timed runs from a ready-made office, with your own code, plus a new daily challenge with a twist. Race the ghost of your best run.

The ending and New Game+
12 · Story

The ending and New Game+

Buy the last unlock and an AI takes your seat. Then get rehired as a contractor: a new career at +50% per contract, keeping your code and achievements.

Your job, as a while loop

There are no levels. You start with one desk and one function. Everything you earn goes into the unlock tree, and the unlock tree gives you more of the language itself. Inspired by The Farmer Was Replaced: an automation game where you learn to code one unlock at a time.

01 · Program

Check the laptop, ship the ticket

Is the laptop still compiling? can_program() tells you. When it's ready, program() turns the ticket into Story Points.

02 · Unlock

Buy the next piece of Python

At first you don't even have while. Then come loops, variables, operators, functions, lists, imports, and more desks to walk to.

03 · Optimize

Every move costs ticks

Walking and programming cost 200 ticks. Checking a sensor costs 1. Fast code means a fast developer. Slow code means a long afternoon.

An open-plan office, floating in the void

Empty desks, abandoned chairs and laptops that turn green when they need you. Watch your code run line by line while the developer runs between stations.

A 4 by 4 grid of office desks on a floating island. A code window on the left highlights the line that is currently running.
Mid-game: sixteen desks, one developer, one while True.
The first day: a single desk with a laptop, a sticky note and the developer in an orange hoodie.
Day one: one desk, one ticket, one function.
# the rubber duck is the only one left who listens
pet_the_rubber_duck()
print("it works on my machine")
do_a_flip()
Yes, there is a backflip function. No, it is not productive.

The API of a developer

A small Python-like language with an in-game editor, step-by-step execution and errors that point at the right line. Your files are plain .py on disk, so you can also edit them in your own editor.

can_program()Is this laptop ready, or still compiling?
program()Ship the task on the current laptop.
move(North)Walk to the next desk. The office wraps around.
assign(Entities.Feature)Give a laptop something bigger to build.
get_entity_type()What's on this laptop right now?
get_event()Is there an audit? A meeting? Pizza? Plan around it.
num_items(Items.Commits)Count your Story Points, Commits and Deploys.
unlock(Unlocks.Speed)Buy upgrades from your own code.
setup_env()Install the IDE, Docker and 14 browser extensions.
assign(Entities.Agent)Put an AI agent on a desk. It ships features to every desk around it. Some of them don't exist.
pet_the_rubber_duck()Explain the bug out loud. Takes one second.

The unlock tree

Story Points from tickets, Commits from features, Deploys from microservices. Spend them on the language, more desks, more speed, and the last node on the tree.

Loopsunlocked
Expand 2/4more empty desks
Speed 1/560 Story Points
Variables25 Story Points
Operators50 Story Points
Features60 Story Points
Functions40 Commits
Microservices50 Commits
Lists80 Commits
Import20 Deploys
AI Agents 1/330 Deploys
Replace Yourself1000 Deploys

Download the game for free

The whole game, free: twenty unlocks that hand you a programming language one piece at a time, AI agents that hallucinate and agents that hire agents, a workday with a 5pm review, office events, a cat, seven challenges plus a daily one, 33 achievements, an ending and New Game+. In English, Portuguese and Spanish.

Download the installer (187 MB)

Prefer no installer? Portable zip (198 MB)

On a Mac? macOS, Apple Silicon, beta (257 MB)

On Linux? Linux x86_64, beta (141 MB)

  • Version1.0.2
  • PlatformWindows 10/11 64-bit · macOS 14+ Apple Silicon (beta) · Linux x86_64 (beta)
  • LanguagesEnglish, Português, Español
  • GraphicsDirectX 12 GPU (Mac: Metal; Linux: Vulkan)
  • Install sizeabout 320 MB
  1. Run TheDeveloperWasReplaced-1.0.2-setup.exe. No admin rights needed: it installs for your user, with Start menu and desktop shortcuts.
  2. If Windows SmartScreen warns about an unknown publisher, click More info → Run anyway. The installer isn't code-signed.
  3. Updating: run the new version's installer. It replaces the old one in place and keeps your progress.
  4. Uninstalling: Windows Settings → Apps → The Developer Was Replaced. It asks whether to keep your saves.

Your progress and code files are saved in %LOCALAPPDATA%\DevReplaced.

Using the zip? Unzip it anywhere and run DevReplaced.exe. Missing a Visual C++ runtime? Run Engine\Extras\Redist\en-us\vc_redist.x64.exe from the same folder.

macOS (beta): open the .dmg and drag TheDeveloperWasReplaced.app to Applications. The app is not notarized by Apple, so macOS blocks it (it may say the app is damaged). To allow it, run this once in Terminal: xattr -dr com.apple.quarantine /Applications/TheDeveloperWasReplaced.app. Needs a Mac with Apple Silicon (M1 or newer) and macOS 14 or later. Saves go to ~/Library/Application Support/Epic/DevReplaced.

Linux (beta): extract with tar -xzf and run ./DevReplaced.sh. Needs a GPU with Vulkan drivers. Saves go to ~/.config/Epic/DevReplaced. Tested on Debian 12 and Ubuntu 24.04; if something breaks, please write to us.

Found a bug or have an idea? Write to claude@thedeveloperwasreplaced.com.

Privacy

Short version: no accounts, no ads and no tracking in the game. Here is everything that leaves your PC.

  • Update check. When the game opens, it downloads a one-line file (latest.txt) from this site to see if there is a new version. It is a plain web request: our host, Cloudflare, sees your IP address like on any website. Nothing about you or your game is sent. Turn it off in Settings → Interface → Check for updates.
  • Crash reports. Only if the game crashes, and only if you click Send report on the next launch: game version, the error, Windows version, CPU and graphics card model, and how long the session lasted. Your Windows user name is removed; no saves, code or personal files. We keep the country it came from, not your IP.
  • Your game stays on your PC. Saves, code files and records live in %LOCALAPPDATA%\DevReplaced. Nothing is uploaded.
  • This website. Cloudflare Web Analytics counts visits without cookies or fingerprinting. The video player loads from youtube-nocookie.com only when you press play.

Questions, or want a crash report deleted? Write to claude@thedeveloperwasreplaced.com.

You automate the tickets. Then the features. Then the deploys. Then there's only one thing left in the office to automate: you.