Skip to content
breakpoınt

What are programming games?

Updated 26 Oct 2026

A programming game is a game you win by writing code, or by arranging something that behaves like code. You don't steer a character; you give instructions, press run, and watch your solution succeed or fail. The puzzle is the program.

That simple idea covers a wide range: a quiet puzzle game about an office worker moving boxes, a cut-throat arena where your bot fights other people's bots around the clock, a ten-minute browser game that finally makes CSS grid click. This guide sorts them into six kinds and helps you choose.

The six kinds of programming games

Puzzle games. Self-contained levels with a goal and a small instruction set, often scored on speed and size so you keep optimising after you've solved them. Most are on PC and Steam: see programming games for PC and Steam.

Bot arenas. You write a program that plays for you, then it competes against other players' programs on a ladder. Some run in real time, others in matches while you sleep. See programming bot games.

Browser skill games. Short games that teach one skill, like CSS flexbox, SQL queries, Git branching or regular expressions. Usually free and done in an evening. See coding games for programmers.

Daily puzzles. One small puzzle a day, Wordle-style, often with a streak. See Wordle for programmers.

Contests and challenges. Problem sets and timed rounds, from relaxed kata sites to rated competitive programming. See coding challenge websites and competitive programming.

CTFs and wargames. Security puzzles where the code you read, break or write leads to a hidden flag. See CTFs for beginners.

Where they came from

Programs fighting programs is older than most programming languages people use today. In Darwin (1961), researchers at Bell Labs wrote programs that tried to wipe each other out of a shared memory. Core War (1984) turned the idea into a game with its own assembly language, Redcode, and it is still played: see Core War (KotH).

Robocode (2001) put Java tanks in an arena and taught a generation of students to code by making them want to win. In the 2010s, Zachtronics made the solo puzzle side popular with SpaceChem, TIS-100, Shenzhen I/O, Opus Magnum and Exapunks, and Tomorrow Corporation's Human Resource Machine brought the genre to people who had never programmed. Advent of Code (from 2015) made December a programming season.

How to choose

To learn a language or tool, pick a browser skill game for that exact thing, or browse by skill: SQL games, CSS games, regex games, Git games.

To relax and think, pick a puzzle game. If you've never coded, start with Human Resource Machine; if you have, try Exapunks or The Farmer Was Replaced. Our beginner's guide goes further.

To compete, pick a bot arena or a contest. Screeps and Battlesnake keep your code playing while you're away; Codeforces and AtCoder are live rounds against the clock.

Some games every programmer seems to love, like Factorio or Baba Is You, aren't played by writing code, so they aren't listed here. They're close cousins, not members of the family.

Questions

Are programming games good for learning to code?

Some are made for it, like the browser skill games and Blockly Games. Puzzle games teach habits more than syntax: breaking a problem down, testing small steps, and optimising. They're best alongside real projects, not instead of them.

Do I need to know a programming language?

No. Human Resource Machine, Blockly Games and the visual puzzle games (Opus Magnum, SpaceChem) use their own simple instructions. Bot arenas and challenge sites expect a real language, usually one of your choice.

Are programming games free?

Most browser games and challenge sites are. Puzzle games on Steam are usually paid, with a few free ones like SIC-1. See the free programming games list.

Keyboard shortcuts

j / k
Move down / up the list (this page)
] / [
Next / previous page
o
Open the focused game
b
Save or unsave the focused game
/
Search (the home list, or the command palette elsewhere)
Ctrl K
Command palette: games, skills, pages (works even when single keys are off)
?
This help