C++Robots is a programming game inspired by CROBOTS and announced by Richard Rognlie in October 1994. Players write programs to control battle robots in ANSI C or C++. Robots are placed in an arena where they aim to destroy all opponents.
Programs are written in ANSI C or C++ and control a robot using the following functions:
|Scan in direction (0..359) with resolution (0..10) and return range|
|Fire missile in direction (0..359) with range. Return 1 if successful|
|Set the direction (0..359) and speed (0..100). Return 1 if successful|
|Return damage sustained (0..100)|
|Return speed (0..100)|
|Return x-coordinate (0..9999)|
|Return y-coordinate (0..9999)|
|Return the current time in CPU cycles|
Build a Better Robot by Steve Gunnell is a guide to fast scanning.
The C++Robots FAQ offers insight into timing and strategy.
King of the Hill
The C++Robots king of the hill tournament has been running since 1994. New entries play 5 rounds against the robots on the hill and if the total score is high enough they enter the hill, bumping off the lowest scoring robot.
- PBEM (31 Oct 1994). "A First Look at C++Robots."
- PBEM (13 Feb 1995). "C++Robots Introduction and Example."
- PBEM (13 Mar 1995). "Advice from C++Robots Players."