Robot Coder is a small programming puzzle about planning ahead. A robot stands on a grid with colored items and matching colored targets. You write its entire program first, then press play and watch. While it runs, you cannot steer it or change a step. If you miscount one move, it bumps into a wall and you start over. The game was made for the js13kGames 2018 contest, so the whole thing fits in a tiny download.
How to Play Robot Coder
Your program is a row of symbols. A green arrow moves the robot one square forward, the curved arrows turn it left or right, and the blue up and down arrows take or drop an item. The robot always works on the square right in front of it. It picks up the item there, or drops what it carries onto that square.
To finish a level, bring every item to a target of the same color. The robot can hold only one item at a time, but it can set one down on an empty square and grab it later. A run fails if the robot drives into a wall, item or target, tries to take from an empty square, drops in the wrong place, or stops with targets left. A message tells you what went wrong, and the reset button puts everything back.
Loops make code shorter. A loop wraps part of your program and repeats it two to nine times, so four forward steps can become one loop. The menu starts with three tutorials, then opens four themed groups with 21 more levels as you solve puzzles.
Robot Coder Controls
| Action | Keyboard | Mouse | Touch |
|---|---|---|---|
| Add a step forward | Underscore (_) | Click the forward arrow key | Tap the forward arrow key |
| Turn left or right | < or > | Click a turn key | Tap a turn key |
| Take or drop an item | Up arrow (take), Down arrow (drop) | Click the up or down arrow key | Tap the up or down arrow key |
| Add a repeat loop | Type a number from 2 to 9, then + or - to change it | Click the loop key, then plus or minus | Tap the loop key, then plus or minus |
| Move the cursor or delete | Left/Right arrows, Home, End, Backspace | Click the left, right or delete keys | Tap the left, right or delete keys |
| Run the robot | Enter | Click the play button | Tap the play button |
Tips and Strategies
- Trace the route on the board first. Count the squares to each item before you type, and remember the robot needs to face the item, not stand on it.
- Watch the turn direction. A left turn rotates the robot on the spot, so after two turns it faces the other way.
- Park items to save trips. Dropping an item on a free square and fetching it later can open a path that is otherwise blocked.
- Slow it down to debug. The slider beside the play button changes the speed, and the highlighted symbol shows which step is running.
- Shorten after you solve. Get any working solution first, then replay the level and replace repeated moves with loops to earn stars.
Features
- 24 levels plus an editor: tutorials, themed level groups and a builder for your own maps.
- Two ways to type: an on-screen command pad or your real keyboard.
- Saved scores: your shortest solution for each level stays in your browser.
- Sound toggle: simple beeps for moving, turning, picking up and winning, with a mute button.
Tested and updated:













