battlecode.common
public interface GameConstants
| Modifier and Type | Field and Description |
|---|---|
static int |
ATTACK_SCARE_RANGE
Range in which attacking scares cows (from the target location of the attack)
|
static int |
BROADCAST_MAX_CHANNELS
The maximum read/write-able of radio channel number
|
static int |
BYTECODE_LIMIT
The base number of bytecodes a robot can execute each round
|
static double |
BYTECODE_PENALTY
Actiondelay per extra bytecode
|
static int |
EXCEPTION_BYTECODE_PENALTY
The bytecode penalty that is imposed each time an exception is thrown
|
static int |
FREE_BYTECODES
Number of bytecodes per turn that are not converted into actiondelay
|
static double |
HAT_MILK_COST
Amount of milk required to wear a hat
|
static double |
HEAL_RATE
Amount of health a regenerating robot or structure heals per turn
|
static int |
HEAL_TURN_DELAY
Number of turns after taking damage before a robot or structure begins regenerating
|
static int |
HQ_CLOAK_RADIUS
The radius (squared) around the HQ within which allied soldiers cannot be sensed by the enemy.
|
static double |
HQ_SPAWN_DELAY_CONSTANT_1
Constant used to calculate the HQ spawn delay
|
static double |
HQ_SPAWN_DELAY_CONSTANT_2
Constant used to calculate the HQ spawn delay
|
static int |
MAP_MAX_HEIGHT
The maximum possible map height.
|
static int |
MAP_MAX_WIDTH
The maxiumum possible map width.
|
static int |
MAP_MIN_HEIGHT
The minimum possible map height.
|
static int |
MAP_MIN_WIDTH
The minumum possible map width.
|
static double |
MAX_EFFICIENT_COWS
The number of cows within a PASTR that can be milked with perfect efficiency.
|
static int |
MAX_ROBOTS
The maximum number of robots you are allowed.
|
static double |
MILK_GAIN_FACTOR
Factor of WIN_QTY milk that is gained after destroying an enemy PASTR
|
static double |
MILK_PENALTY_FACTOR
Factor of WIN_QTY milk that is given to your opponent if your PASTR self destructs
|
static double |
MILKING_INEFFICIENCY
For a quantity of cows above the maximum efficient cows number X in a PASTR, we only get X^(this constant) milk.
|
static int |
MIN_DISTANCE_BETWEEN_SPAWN_POINTS
The minimum distance between spawn points on the map.
|
static int |
MOVEMENT_SCARE_RANGE
Range in which non-sneaking movement scares cows (from the destination location of the movement)
|
static double |
NEUTRALS_TURN_DECAY
Cow value decay per turn
|
static int |
NOISE_SCARE_RANGE_LARGE
Range in which NOISETOWER normal attacks scare cows
|
static int |
NOISE_SCARE_RANGE_SMALL
Range in which NOISETOWER light attacks scare cows
|
static int |
NUMBER_OF_INDICATOR_STRINGS
The number of indicator strings that a player can associate with a robot
|
static double |
OPPONENT_MILK_SENSE_ACCURACY
Accuracy of milk quantity of your opponent when sensing.
|
static int |
PASTR_RANGE
Range in which a PASTR contains and milks cows
|
static double |
ROAD_ACTION_DELAY_FACTOR
Factor at which movement-related and sneaking-related actiondelay is discounted on a road
|
static double |
ROBOT_MILK_PERCENTAGE
Factor at which SOLDIERs herd milk
|
static int |
ROUND_MAX_LIMIT
The maximum possible round at which the game may be forced to end
|
static int |
ROUND_MIN_LIMIT
The minimum possible round at which the game may be forced to end
|
static double |
SELF_DESTRUCT_BASE_DAMAGE
Flat damage dealt by a self destruct
|
static double |
SELF_DESTRUCT_DAMAGE_FACTOR
Factor at which robot's health is converted to damage
|
static double |
SOLDIER_ATTACK_ACTION_DELAY
Actiondelay gained every time a SOLDIER attacks.
|
static double |
SOLDIER_DIAGONAL_MOVEMENT_ACTION_DELAY_FACTOR
Factor of increase for actiondelay for diagonal movement
|
static double |
SOLDIER_HEAL_RATE
DEPRECATED.
|
static int |
SOLDIER_HEAL_TURN_DELAY
DEPRECATED.
|
static double |
SOLDIER_MOVE_ACTION_DELAY
Actiondelay gained every time a SOLDIER moves (runs)
|
static double |
SOLDIER_SNEAK_ACTION_DELAY
Actiondelay gained every time a SOLDIER sneaks
|
static int |
TEAM_MEMORY_LENGTH
The number of longs that your team can remember between games.
|
static double |
WIN_QTY
Amount of milk necessary for victory
|
static final int MAP_MIN_HEIGHT
static final int MAP_MAX_HEIGHT
static final int MAP_MIN_WIDTH
static final int MAP_MAX_WIDTH
static final int MIN_DISTANCE_BETWEEN_SPAWN_POINTS
static final int EXCEPTION_BYTECODE_PENALTY
static final int NUMBER_OF_INDICATOR_STRINGS
static final int BYTECODE_LIMIT
static final int TEAM_MEMORY_LENGTH
static final int MAX_ROBOTS
static final int ROUND_MIN_LIMIT
static final int ROUND_MAX_LIMIT
static final int BROADCAST_MAX_CHANNELS
static final double HQ_SPAWN_DELAY_CONSTANT_1
static final double HQ_SPAWN_DELAY_CONSTANT_2
static final double HAT_MILK_COST
static final double NEUTRALS_TURN_DECAY
static final int MOVEMENT_SCARE_RANGE
static final int ATTACK_SCARE_RANGE
static final int NOISE_SCARE_RANGE_SMALL
static final int NOISE_SCARE_RANGE_LARGE
static final int SOLDIER_HEAL_TURN_DELAY
static final double SOLDIER_HEAL_RATE
static final int HEAL_TURN_DELAY
static final double HEAL_RATE
static final int PASTR_RANGE
static final double WIN_QTY
static final double ROBOT_MILK_PERCENTAGE
static final double SELF_DESTRUCT_BASE_DAMAGE
static final double SELF_DESTRUCT_DAMAGE_FACTOR
static final int FREE_BYTECODES
static final double BYTECODE_PENALTY
static final double SOLDIER_ATTACK_ACTION_DELAY
static final double SOLDIER_MOVE_ACTION_DELAY
static final double SOLDIER_SNEAK_ACTION_DELAY
static final double SOLDIER_DIAGONAL_MOVEMENT_ACTION_DELAY_FACTOR
static final double ROAD_ACTION_DELAY_FACTOR
static final double MILK_GAIN_FACTOR
static final double MILK_PENALTY_FACTOR
static final double OPPONENT_MILK_SENSE_ACCURACY
static final double MAX_EFFICIENT_COWS
static final double MILKING_INEFFICIENCY
static final int HQ_CLOAK_RADIUS