Parameters Reference

for Classic: Old RoboCom Defaults

by Florian Fischer and Dennis C. Bemmann

This document was generated automatically by RoboCom Workshop and contains specific options for the OptionSet "Classic: Old RoboCom Defaults". For general information about parameters, please take a look at the global parameter reference.

Greenparameters are enabled in this OptionSet.
Redparameters are disabled in this OptionSet.
# represents variables. Those values can be read and modified.
$ represents constants. Those values can be read but not modified.
% represents the respective values of the remote robot.

Variable / Constant Description
Original Language
#1 .. #20 The twenty all-purpose standard integers.
Note: They cannot be accessed by remote robots.
#Active,
%Active
Determines if a robot is active (positive values) or not (zero or negative).
Note: the active variable is usually the only one that can also be changed by other robots.
$Banks,
%Banks
The number of banks which the current / remote robot has.
$InstrSet,
%InstrSet
The instruction set which the current / remote robot has.
$Mobile,
%Mobile
Tells if the current / remote robot is mobile.
$Fields The size of the board. The value is always equal, no matter which robot reads it.
Extended Instructions
(not available in this OptionSet)
#Pub Public variable which is accessible from all robots on the field. Its value is always equal, no matter which robot reads / writes it.
$Age, %Age The current / remote robot's age in cycles, divided by 1000.
$ElimTrigger The elimination trigger setting, or -1 if elimination is disabled.
In this option set, elimination is enabled, and the elimination trigger is set to 50.
$Generation The generation of the current robot.
$ID Identifier which is equal for each robot of the same team and initialized to random when the game is started.
$InstrPos The number of the current instruction (in its bank).
$MaxGeneration The maximum allowed generation.
With this option set: 9999
$MaxLifetime The maximum allowed lifetime of a bot, divided by 1000, or -1 if the feature is disabled.
In this option set, MaxLifetime is disabled, and it is set to 32000000 .
$MaxMyBots The maximum allowed number of bots for each player. In this option set, the maximum bot number per player is 9999 .
$MaxTasks The maximum allowed number of tasks, or 1 (if Multitasking is disabled).
In this option set, Multitasking is disabled, and the maximum number of tasks allowed is 1.
$MyBots / $OtherBots
The number of your / other robots on the board.
$RandNum Random number from 1 to 50.
$Time The game time in cycles, divided by 1000.
$Timeout The automatic simulation timeout in cycles, divided by 1000, or -1 if automatic timeout is disabled.
In this option set, automatic timeout is enabled, and it is set to 80000.
Multitasking
(not available in this OptionSet)
$Tasks The number of tasks in the current robot. (Sleeping or seized tasks are also counted.)

Additional time for instructions accessing a remote value in this OptionSet is: 8 cycles