FunRobotLogicBlocksByHamza – Robot Logic Game

Pick robot pseudo-code blocks to build behaviours: line following, obstacle avoidance, wall following and more.

Robot Puzzle


Goal: Arrange the pseudo-code blocks in the correct order to make the robot do the task.

  • Click a block to add it to Your Logic.
  • Use Undo or Clear to fix mistakes.
  • Press Check Logic to see your score and hints.

Robot notes:
WHILE TRUE DO = main control loop (runs forever).
READ ... = read sensors (line, distance, marker).
MOVE_FORWARD(), TURN_LEFT(), STOP() = robot actions.

Available Blocks

Blocks are in random order. Click them to add to your logic. Remember to close loops (WHILE ... DOEND WHILE) and if-blocks (IFEND IF).

Your Logic

Your chosen blocks will appear here in order:
Step 1, Step 2, Step 3, ...
Score: —
Build a robot program above and press "Check Logic" to see how close you are.
Designed and Developed by Hamza Sohail (DE - 40 MTS)