mirror of
https://github.com/dirtbags/moth.git
synced 2025-01-09 05:20:54 -07:00
8 lines
199 B
Text
8 lines
199 B
Text
>addsensor(50, 0, 5, 1); # 0-Fire Sensor
|
|
>addsensor(30, 0, 50); # 1-Anti-collision sensor
|
|
|
|
# Commands
|
|
: move(90, 100).
|
|
turretset(0);
|
|
sense(0) : fire();
|
|
sense(1) : move(-100, 100)
|