; Basic input script for RoboTank. ; ; This primarily tests the commands in isolation. ; ; Make a tank at (0, 0) facing south: create 0 0 south ; Test turning right: turn right 90 status turn right 90 status turn right 90 status turn right 90 status ; Test turning left: turn left 90 status turn right 90 status turn right 90 status turn right 90 status ; Move counterclockwise in a square: move 25 turn left 90 status move 25 turn left 90 status move 25 turn left 90 status move 25 turn left 90 status ; Move clockwise in a square: move 25 turn right 90 status move 25 turn right 90 status move 25 turn right 90 status move 25 turn right 90 status ; Test firing: fire fire fire status fire fire status fire fire fire fire fire status ; Should be out of ammo now; let's see: fire status ; ; Stop: exit ; These commands should NOT be carried out. ; For that matter, they shouldn't even be read in. ; move 100 turn right 180 status