Welcome GuestLogin

Programming Games Wiki

RSS RSS

Search

»

Explore


Share




Color Robot Battle

RSS
Modified on 2012/01/07 23:34 by impomatic Categorized as Arena Games
Image
Color Robot Battle is a game played by two programs which control simulated battle robots.

Table of Contents [Hide/Show]


   History
   Robots
   Arena
   Programming
   Example
   External Links


Edit

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.

Edit

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.

Edit

Arena

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

Image

Edit

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.

Edit

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.

Edit

External Links

  Name Size
- color_robot_battle.png 732 B
- robot_battle_arena.png 3.45 KB