; Basic input script for RoboTank. ; ; This tests combinations of commands. ; ; Make a tank at (15, 10) facing south: create 0 0 south ; Test moving and firing, more or less at random: move 10 fire turn right 90 move 20 fire turn left 90 move 10 fire status turn left 180 fire fire turn right 270 fire move 25 turn left 90 fire status turn right 180 move 80 turn right 90 move 50 status ; Move way out: move 1000 turn left 90 move 500 status ; Zig-zag a bit: turn left 90 move 10 status turn left 90 move 20 status turn right 90 move 20 status turn left 90 move 10 status ; Run in a spiral: move 50 status turn right 90 move 75 status turn right 90 move 100 status turn right 90 move 125 status turn right 90 move 150 status turn right 90 move 175 status turn right 90 move 200 status ; ; Stop: exit