We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to continue.

13 Best Coding Games for Adults to Learn Programming [2026]

Maya Chen
Maya ChenComputer science and programming educator at Boot.dev

Last published

Table of Contents

Most "best coding games" lists are written for kids, but THIS ONE is (mostly) for adults who want to learn to code, and the main thing I focused on here was: does this game make you type real code, or does it just make you feel coding-adjacent?

So, here are my 13 picks. Prices, languages, and platforms were verified September 2026, links included. Steam was mid-sale when I checked, so I've listed regular prices.

Game Price Where it runs What you learn
Boot.dev Free to start, then $59/mo or $399/yr Browser Backend development, from zero to job
The Farmer Was Replaced $9.99 Steam (Windows, Mac) Loops, functions, automation
Zachtronics $6.99-$19.99 per game Steam Low-level programming and optimization
CodeCombat 5 free levels, then a subscription Browser Syntax basics, functions, loops
Codédex Free tier, Club $19.99/mo or $9.99/mo yearly Browser Beginner syntax across several languages
Screeps: World $19.99, optional $149.99 CPU unlock Browser or Steam Writing code that runs unattended
Bitburner Free Browser or Steam Scripting, automation
CodinGame Free Browser Algorithms, competitive puzzles
Human Resource Machine $14.99 Steam, mobile, more How a CPU thinks
Vim Adventures Free start, $35 license Browser Vim
Learn Git Branching Free Browser Branching, rebasing, remotes
Flexbox Froggy, Grid Garden, CSS Diner Free Browser Flexbox, grid, selectors
SQL Murder Mystery Free Browser SELECT, WHERE, JOIN

How I ranked these

Three criteria:

  1. Do you type real code in a "real" (tm) language? The syntax you learn should still be useful outside of the game. A made-up assembly language might be nice for teaching you how a computer thinks, which is good, but it's not the same as knowing Python or Go.
  2. Does it go somewhere? Some of these have a whole curriculum under the shiny game mechanics. Some of them are just a collection of puzzles, and when you're done, you're done.
  3. What does it cost, and where does it run? Browser games are more accessible, but Steam games are frankly more like actual games.

Boot.dev: a full curriculum with some game mechanics

Yayaya I know, Boot.dev is our platform. I'm biased. Anyways, it's a full coding curriculum that feels like an RPG, and most lessons give you an actual coding challenge to solve in the browser or on your own machine. Passing one off earns you XP, XP levels you up, and then there are weekly leagues, community boss fights, loot chests, daily quests, gems, guilds, and Sharpshooter sprees. It's actually quite a lot.

But underneath all of that is the part I think actually makes it special (which surprisingly to many is not the game mechanics): the curriculum. You start with Python for beginners, which is 168 lessons and about 30 hours. As of September 2026 it has a 4.8 rating from 11,822 reviews and 841,341 students. Then you keep going through object-oriented programming, functional programming, Go, SQL, HTTP servers, Docker, Kubernetes, and full projects you build on your own machine. The platform has more than 1.4 million students and a 4.8 on Trustpilot from 234 reviews.

One of those reviews, posted September 10, 2026:

"The gamified mechanics are not only charming and fun, but also give incentives to keep studying. It's just such a satisfying way to learn."

-- Andrés, Trustpilot review

Lane's (the founder's) argument on the about page is that coding is already a game loop. You make interesting decisions, hit run, and immediately find out whether you were right. The XP and loot are mostly there to keep you motivated through the parts that don't feel quite so magical, like your ninth hour of learning about pointers.

The cons:

  • It's mostly paid. Creating an account is free and the first chapters are fully interactive. After that, the lessons are free to read but you need a membership to submit code: $59/month or $399/year with a 30-day refund.
  • The game isn't the point. If you want to build a farm or hack a corporation, some of the entries below are more fun. Boot.dev is fun in the way finishing a hard workout is fun. Some days it's fun in the way starting one isn't.
  • Browser/local only. No Steam, no controller, no offline mode.

The Farmer Was Replaced: the best coding game on Steam imo

The Farmer Was Replaced gives you a drone, a farm, and no way to do any farming except by writing code. Your first program simply moves the drone one tile and harvests, but eventually you're running a maze-solving, multi-crop, resource-balancing operation that you wrote yourself. It's incredible.

It's $9.99 on Steam for Windows and Mac. It left early access in October 2025 and has an Overwhelmingly Positive rating, with 96% of more than 9,000 reviews across all languages giving it a thumbs up.

The store page is careful about the language: "Programming is done in a simple language similar to Python." That's accurate. The indentation, for loops, while loops, functions, and lists all look and feel like Python, but it isn't running the real Python interpreter. And btw, Python feels a lot like Godot's GDScript, so if you're into game dev, both this and Boot.dev are a great way to get started with the basics.

This recent Steam review represents it well:

"As a software engineer: Day job: Depressed, writing zero code while an AI agent does all the heavy lifting. Night job: Happily debugging spaghettified code in this game for 6 hours straight. Nature is healing."

-- Severoe, Steam review

The cons:

  • It isn't real Python. Close enough, per the developer, but you'll still have to learn how actual Python handles files, imports, and packages somewhere else if you'll be working in it.
  • Windows and Mac only. No Linux build. Sad.
  • It's about the farm. You get very good at optimizing a drone's farming efficiency... but you aren't exactly learning about web servers or databases.

The Miner Was Replaced, a DLC expansion, is due on November 2, 2026, according to the developer's Steam news post from September 9!

CodeCombat: Python for kids

CodeCombat is probably what you pictured when you clicked on an article about coding games. There's a little hero in a dungeon, a code editor on the right, and you move the hero by typing Python or JavaScript. You start with hero.moveRight(), and a few levels later you're writing loops and conditionals to fight ogres.

The cons:

  • You get five free levels. The first five levels of Kithgard Dungeon are free. Premium unlocks the rest of the campaign, plus game development and web development courses.
  • It's aimed at children and schools. The site's navigation is "Educators, Parents, Play." Of course, an adult can learn from it, but the tone and the difficulty curve (at least seemed to me) are tuned for a ~12 year old.

Codédex: XP and badges over a beginner course catalog

Codédex says it's for "kids and adults alike," which I concur with. You work through courses, earn XP, unlock new regions on a little fantasy map, and collect badges. The catalog covers Python, HTML, CSS, JavaScript, SQL, React, Node.js, C++, Java, Git, and data structures.

The free Explorer tier can get you started, but Club is $19.99 a month, or $9.99 a month billed yearly, and unlocks the full catalog, certificates, and mentor support.

The cons:

  • It's a course platform with an intense Pokémon-like skin. Same category as Boot.dev, to be fair. The pixel art is pretty cool.
  • It goes wide instead of deep. There are lots of short courses across many different languages, which is where it pedagogically differs from Boot.dev - Boot.dev has always been about depth rather than breadth.

Screeps: World, a JS MMO

Screeps is a persistent MMO where every unit you own is controlled by the JavaScript you wrote. Your code keeps running after you close the game, so you come back in the morning and your creeps have either built an empire or starved because you're a bad software developer.

It's $19.99 on Steam but also runs in the browser. Nearly ten years after its Steam release, it's still getting new seasons, and World Season 10 started September 1, 2026. Steam has it at Very Positive, with 86% of more than 2,000 reviews across all languages giving it a thumbs up. You can even use a compiled language through WebAssembly if JavaScript isn't your thing.

One player with more than 400 hours summed it up nicely:

"Not the most efficient way to learn JavaScript, but it's a good playground and I'm obsessed over my little screep children."

-- Weazle, Steam review

The cons:

  • You need to already be a dev. There's a tutorial, but it teaches the game's API, not the JS language. This is a place to practice, not learn from scratch.
  • The CPU cap is how they make money. The base purchase gives you 20 CPU per tick forever. Lifting the cap costs $149.99 for a lifetime unlock, or you can buy consumable unlock items.

Bitburner: free, open source

Bitburner is a cyberpunk idle game where you hack servers by writing JavaScript.

It's free on Steam and in the browser, and the source code is public. Version 3.0 shipped in May 2026, and 95% of its 7,402 Steam reviews across all languages are positive.

Another Steam reviewer is apparently living the same life as Severoe:

"At work claude writes all the code for me. Then I come back home and get to write code by myself on Bitburner. 10/10 game."

-- Oreos, Steam review

The cons:

  • It's an idle game underneath. Numbers go up while you wait, and the fun is in improving the results of the waiting. But I was into cookie-clicker so I don't mind at all.
  • It assumes some JavaScript know-how. The store page says prior programming experience is recommended but not required. An absolute beginner is still going to have a rough start.
  • The UI is a terminal. Which personally, I'm into.

CodinGame: puzzles in 25 languages

CodinGame is a puzzle site where a little animation reacts to your solution. You can solve algorithm problems, race people in Clash of Code, or write bots that fight other people's bots. It's free for players, and you can use more than 25 real programming languages. CoderPad, the technical-interview company, bought it in 2021.

The cons:

  • It doesn't teach a language. The puzzles assume you already know one so it's tailored for practice, not learning.
  • The free game feeds the hiring product. CoderPad sells assessments to companies, which explains why so many of the problems feel like interview questions. Not necessarily bad, but good to know about.

Human Resource Machine and 7 Billion Humans

Human Resource Machine puts you in an office where you move numbers from an inbox to an outbox. You only get eleven commands: jumps, copies, adds, and a tiny bank of memory slots. Underneath the game, it's assembly.

You drag the commands into place instead of typing them, but you're still building a program one instruction at a time. By the end you've written sorting algorithms without having heard about "Big O". It's $14.99 on Steam for Windows, Mac, and Linux, plus iOS and Android. 94% of its 4,690 Steam reviews across all languages are positive.

7 Billion Humans, the sequel, gives you a whole floor of workers running the same program at once. It's parallel programming in a cartoon office, basically. It has more than 60 levels, costs $14.99, and is also on the Switch. 94% of its 2,138 Steam reviews across all languages are positive.

The games do occasionally turn into more than a fun weekend:

"A game that essentially kickstarted my programming career. A little over a decade and some 5 YoE in the industry later, I still think about this game:)"

-- Marek, Steam review

The cons:

  • The language is made up. None of the code transfers, but of course the understanding of the fundamentals does: a program is a sequence of tiny instructions, and the computer does exactly what you said instead of what you meant. Kinda like when I played with Lego Mindstorms as a kid.
  • It gets hard fast. The optimization challenges in the back half of HRM are tough, which surprises people who thought it was an easy game.

Zachtronics: TIS-100, Shenzhen I/O, and Exapunks

If Human Resource Machine is the gateway drug, Zachtronics is the hard stuff. TIS-100 costs $6.99 and comes with a fake 1980s manual you'll have to read. And I mean read, probably with a pen and paper handy. Shenzhen I/O is $14.99 and has you wiring microcontrollers together and writing assembly for each one. Exapunks is $19.99 and has you send little programs called EXAs into networks to steal data. Its tutorials come as in-game zines, which is just absolutely fantastic.

All three sit between 95% and 97% positive across all languages on Steam. TIS-100 has the Overwhelmingly Positive label, while Shenzhen I/O and Exapunks are Very Positive.

IEEE Spectrum's Stephen Cass wrote about these games and Human Resource Machine back in 2017:

"They all use virtual systems with minimal instruction sets. Still, they do capture the essence of assembly coding, with complex behaviors squeezed out of simple commands."

-- Stephen Cass, IEEE Spectrum

This TIS-100 review is a pretty good test for whether you'll like any of them:

"Do you ever imagine yourself recreationally writing assembly code for a processor where the simple act of memory access requires consideration? Yeah, me neither, but I still had a lot of fun with TIS-100."

-- LuNoX, Steam review

Zachtronics shut down in 2022 and called Last Call BBS its last game. Then, weirdly, the name returned in March 2026 for an Opus Magnum expansion. At any rate, the old games are still for sale.

The cons:

  • Fictional assembly, again. You'll understand registers and memory better than most bootcamp grads, but you're not going to be ready for a job writing web servers in Go.
  • No hand-holding. You're going to need to RTFM.

Vim Adventures: vim btw

Vim Adventures is a Zelda-style browser game where h, j, k, and l move your character. Every new Vim motion opens up another part of the map. There are thirteen levels covering more than 60 commands and motions. I spent about 5 hours on this one, had a lot of fun, but I still haven't made the switch to NeoVim from my old VS Code setup... so maybe it didn't work. Or maybe I'm just lazy.

The cons:

  • The license is $35 for six months ($40 with the challenge levels). Without one, you can only replay levels you've already unlocked.
  • It's just vim. I think every developer should learn Vim well enough to be able to move the cursor and escape from it, but idk that everyone needs to actually use it as a daily driver.

Learn Git Branching and Oh My Git!

Git is where a lot of new developers get frustrated and give up. It can make coding feel more like a chore than just writing code and running it.

Learn Git Branching runs in the browser and draws the commit graph while you type real Git commands. git rebase, git cherry-pick, and remote tracking make a lot more sense when you can watch the arrows move. It's free, has about 36 levels covering the basics, rebasing, and remotes, and the repo is still active.

Oh My Git! is a downloadable game for Windows, Mac, and Linux that visualizes a real repository in real time. You play cards that run Git commands, or drop into the built-in terminal and type them yourself. It's free and open source.

The cons:

  • Learn Git Branching simulates Git. The sandbox isn't a real repository, so there's no working directory or staging area. It's great for understanding the graph but isn't going to give you the muscle memory for a typical git add/commit/push -> pr workflow.
  • Oh My Git! is in low-maintenance mode. The last release was version 0.6.5 in July 2022, and the README says the team doesn't have much time for it. It still works.

Flexbox Froggy, Grid Garden, and CSS Diner

These are three tiny, free browser games that each teach one piece of CSS. More importantly, the CSS you type in them is the same CSS you'll use at work, which is rarer on this list than I'd like...

Flexbox Froggy gives you 24 levels where you use justify-content, align-items, and the rest of flexbox to move frogs onto lily pads. Grid Garden does the same thing for CSS grid, but with carrots across 28 levels. CSS Diner has 32 levels where you select plates and apples off a table using CSS selectors.

The cons:

  • Each one is doable in an afternoon, at most.
  • CSS Diner hasn't been touched since 2023.

SQL Murder Mystery

SQL Murder Mystery from Northwestern's Knight Lab gives you a police database and tells you there's been a murder in SQL City. You write real SQL against a SQLite instance in your browser until you find the killer. It's free, doesn't need an account, and one of the most delightfully creative options on this list.

The cons:

  • It's one mystery. Again, probably just a day or two to complete, then you're done.
  • A few SQLite-only commands in the walkthrough won't transfer to Postgres or MySQL.

If it gets you interested, I ranked the places to keep going in our best sites to practice SQL list.

The best coding games for learning Python specifically

If you specifically want to learn Python, I'd give you a slightly different list.

  • Boot.dev teaches real Python from the first lesson in the browser, and it's the only one here where the Python course turns into a full backend-development path.
  • CodeCombat has you typing real Python to move a hero with a kid-focused framing.
  • Codédex has a Python course and an intermediate Python follow-up, plus NumPy and Pandas if you go the data direction.
  • CheckiO is a map of Python missions, but I'd recommend it to someone who already knows the basics.
  • The Farmer Was Replaced is the closest thing to a Python game on Steam, with the caveat that its language is Python-like rather than Python.

How to pick a coding game

First, figure out what your actual goals are.

  • You want to become a developer. Pick a game with a full curriculum behind it. That's Boot.dev, or maybe Codédex if you'd rather try a bunch of languages.
  • You want to find out whether you'd even like programming. The Farmer Was Replaced costs $9.99 and will only take a weekend to figure out. If you finish it and want more, move on to something with more depth.
  • You already code and want to get better at thinking. Zachtronics, Human Resource Machine, Screeps.
  • You just need to pick up mastery of one specific tool. Learn Git Branching for Git, Vim Adventures for Vim, the frog and the carrots for CSS, or the murder mystery for SQL.

One warning. The puzzle games can be a trap for a specific kind of person. I can spend hours shaving cycles off a TIS-100 solution... just know your weaknesses before you develop a new addiction.

So play them! Then go build something. Nobody learns to program without writing a lot of programs.

Frequently Asked Questions

Can you actually learn to code by playing games?

Yes, if the game makes you type real code in a real language and keeps raising the bar. Boot.dev, CodeCombat, Codédex, and Screeps do that. Puzzle games like Human Resource Machine and TIS-100 teach you how a computer thinks, which is useful, but you finish them without knowing Python or JavaScript. Treat those as a warm-up, not a curriculum.

What is the best coding game for adults?

It depends on what you want out of it. If you want a game that ends with you able to build software, Boot.dev is the only one on this list whose curriculum runs from your first line of Python all the way to full backend projects. If you want a Steam game you can finish in a weekend, The Farmer Was Replaced teaches Python-flavored automation for $9.99. If you want to suffer in the best way, TIS-100.

Are there free coding games?

Plenty. Bitburner, CodinGame, SQL Murder Mystery, CSS Diner, Flexbox Froggy, Grid Garden, Learn Git Branching, Oh My Git!, Untrusted, and Elevator Saga are all free. Boot.dev's first chapters are free with the full interactive experience, and everything after that is free to read. CodeCombat gives you five free levels before its subscription kicks in.

Which coding games teach Python?

Boot.dev teaches Python first and then moves on to Go, TypeScript, SQL, and more. CodeCombat and Codédex both have Python tracks, and CheckiO's missions are Python or TypeScript. The Farmer Was Replaced uses a language that is close to Python but not identical, and the store page says as much. Human Resource Machine and the Zachtronics games use made-up assembly languages, not Python.

Are the coding games on Steam worth it?

For fun and for learning to think like a programmer, yes. The Farmer Was Replaced, Human Resource Machine, 7 Billion Humans, TIS-100, Shenzhen I/O, Exapunks, Screeps, and Bitburner all sit at Very Positive or better on Steam and cost $20 or less at list price. None of them will get you a job on their own, because none of them teach you to build and ship a real program. Pair them with a course that does.