Robot Battle (Macintosh game)

Robot Battle
Developer(s) Toby Smith
Publisher(s) Blue Cow Software
Designer(s) Toby Smith
Charlie Moylan
Platform(s) Mac OS
Release date(s) 1991
Genre(s) Programming game
Mode(s) Single player

Robot Battle is a programming game developed in 1991 by Blue Cow Software for the Apple Macintosh where players design and code adaptable battling robots. Its idea is similar to RobotWar. The concept of the game was invented by Toby Smith in a BASIC program "when people with 512K of RAM and two floppy drives were power-users", as he states in the game manual.

The game consists of a battleground and two robots. Before the game starts, each robot is preprogrammed using a BASIC-like language called RIPPLE ("Robot Instructional Programming Language"). 099 humans can also be placed into the battleground to throw the robots with hand grenades. The programs are checked for syntax and the game starts. The robot to survive the longer is the winner.

The RIPPLE language programs consist of logic commands, such as flow of control statements; and action commands, that actually make the robot perform an action, such as fire a weapon. To perform one action command takes the same time as to perform 99 logic commands.

An example RIPPLE program:

equip 1 1 0 0 0 435
let h = 0

10 humanscan 0
20 if range > 0 then gosub 1000
30 if YCOORD < 8 then gosub 2000
40 swivel 10
50 goto 10

1000 zap
1010 zap
1020 return

2000 if HEADFACING > 315 then gosub 3000
if HEADFACING < 45 then gosub 3000
return

3000 if h <> 1 then launch
if h <> 1 then let h = 1
return


This article is issued from Wikipedia - version of the 12/14/2014. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.