Robot logic
Learn what a robot does and how to command it.
- Position and direction
- Motion and turns
- Loops and repetition
- Obstacles and sensors
Write simple robot instructions, run them in a live 3D simulator and solve real programming challenges. Start with movement, then learn loops, sensors, decisions and autonomous behaviour.
Choose a mission, write instructions and watch what happens.
Orbit the 3D world โข Watch motion beside the Run controls
A small, safe Python-style teaching language โ no software installation
This first version uses a deliberately limited Python-like interpreter, not full Python or a hardware controller. Later phases will introduce actual Python, visual blocks and supported robot boards.
Today's six missions form the first interactive module. Here's where the course grows next.
Learn what a robot does and how to command it.
Explore simplified left/right gait drives, sensors, and line tracking with a walking humanoid.
Meet the physical components used in robots.
Make systems plan routes and respond to their environment.
move()Move forward exactly one square.
turn_left()Rotate 90ยฐ counter-clockwise.
turn_right()Rotate 90ยฐ clockwise.
repeat(3):Repeat the indented code three times (maximum 30).
if wall_ahead():Run the indented commands only when a wall is ahead.
scan()Report whether a wall is in front of the robot.
pick()Pick up a sample beneath the robot.
drop()Put down the carried sample.
# commentAdd a note: comments are ignored by the robot.