Tiny Robot
The robot gets three local wall sensors and one bit of memory. Its program is a small table of decisions, trained on branching rooms rather than a supplied route.
Press play to watch the recorded controller, or click interior cells to change the room and expose where the program succeeds or fails.
Setup
View
Your test room
Fresh maze
Draw
Waiting for a brain0 / 256 actions
Click or drag to draw walls. Move the key, door, and exit to challenge this brain.
Inside the robot
No brain loaded
Left—
Ahead—
Right—
Memory—
Next instructionWaiting for a brain
| Mem | Ahead | Left | Right | Action | Next mem |
|---|---|---|---|---|---|
| 0 | wall | wall | wall | — | — |
| 0 | open | wall | wall | — | — |
| 0 | wall | open | wall | — | — |
| 0 | open | open | wall | — | — |
| 0 | wall | wall | open | — | — |
| 0 | open | wall | open | — | — |
| 0 | wall | open | open | — | — |
| 0 | open | open | open | — | — |
| 1 | wall | wall | wall | — | — |
| 1 | open | wall | wall | — | — |
| 1 | wall | open | wall | — | — |
| 1 | open | open | wall | — | — |
| 1 | wall | wall | open | — | — |
| 1 | open | wall | open | — | — |
| 1 | wall | open | open | — | — |
| 1 | open | open | open | — | — |
training rooms↑—
unseen rooms↑—
generation—
simulated episodes—
Result
Reach the exit carrying the key, in rooms the robot has never seen, using three wall sensors and a single bit of memory.
No program yet. Replay the recorded run, or start a new one.