Play Robot Coder Online Free

Plan every step of a robot's program up front, then watch it run and try to deliver each item in place.

Robot Coder title screen on SZ Games
  • Touch ready

Robot Coder is a puzzle about thinking a few steps ahead. A small robot waits on a grid next to colored items and colored targets. You type its whole program first. Then you press play and can only watch. There is no steering once it starts, so one wrong count sends it into a wall. Schnark made it for the js13kGames 2018 contest.

What You Are Trying to Do

Every item must end up on a target of the same color. The robot can carry one item at a time. It can also set an item down on an empty square and come back for it later, which opens up some clever routes.

Building a Program

Your code is a row of symbols. A green arrow moves one square ahead. Curved arrows turn the robot left or right on the spot. Blue up and down arrows take or drop an item.

Note that the robot acts on the square in front of it, not the one it stands on. To grab an item, it has to face it. To drop one on a target, it has to face the target.

Loops shrink long programs. A loop wraps a part of your code and repeats it from two to nine times. Four forward steps in a row can become one short loop.

Press play and the robot runs from start to end. You can cancel a run, but you cannot edit it mid-way. A highlighted symbol shows which step is running, and a slider changes the speed.

How to Control Robot Coder

Input guide for Robot Coder
To do thisOn a keyboardWith a mouseOn a touchscreen
Insert a forward stepUnderscore (_)Click the forward arrow keyTap the forward arrow key
Rotate left or right< or >Click one of the turn keysTap one of the turn keys
Pick up or put down an itemUp arrow (take), Down arrow (drop)Click the up or down arrow keyTap the up or down arrow key
Insert a repeat loopEnter a number from 2 to 9, then use + or - to adjust itClick the loop key, then plus or minusTap the loop key, then plus or minus
Move the cursor or eraseLeft/Right arrows, Home, End, BackspaceClick the left, right or delete keyTap the left, right or delete key
Start the robotPress EnterClick the play buttonTap the play button

Ways to Solve Faster

  • Count squares before typing. Trace the path with your eyes and remember to stop one square short of each item.
  • Track which way it faces. Two turns in the same direction leave it facing back the way it came.
  • Park items when a path is blocked. Moving one item aside can clear the road for another.
  • Run slowly to find bugs. Lower the speed and watch the highlight to see where things go wrong.
  • Solve first, shorten second. Get any working answer, then replay and fold repeats into loops.

Who It Suits

Robot Coder is a gentle start for kids and adults who are curious about code, since it needs no text syntax. It also has enough tricky levels to keep puzzle fans busy. Your shortest solution for each level is saved in the browser. You can find more logic challenges in our puzzle games, including Block Code Maze.

On Phones and Tablets

Every command has its own on-screen key, so taps alone are enough. The board and keypad stack in one column, which fits a phone held upright. A mute button turns off the beeps.

Last played and checked by SZ Games:

Robot Coder – Questions and Answers

How many levels are there?

There are 24 in total. Three tutorials come first, then four themed groups hold 21 more levels that open as you solve puzzles.

Why did my run fail?

The robot stops if it drives into a wall, item or target, takes from an empty square, drops in the wrong place, or ends with targets left. A message names the problem, and the reset button puts the board back.

How do I earn two stars?

Each level has a target program length. Matching it gives one star, and beating it gives two. Loops help most on long routes that repeat the same moves.

Can I make my own levels?

Yes. After you solve five levels, an editor appears at the bottom of the menu. You can set a map up to 10 by 10 and place walls, items, targets and the start.

Try Something Different