Games you play by writing code, not pressing buttons.
Browse programming games by language, difficulty and genre. Real screenshots, honest reviews, and guides to get you shipping your first bot.

Screeps: World
★4.7OnlineAn open-source MMO RTS where your units are driven by JavaScript you write — and the world keeps running 24/7, even while you sleep.

Screeps: World
OnlinePaidest. 2016★4.7 (318)An open-source MMO RTS where your units are driven by JavaScript you write — and the world keeps running 24/7, even while you sleep.

The Farmer Was Replaced
OfflinePaidest. 2023★4.8 (526)Program a drone to automate an entire farm. Plant, harvest, optimise — then watch your code outgrow you.

TIS-100
OfflinePaidest. 2015★4.8 (642)Reverse-engineer a corrupted parallel computer by writing assembly for its tiny nodes. Zachtronics’ cult open-ended assembly puzzler.

EXAPUNKS
OfflinePaidest. 2018★4.8 (401)It’s 1997 and you’re a hacker with a disease only an illegal procedure can cure. Write EXA agents to infiltrate machines and steal what you need.
// guides & articles
Tutorials and deep dives to level up your code-game.

Best JavaScript Coding Games for Automation, Bots and Browser Practice
The best JavaScript coding games for learning automation, bot logic, browser scripting and long-running systems without another dry tutorial.

Coding Games for Classroom Lessons: How to Teach Programming Through Play
A teacher-friendly guide to using coding games in school: lesson structure, age fit, reflection prompts, classroom routines and the best games for each objective.

Geometry Dash in Scratch: A Beginner Guide to Building a Rhythm Platformer
How beginners can build a Geometry Dash-inspired Scratch game: scrolling ground, cube jumping, obstacles, collision, variables and fair level design.

Best Coding Games: The Smart Way to Learn Programming by Playing
A practical guide to the best coding games for beginners, adults, kids and working developers who want real programming practice instead of another dry tutorial.

Free Coding Games That Actually Teach Programming
The best free coding games for learning Python, JavaScript, SQL, CSS, algorithms, bot programming and debugging without paying before you know what you like.

Free Coding Practice Sites: Games, Puzzles and Real Code Reps
A focused guide to free coding practice sites, including game-like platforms, algorithm puzzles, CSS games, SQL mysteries and structured learning paths.
// coding games FAQ
Quick answers for choosing the right programming game, practice path or beginner-friendly starting point.
What are coding games?
Coding games are games where programming logic is the main way you play. Instead of only pressing buttons, you write instructions, scripts, queries or visual programs that control a character, solve a puzzle, run a bot, automate a world or optimize a machine.
Can coding games teach real programming?
Yes, if you choose the right game for your level. Good coding games teach sequencing, loops, conditions, functions, debugging, state and problem decomposition. Games that use real languages such as Python, JavaScript, SQL or Java can also build syntax fluency, but the biggest benefit is learning how to think through a program and improve it.
What is the best coding game for beginners?
For absolute beginners, start with a visual or guided game such as Lightbot, Human Resource Machine or CodeCombat. These games make cause and effect visible, which helps new learners understand the logic before dealing with a full development environment.
Are there free coding games?
Yes. Bitburner, CodinGame, CSS Diner, Flexbox Froggy, Grid Garden and SQL Murder Mystery are strong free or free-to-start options. Free games are especially useful for testing whether you enjoy automation, algorithms, web layout, SQL or puzzle-based coding practice.
Which coding games teach Python?
CodeCombat, CheckiO, CodinGame, The Farmer Was Replaced and Battlecode are good places to practice Python through games or game-like challenges. CodeCombat is friendlier for early learners, while CheckiO and CodinGame are better once you want more puzzle repetition.
Are coding games useful for adults?
Yes. Adults often benefit from deeper systems such as Bitburner, Screeps, CodinGame, TIS-100, SHENZHEN I/O and Opus Magnum. These games are not just beginner lessons; they reward debugging, refactoring, algorithms, automation and long-term systems thinking.