Color Robot Battle
Encyclopedia
Color Robot Battle is an early programming game
Programming game
A programming game is a computer game where the player has no direct influence on the course of the game. Instead, a computer program or script is written in some domain-specific programming language in order to control the actions of the characters...

 for the TRS-80 Color Computer
TRS-80 Color Computer
The Radio Shack TRS-80 Color Computer was a home computer launched in 1980. It was one of the earliest of the first generation of computers marketed for home use in English-speaking markets...

, released in 1981 by The Image Producers.

Robot Programming

The aim of the game is to write a computer program
Computer program
A computer program is a sequence of instructions written to perform a specified task with a computer. A computer requires programs to function, typically executing the program's instructions in a central processor. The program has an executable form that the computer can use directly to execute...

that controls a (simulated) robot. Two programs are selected to do battle in an arena with the last robot standing being the winner. One of the examples from the manual follows:

*OMEGA
ROB> =R:XM
WAL> =W:T-2
START> CROB:CWAL:F8:=?:T1
GSTART

The robot controlled by this program follows the wall of the arena making an occasional random turn to break the movement pattern. The program scans for an opponent and attacks if one is found.

External links

The source of this article is wikipedia, the free encyclopedia.  The text of this article is licensed under the GFDL.
 
x
OK