|
16 | 16 |
|
17 | 17 | # **Formal specification** |
18 | 18 |
|
19 | | -_This is the formal specification of the Battlecode 2024 game._ Current version: *2.0.0* |
| 19 | +_This is the formal specification of the Battlecode 2024 game._ Current version: *2.0.1* |
20 | 20 |
|
21 | 21 | **Welcome to Battlecode 2024: Breadwars.** |
22 | 22 |
|
|
141 | 141 |
|
142 | 142 | The goal of attacking is to retrieve your opponent’s flags and bring them to your side. To retrieve this flag, your robots must first find the opponent's flag. |
143 | 143 |
|
144 | | -Robots can sense all flags within vision radius at all times, including flags that are picked up by other robots. Additionally, at the end of the setup phase, dropped enemy flags start broadcasting their approximate locations, which serves as a hint for seeking them out. Robots can sense locations of dropped enemy flags outside of vision radius that are accurate within a radius of **$\sqrt{10}$** cells. Every **100** turns, the broadcast location is updated to a new random location within that radius. |
| 144 | +Robots can sense all flags within vision radius at all times, including flags that are picked up by other robots. Additionally, at the end of the setup phase, dropped enemy flags start broadcasting their approximate locations, which serves as a hint for seeking them out. Robots can sense locations of dropped enemy flags outside of vision radius that are accurate within a radius of **$\sqrt{100}$** cells. Every **100** turns, the broadcast location is updated to a new random location within that radius. |
145 | 145 |
|
146 | 146 | Robots can pick up and drop flags as described in the actions section. While holding a flag, robots cannot perform any actions besides movement, and robots may carry only one flag at a time. If your robot enters a friendly spawn zone while carrying an enemy flag, your team captures the flag and it is permanently removed from the game. Flags cannot be captured by being dropped into the spawn zone. |
147 | 147 |
|
|
286 | 286 |
|
287 | 287 | # **Appendix: Changelog** |
288 | 288 |
|
| 289 | +- Version 2.0.1 (January 17, 2024) |
| 290 | + - Engine fixes |
| 291 | + - getSpawnZoneTeam() will still return int for backwards compatability |
| 292 | + - getSpawnZoneTeamObject() will return a Team object |
| 293 | + - 'ACTION' global upgrade retained for backwards compatability, will function as 'ATTACK' |
| 294 | + - Fixed null pointer exception with senseLegalStartingFlagPlacement |
| 295 | + |
289 | 296 | - Version 2.0.0 (January 17, 2024) |
290 | 297 | - Balance changes |
291 | 298 | - Decreased attack level XP requirements |
|
297 | 304 | - Explosive trap nerf |
298 | 305 | - Radius when triggered by walking on trap $\sqrt{13}$ -> $\sqrt{4}$ |
299 | 306 | - Radius when triggered by building $\sqrt{9}$ -> $\sqrt{2}$ |
300 | | - - Damage when triggered by building 500 -> 200 (fixed bug causing damage to always be 750) |
301 | | - - Stun trap and explosive trap trigger radius 1 -> $\sqrt{2}$ |
| 307 | + - Damage when triggered by building, digging, or filling 500 -> 200 (fixed bug causing damage to always be 750) |
| 308 | + - Stun trap and water trap trigger radius 1 -> $\sqrt{2}$ |
302 | 309 | - Stun trap stun rounds 40 -> 50 |
303 | 310 | - Flag broadcast radius $\sqrt{10}$ -> $\sqrt{100}$ |
304 | 311 | - Global upgrades can now be acquired every 600 rounds instead of 750 |
|
308 | 315 | - Engine improvements |
309 | 316 | - The senseLegalStartingFlagPlacement method no longer checks if the location is adjacent to the robot |
310 | 317 | - Added getAttackDamage() and getHealAmount() methods |
| 318 | + - getSpawnZoneTeam() now returns a Team object |
311 | 319 |
|
312 | 320 | - Version 1.2.5 (January 16, 2024) |
313 | 321 | - Engine improvements |
|
0 commit comments