

Light Bot
游戏支持时,进度会保存在当前浏览器。清除站点数据后进度会丢失。
Program a robot with step, turn, jump and light commands in Light Bot — a puzzle that quietly teaches loops and procedures.
Light-bot is a programming puzzle disguised as a robot game: you queue commands, the bot runs them, and the stage is complete when every blue tile is lit. The Flash build exposes twelve level data sets, a per-level minimum step count and the tutorial text that frames the whole game as a first programming lesson.
The game is a single Flash file, and its strings list level arrays from index zero to eleven for three parallel sets: tiles, scenery and start positions. That makes twelve stages, each defined by a tile grid, a decoration set and a spawn point rather than by a level file.
A shared object handles local progress, and the stars for the Armor Games, Kongregate and Newgrounds portals all appear in the string table. The advertising pool is the only piece of the build that is not part of the game itself, and it exists because the same file was distributed to several portals.
| Data set | What it holds |
|---|---|
| tilesArray0 to tilesArray11 | The playable grid per level |
| sceneryArray0 to sceneryArray11 | Decoration per level |
| startPos0 to startPos11 | The spawn point per level |
| lightsArray | Which tiles are lit |
| stepsArrayMin, 1, 2 | The step minimum per level |
| commands and moves | The queue and the executed list |
The tutorial text is blunt: your job is to light up all the blue tiles in the factory by the commands you issue to the light-bot. That single sentence contains the whole loop. Tiles are targets rather than floor, the bot is a program executor rather than a character, and the player’s job is writing rather than driving.
A light counter exists separately from the tile array, which is how the game can tell a finished level from a partially lit one without scanning the grid. The lit state is also its own array, so a tile can be lit without being consumed: the bot walks over it, the light stays on, and the count goes up once.
The end screen text explains the point directly: what you just went through is the kind of logic programmers go through every day. The game is a teaching tool with a robot skin, and the build says so.
The interface is a program editor. A command queue holds the instructions in order, a moves list records what actually executed, and a command shower draws the queue back to the player. Reset positions restores the bot without clearing the program, which is what allows a failed run to be debugged rather than rewritten.
The readable strings do not name the individual commands, because the buttons are icons rather than text. What the build does name is the concept: the commands are issued to the bot, and the bot executes them one at a time. That is why a wrong answer in this game usually looks like a correct instruction in the wrong order rather than a physically impossible move.
A step minimum per level is the most interesting piece of data in the build. The game stores a target number of steps, which means each stage has an intended length and a shorter solution is not necessarily the intended one. Whether that minimum is used for a rating or only for the ending message is not stated in the strings.
The closing text of the game explains the second half of the curriculum: a bot is not always a single list of moves. Some bots run along a path the programmer created, and some run the same function repeatedly, which is why the later levels introduce a reusable block instead of a longer queue.
That framing matters for how the twelve levels read. The early stages teach sequencing, the middle stages teach repetition, and the later ones teach abstraction through a named function that can be called from the main program. A player who never uses the function slot will hit a wall in the last third of the set even though nothing about the level looks different.
The ending does not stop at congratulations. It points at real languages by name, listing Turing, Java and Flash ActionScript as next steps, and admits that programming is not for everyone. That paragraph is unusually honest for a puzzle game and it explains the design: the level count is small because the goal is a first taste rather than a long campaign.
The build also carries a music flag and a mute path, plus a shared object that stores progress locally. There is no cloud score and no server call in the string table, so twelve levels and a local save are the whole persistence model.
Three things are missing. The command names are icon art, not strings, so the build cannot be quoted on which four or five instructions exist. The grid dimensions per level live in the compressed binary rather than in the strings, so level size and tile counts cannot be listed.
The third gap is the rule set itself. Whether jumping over a gap costs one step or two, and whether a function call costs a step, is decided in ActionScript rather than declared anywhere readable. This guide therefore describes the structure of the puzzle and not its exact move costs.
Twelve. The build carries tile, scenery and start position arrays for indices zero through eleven.
Light every blue tile by queueing commands for the bot. The tutorial states it in exactly those terms.
The program, not the robot. You add commands to a queue, run it, and reset the bot to try again without clearing the queue.
Yes. The closing text explains that some bots run a function repeatedly, which is the abstraction step the later levels are built around.
The build stores a minimum step count per level. Whether it is used for a rating or only for the ending text is not readable in the strings.
Locally, through a Flash shared object. There is no cloud score in the build.
Armor Games, Kongregate and Newgrounds all appear in the build, along with a third party ad pool.











