🚗 Code Your Robot Car

Type simple Python-like commands and run them on your robot.

Python Code

Ready
Allowed commands:
forward() back() left() right() stop() sleep(1) speed(150) beep() lights(255,0,0)

Loops:
repeat(4):

Example:
repeat(4):
  forward()
  sleep(1)
  right()
  sleep(0.6)
stop()

Sample Programs

Output

Ready
Expected robot endpoints:
/forward /back /left /right /stop /beep /speed?value=150 /color?r=255&g=0&b=0