Program a robot to drive through fog and collect every star on a map you can't fully see.
Was this fun?
How to play
The board is fog-covered, only the cells the robot has visited are revealed. Fill the function slots with arrow instructions and colour conditions, then run your program to drive the robot through the corridor, lifting fog and collecting stars. Because you can't see the whole map, your program has to be general enough to work blind.
Click a function slot, then pick an action and condition from the palette
Use function calls (F0, F1) to loop your routine
Run to animate the robot revealing fog and grabbing stars
Collect every star to solve the level
Controls
Desktop: click slots and palette actions to build the program, then click Run
Phone & tablet: tap slots, actions and the Run button
Tips & strategy
Write a rule, not a route, 'turn at a wall, paint, repeat' beats hard-coding each step you can see
Use colour conditions so one function behaves differently depending on the tile
Try Campaign to learn the ideas, then test yourself on the Daily and Practice levels
What you'll learn
Arrowlogic is a fog-of-war programming puzzle about writing general, looping routines from limited information.
For parents & teachers: writing general programs from partial information.
About Arrowlogic
Arrowlogic is an original fog-of-war programming puzzle about writing general, looping routines from limited information. Play free in your browser with campaign, daily and practice modes.
A free, original browser game on PlayPendium. No download, no install.