@@ -55,8 +55,11 @@ public class GameConstants {
5555 /** The maximum number of rounds in a game. **/
5656 public static final int GAME_MAX_NUMBER_OF_ROUNDS = 2000 ;
5757
58- /** The maximum number of bytecodes a bot is allow to use in one turn */
59- public static final int BYTECODE_LIMIT = 25000 ;
58+ /** The maximum number of bytecodes a robot is allowed to use in one turn */
59+ public static final int ROBOT_BYTECODE_LIMIT = 15000 ;
60+
61+ /** The maximum number of bytecodes a tower is allowed to use in one turn */
62+ public static final int TOWER_BYTECODE_LIMIT = 20000 ;
6063
6164 /**
6265 * The maximum length of indicator strings that a player can associate with a
@@ -76,15 +79,6 @@ public class GameConstants {
7679 /** Paint penalty for ending a turn on neutral territory */
7780 public static final int PENALTY_NEUTRAL_TERRITORY = 1 ;
7881
79- /** Paint capacity for soldier robots */
80- public static final int PAINT_CAPACITY_SOLDIER = 200 ;
81-
82- /** Paint capacity for splasher robots */
83- public static final int PAINT_CAPACITY_SPLASHER = 300 ;
84-
85- /** Paint capacity for mopper robots */
86- public static final int PAINT_CAPACITY_MOPPER = 100 ;
87-
8882 /** The amount of money each team starts with. */
8983 public static final int INITIAL_TEAM_MONEY = 1000 ;
9084
@@ -125,6 +119,12 @@ public class GameConstants {
125119 /** The extra resources per turn that resource patterns give */
126120 public static final int EXTRA_RESOURCES_FROM_PATTERN = 3 ;
127121
122+ /** The extra damage all ally towers get for each level 1 defense tower */
123+ public static final int EXTRA_DAMAGE_FROM_DEFENSE_TOWER = 10 ;
124+
125+ /** The increase in extra damage for ally towers for upgrading a defense tower */
126+ public static final int EXTRA_TOWER_DAMAGE_LEVEL_INCREASE = 5 ;
127+
128128 /** Maximum amount of turns a robot can go at 0 paint without dying */
129129 public static final int MAX_TURNS_WITHOUT_PAINT = 10 ;
130130
@@ -168,6 +168,21 @@ public class GameConstants {
168168 /** The amount of paint depleted from enemies in a swing mopper attack */
169169 public static final int MOPPER_SWING_PAINT_DEPLETION = 5 ;
170170
171+ /** The maximum amount of bytes that can be encoded in a message */
172+ public static final int MAX_MESSAGE_BYTES = 4 ;
173+
174+ /** The maximum squared radius a robot can send a message to */
175+ public static final int MESSAGE_RADIUS_SQUARED = 20 ;
176+
177+ /** The maximum number of rounds a message will exist for */
178+ public static final int MESSAGE_ROUND_DURATION = 5 ;
179+
180+ /** The maximum number of messages a robot can send per turn */
181+ public static final int MAX_MESSAGES_SENT_ROBOT = 1 ;
182+
183+ /** The maximum number of messages a tower can send per turn */
184+ public static final int MAX_MESSAGES_SENT_TOWER = 20 ;
185+
171186 // *********************************
172187 // ****** COOLDOWNS ****************
173188 // *********************************
@@ -194,19 +209,4 @@ public class GameConstants {
194209 /** THe amount added to the action cooldown counter after transferring paint */
195210 public static final int PAINT_TRANSFER_COOLDOWN = 10 ;
196211
197- /** The maximum amount of bytes that can be encoded in a message */
198- public static final int MAX_MESSAGE_BYTES = 4 ;
199-
200- /** The maximum squared radius a robot can send a message to */
201- public static final int MESSAGE_RADIUS_SQUARED = 20 ;
202-
203- /** The maximum number of rounds a message will exist for */
204- public static final int MESSAGE_ROUND_DURATION = 5 ;
205-
206- /** The maximum number of messages a robot can send per turn */
207- public static final int MAX_MESSAGES_SENT_ROBOT = 1 ;
208-
209- /** The maximum number of messages a tower can send per turn */
210- public static final int MAX_MESSAGES_SENT_TOWER = 20 ;
211-
212212}
0 commit comments