Tail Recursion artwork$5.9967%3 user reviews

Tail Recursion

A programming puzzle game where you never control the snake directly. Instead, you build its behavior by connecting blocks, then press play and see if your logic works. Think like a programmer as you solve 70 puzzles, with 30 more coming soon.

Screenshots

From the Steam store

You never steer.

There are no arrow keys. Your snake stands still until the program you built tells it to move — and then it does exactly what you wrote, including the part you got wrong.

Tail Recursion is a programming puzzle game. You solve a level by wiring blocks into a graph: sense the world, branch on what you find, count, remember, act. Then you press play and watch your logic run one tick at a time.

Build the program, not the path

Drag blocks onto the canvas and wire them together. Move Forward, Turn Left, Repeat N Times, If / Else, Wall Ahead?, Store, Recall. Every block spends from a per-tick budget, so a clever program beats a long one — and the score agrees.

Read the world

Wall ahead? Food ahead? Door ahead? Sensors are the only way your program learns anything. Two blocks and one sensor will walk any perimeter forever — the trick is knowing which two.

Your body is your hardware

Sensor Segments let you see.

Memory Segments give you variables.

Processor Segments raise your budget.

They are body segments. Capability costs length, and length is what kills you.

Watch it think

The graph lights up as it runs — which block fired, what the sensors returned, what it cost, what the snake did. When it dies, the game says which death it was: you hit a wall, or you hit yourself. Those need completely different fixes.

70 puzzles now — 100 coming soon

Start with six tutorials that teach you how everything works, then take on 70 handcrafted puzzles. Explore corridors, spirals, combs, keyed vaults, gated floors, and even sensorless runs where you must plan the entire route before moving. Another 30 puzzles will be added in a free update.

Score, then beat your score

Every level carries a budget set by its difficulty. Slow runs spend it. Extra action blocks spend it. Loops, conditions and sensors are free — they are how you save it. Apples always pay for the detour that fetched them. Replay any level to raise your total.

And

Free Play — an endless board and a combo score

Custom levels — drop .level files into a folder and they appear in the menu

Moddable — blocks are Lua, and they hot-reload while the game is running

Games like Tail Recursion

See all
You Are The Code

You Are The Code

A programming puzzle game, but YOU CAN'T TYPE. Navigate and run pre-existing lines of code! Watch out for bugs eating away your program!

100% of 41 Steam reviews are positive$4.39
Infinite Turtles

Infinite Turtles

Design computational circuits which defy restrictions of our universe in this open-ended puzzle.

98% of 47 Steam reviews are positive$9.99
Recursed

Recursed

A puzzle game where the rooms are items and the items are rooms.

96% of 639 Steam reviews are positive$7.99
Selfless Heroes

Selfless Heroes

Solve puzzles by designing an AI for a team of selfless heroes. Test your algorithm, optimize it, and emerge victorious from the dungeon!

78% of 36 Steam reviews are positive$5.99
Robo Instructus

Robo Instructus

Robo Instructus is a puzzle game in which players manoeuvre a robot by issuing instructions via a simple programming language.

82% of 62 Steam reviews are positive$11.99
Algo Bot

Algo Bot

Algo Bot is puzzle game that takes place deep inside the Europa, a pan-galactic colonisation ship, where a recycling mission goes horribly wrong.

82% of 150 Steam reviews are positive$9.99
A=B

A=B

A=B is a programming puzzle game with only one instruction: A=B, which means replacing A with B.

94% of 918 Steam reviews are positivePlayers online now: 6$4.99
Alan's Automaton Workshop

Alan's Automaton Workshop

Alan's Automaton Workshop is an open-ended programming puzzle game.

82% of 197 Steam reviews are positive$14.99
JOY OF PROGRAMMING - Software Engineering Simulator

JOY OF PROGRAMMING - Software Engineering Simulator

Use real Python code to automate machines, robots, drones and more: Program self-driving vehicles; crack passwords; apply machine learning; automate…

76% of 385 Steam reviews are positivePlayers online now: 3$17.99
Move Code Lines

Move Code Lines

Move Code Lines is a game where you fix programs and make them print needed output.

82% of 92 Steam reviews are positive$7.99
Human Resource Machine

Human Resource Machine

Guide a small office worker through inbox and outbox by building little programs, one level at a time.

94% of 3,297 Steam reviews are positivePlayers online now: 13$14.99
Code: Terraform

Code: Terraform

Write scripts that run rovers, power grids and drone fleets on a frozen planet, and watch your colony grow as the world starts answering back.

84% of 386 Steam reviews are positivePlayers online now: 79$14.99