Color Robot Battle

From Programming Games Wiki
Revision as of 09:18, 16 May 2019 by Impomatic (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Color robot battle screenshot.png

History

Color Robot Battle was published on a TSR-80 Color Computer cartridge by The Image Producers in 1981. The games was designed and written by Glenn Sogge and Del Ogren.

Robots

Robots start with 62 units of robot energy and lose energy every time they're hit, collide or fire a weapon. A robot is destroyed when it's energy reaches 0. The robot's scanner can detect objects up to a distance of 32.

Arena

The arena is 128×90. Direction 0 is up, increasing by 1 for every 45° clockwise.

Programming

  • Rn - right
  • Ln - left
  • Bn - back
  • Fn - forward
  • Hn - halt
  • Tn - turn
  • Dn - direction
  • =R - if robot
  • =W - if wall
  • =M - if missile
  • =L - if laser
  • =? - if random
  • =S - if scan
  • #R - if no robot
  • #W - if no wall
  • #M - if no missile
  • #L - if no laser
  • #? - if random
  • #S - if no scan
  • XL - laser
  • XM - missle
  • C - call
  • G - goto

Labels are terminated by >. Programs begin at START>. : separates commands on the same line. n represents a single digit number, e.g. F8.

Example

*ALPHA
ROB> =R:XL:GROB
WAL> =W:T1:GWAL
START> CROB:CWAL:F8:=?:T1
GSTART

The example begins at START> and calls ROB which fires the laser if a robot is in range. Next it calls WAL which turns the robot 45° if it's heading towards a wall. Next the robot is moved forward 8. Finally =?:T1 randomly performs a 45° turn.

External Links