RobotWar - Robot Programming

Robot Programming

The robots' language was similar to BASIC. There were 34 registers that could be used as variables or for the robots' I/O functions. An example program from the game manual follows:

SCAN AIM + 5 TO AIM ; MOVE GUN AIM TO RADAR ; SEND RADAR PULSE LOOP IF RADAR < 0 GOSUB FIRE ; TEST RADAR GOTO SCAN FIRE 0 - RADAR TO SHOT ; FIRE THE GUN ENDSUB

The robot with this program would sweep its radar in a circle, firing off radar pulses, and when it detected another robot in this way, would fire a projectile, set to explode at the correct distance as estimated by the radar pulse. This particular robot would stand still throughout the entire battle, as it never assigned any number to its movement registers.

In a way, RobotWar was a multiplayer game, in that different people could program their robots, then copy all the robots' source code to the same floppy disk and load all the robots to fight in the arena.

The game was sold in cassette tape and floppy disk versions.

Read more about this topic:  RobotWar

Famous quotes containing the words robot and/or programming:

    The person who designed a robot that could act and think as well as your four-year-old would deserve a Nobel Prize. But there is no public recognition for bringing up several truly human beings.
    C. John Sommerville (20th century)

    If there is a price to pay for the privilege of spending the early years of child rearing in the driver’s seat, it is our reluctance, our inability, to tolerate being demoted to the backseat. Spurred by our success in programming our children during the preschool years, we may find it difficult to forgo in later states the level of control that once afforded us so much satisfaction.
    Melinda M. Marshall (20th century)