Skip to content

The guide

12 Incremental Programming Games Where Your Code Does the Grinding

Incremental programming games ranked by how much real code they ask for: 12 picks from Bitburner and The Farmer Was Replaced to no-code automation scripts.

The two best incremental programming games are Bitburner (free, real JavaScript, a cyberpunk hacking RPG) and The Farmer Was Replaced (a Python-like language that teaches you as you automate a farm). If you can already code and want your scripts to run around the clock against other players, Screeps: World is the deep end.

We sorted the list by how much code each game expects, from full programming languages down to action lists and simple AI rules, because that is the question that decides whether you will enjoy one. Every pick is from our catalog; Steam review shares and US prices are as listed on Steam in November 2026.

01

Bitburner: best for learning JavaScript by hacking a fake internet

Platform: Browser, Steam · free

Bitburner is a programming-based idle incremental RPG: you play an unknown hacker in a dystopian world and write JavaScript to automate it. You hack through a network of servers to earn money and train skills, solve real programming questions for rewards, buy 100+ Augmentations, and write automated trading scripts for the stock market. Its inspirations, per the store page, include Hacknet, Uplink and Deus Ex.

It is free on Steam for Windows, Mac and Linux and in the browser, and it is open source with over 250 contributors listed. It has 95% positive from 7,431 Steam reviews as of November 2026, and our catalog records offline progress.

The developers say a very basic programming background is recommended but not required. Pick it first if you want to get better at real code while playing.

Watch out for: Text-heavy and open-ended. Without a goal of your own, the later systems can feel like homework.

02

The Farmer Was Replaced: best for a first programming game with a gentle start

Platform: Steam · paid

In The Farmer Was Replaced you program a drone in a simple Python-like language to farm for you. There are no separate levels: harvests buy new technology, technology asks for better code, and the opening introduces programming concepts one at a time. The developer notes it is close enough to Python that Python IntelliSense works with it.

It is $9.99 on Steam for Windows and Mac, by Timon Herzog, with 97% positive from 1,543 reviews as of November 2026, the best score on this list. It also has Steam leaderboards for optimization fans.

Pick it if you have never coded and want a game that teaches you. Experienced programmers can rush the early game and spend their time on the harder optimization puzzles later.

Watch out for: The game teaches concepts but will not hand you solutions, so true beginners should expect to get stuck sometimes.

03

Screeps: World: best for programmers who want an MMO run by their code

Platform: Steam · paid

Screeps: World is an open source MMO strategy sandbox where you control a colony by writing JavaScript that runs 24/7 in a persistent world. Your units harvest, build, defend, trade and fight other players' colonies, and they act without you, provided you programmed them properly. The store page says you only need to check in once in a while.

It is $19.99 on Steam for Windows, Mac and Linux, with 87% positive from 1,982 reviews as of November 2026.

Pick it if you already code and want the idle feeling of logging in to see what your scripts did overnight. Our idle MMO guide covers the other games where other players share the world.

Watch out for: Built for people with programming skills, says the developer. Other players' scripts can and will attack yours.

04

Code: Terraform: best for real Python-style code with no clicking at all

Platform: Steam · paid

Code: Terraform drops you on a frozen alien world where every action happens through scripts. Not visual programming or drag and drop: real code in a language modeled on Python, with an editor, console and documentation inside the game. You script solar trackers, rovers, smelters, power grid policy and drone fleets, and everything runs at the same time while you plan. Earth sends data-processing contracts for rewards.

It is $14.99 on Steam for Windows and Linux, in Early Access, with 83% positive from 310 reviews as of November 2026.

Pick it if The Farmer Was Replaced felt too small and you want a whole base to program.

Watch out for: Early Access, no Mac build, and since nothing can be clicked, you will be reading its built-in documentation a lot.

05

The Perfect Tower II: best for scripting a tower defense to play itself

Platform: Steam · free-to-play

The Perfect Tower II is a mix of incremental and tower defense with a town to build, 15 regions, five modes and a pile of mini-games. Its programming hook is the AI: you use simple commands to automate almost everything, so the game runs while you are away from the keyboard.

It is free to play on Steam (Windows) with in-app purchases, and you can switch between the Steam, web and mobile versions. It has 87% positive from 4,463 reviews as of November 2026, and our catalog records offline progress.

Pick it if you want automation scripting inside a bigger idle game rather than a programming puzzle. It is also on our idle tower defense list.

Watch out for: The scripting is a means to automate, not a teaching tool, and the game has in-app purchases.

06

Antimatter Dimensions: best for a scripting language as an endgame reward

Platform: Browser, Steam, Mobile · free

Antimatter Dimensions is famous for its prestige layers, but its late game hides a programming game. In the Reality layer you get the Automator, a scripting system you power up with points from Reality perks and upgrades. The open source code shows it has both a text mode and a block mode, with its own lexer, parser and compiler.

It is free in the browser, on Steam and on mobile, with 92% positive from 4,620 Steam reviews as of November 2026, and it has a real ending.

Pick it if you like the idea of earning the right to write code. Expect a long road before the Automator arrives.

Watch out for: The Automator is many hours in. If programming is the only reason you are here, start higher on this list.

07

Stone Story RPG: best for ASCII art and a scripting language for your hero

Platform: Steam, Mobile · paid

Stone Story RPG is an auto-RPG animated entirely in ASCII art. You have no direct control of your character: an AI explores, fights and loots while you time potions and abilities and swap items during boss fights. Its scripting language, Stonescript, runs in the Mind Stone, where the official manual says you can automate equipment choices, trigger abilities and potions on conditions, read game state and even build custom interfaces.

It is on Steam for Windows, Mac and Linux and on mobile, with 91% positive from 996 Steam reviews as of November 2026. Our catalog records an ending and 15 to 30 hours.

Pick it if you want a beautiful game first and a programming toy second.

Watch out for: The store page is clear that it is not an idle game: boss fights need quick hands even with scripts.

08

Soda Dungeon 2: best for writing party AI without writing real code

Platform: Steam · free-to-play

Soda Dungeon 2 is a laid-back dungeon crawler where you hire adventurers from a tavern, send them into the Dark Lord's castle and spend the loot on your tavern, town and armory. Its programming feature is Soda Script: custom AI patterns for your party so they do exactly what you want while you are not watching.

It is free to play on Steam for Windows and Mac. The store page lists in-app purchases but promises no timers, lives systems or paywall, with everything buyable with in-game currency. It has 94% positive from 5,419 reviews as of November 2026, and it earns Battle Credits while you are away.

Pick it if you want rule-based automation in a friendly package. Our idle dungeon crawler guide covers the dungeon side.

Watch out for: Soda Script is a behavior editor, not a language, so programmers will find it simple.

09

ε-prime: best for commanding bots with JavaScript in a browser

Platform: Browser · free

ε-prime (Epsilon-prime) is a 2015 browser game where you explore and exploit a procedurally generated planet with bots. You can control them by hand or write JavaScript scripts to run them, growing your bot army until you conquer the planet.

It is free and open source on GitHub, so you can read exactly how the scripting works.

Pick it if you want Screeps-style bot scripting for free and without other players.

Watch out for: An old, small project. Expect rough edges and no updates.

10

StrudelIdle: best for live-coding music as an idle game

Platform: Browser · free

StrudelIdle (its README calls it AlgoRave IDLE) is an idle game about live-coded music. You generate Beats, buy code modules (samples, synths, effects) and hardware upgrades, and your Strudel pattern grows from a simple s("bd") into complex mini-notation that plays in your browser through Strudel.cc. The progression follows the official Strudel workshop order.

It is free and open source on GitHub.

Pick it if you are curious about live coding and want a game that builds the pattern for you while you watch and listen.

Watch out for: You read and hear code more than you write it, and it makes sound, so check your volume at work.

11

Idle Loops: best for programming-style planning without code

Platform: Browser · free

Idle Loops is not a programming game in the strict sense, but it scratches the same itch. You plan a list of actions, run the loop, get stronger, and plan a better loop. Each loop is a small program you are optimizing, and the fun is finding a shorter, smarter sequence.

It is free in the browser. Our catalog recommends the Omsi fork, linked below, as the version to play.

Pick it if you enjoy the debugging part of coding (why is this slow?) more than the typing part.

Watch out for: Our catalog rates it only 35% idle: it rewards attention, and early loops take some trial and error.

12

Yet Another Incremental Game (but this time about coding): best for the coding fantasy with no coding required

Platform: Steam, Browser · paid

This one is about programming rather than programming itself. You mash keys to write code, ship files, place components in a production grid, and eventually run six AI agents that write the code, fix the bugs and make you obsolete. Client projects span 200-file codebases across eleven languages, and prestige wipes it all for a permanent multiplier.

It is $7.99 on Steam for Windows, Mac and Linux in Early Access, with a browser version on galaxy.click. It has 74% positive from only 39 reviews as of November 2026, and our catalog records offline progress.

Pick it for the joke and the number-go-up, not to learn anything. The store page says it plainly: "No coding knowledge required."

Watch out for: Very few reviews so far and Early Access; try the browser version before buying.

How to choose an incremental programming game

Be honest about how much code you want to write.

01

Match it to your coding level

Never coded: The Farmer Was Replaced teaches you. Some coding: Bitburner, which the developers say needs only a very basic background. Comfortable: Code: Terraform and Screeps: World. Prefer rules over code: Soda Dungeon 2, The Perfect Tower II and Idle Loops. Just the theme: Yet Another Incremental Game.

02

Match it to the language

JavaScript: Bitburner, Screeps: World and ε-prime. Python-like: The Farmer Was Replaced and Code: Terraform. Game-specific languages: Stonescript in Stone Story RPG and the Automator in Antimatter Dimensions. Music: Strudel patterns in StrudelIdle. If you want automation by wiring nodes instead of writing code, Upload Labs is in our idle factory games guide.

03

Match it to how idle you want it

Screeps runs your code around the clock, Bitburner and The Perfect Tower II record offline progress in our catalog, and Soda Dungeon 2 earns Battle Credits while you are away. The Farmer Was Replaced and Code: Terraform are about writing and testing, so they progress while you are actively playing.

Write your first script tonight

Open Bitburner in a browser tab right now: it is free and you can write your first hacking script in minutes. If you would rather learn from the ground up, buy The Farmer Was Replaced.

Both are long games, so check how much time you want to give one before you start.

See how long games take to beat →

Common questions

What is the best incremental programming game?

Bitburner for real JavaScript (free, 95% positive on Steam as of November 2026) and The Farmer Was Replaced for beginners (97% positive). Screeps: World is the deepest for experienced programmers.

Can programming games teach you to code?

Some can. The Farmer Was Replaced introduces programming concepts one at a time in a Python-like language, and Bitburner asks you to write real JavaScript and solve programming questions. Neither replaces a course, but both make practice feel like play.

Is Bitburner free?

Yes. It is free on Steam and in the browser, with no in-app purchases listed on Steam, and the source code is open on GitHub.

What games are like The Farmer Was Replaced?

Code: Terraform is the closest, with a Python-like language driving a whole alien base. Bitburner swaps farming for hacking in JavaScript. The same developer made Assembly Planter, a farming automation game with machines and belts instead of code.

Do I need to know programming to play Bitburner?

No. The developers recommend a very basic programming background but say it is not required.

Sources