Grades 9–12

Robot Python Bricks

Make the program print exactly the command list. Solve 2 of 3 to earn the badge.

Part of Robotics & Engineering: Robotics with Python

Goal: make Python print

forward
turn right
forward
turn right
forward
turn right
forward
turn right

Code bricks (tap to add — you can reuse them)

A square is 4 × (forward, turn).

Your program

  1. Tap bricks to stack your program

What this game teaches

  • Using loops to repeat robot moves
  • Ordering setup, loop and finish steps
  • Python is how real robots are programmed

Play together

  • Walk the commands as a square on the floor.
  • Change the loop number — what shape would it make?
Want more? This game comes from Robotics & Engineering: Robotics with Python

Python-controlled robots, sensor data, smoother control and a competition-style capstone built in teams.

See the program

More Robotics games

All arcade games