Skip to content

Commit 210b2d3

Browse files
committed
Release version 2022.2.0.1
1 parent ec18585 commit 210b2d3

File tree

4 files changed

+30
-24
lines changed

4 files changed

+30
-24
lines changed

client/visualizer/src/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ export enum Mode {
144144
*/
145145
export function defaults(supplied?: any): Config {
146146
let conf: Config = {
147-
gameVersion: "2022.2.0.0", //TODO: Change this on each release!
147+
gameVersion: "2022.2.0.1", //TODO: Change this on each release!
148148
fullscreen: false,
149149
width: 600,
150150
height: 600,

engine/src/main/battlecode/common/GameConstants.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ public class GameConstants {
99
/**
1010
* The current spec version the server compiles with.
1111
*/
12-
public static final String SPEC_VERSION = "2022.2.0.0";
12+
public static final String SPEC_VERSION = "2022.2.0.1";
1313

1414
// *********************************
1515
// ****** MAP CONSTANTS ************

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ maps=maptestsmall
55
profilerEnabled=false
66
source=src
77
mapLocation=maps
8-
release_version=2022.2.0.0
8+
release_version=2022.2.0.1

specs/specs.md.html

Lines changed: 27 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
# Formal specification
1919

20-
*This is the formal specification of the Battlecode 2022 game.* Current version: *2022.2.0.0*
20+
*This is the formal specification of the Battlecode 2022 game.* Current version: *2022.2.0.1*
2121

2222
**Welcome to Battlecode 2022: Mutation.**
2323

@@ -262,33 +262,33 @@
262262

263263
# Appendix: Other resources and utilities
264264

265-
## **Sample player**
265+
## Sample player
266266

267267
examplefuncsplayer, a simple player which performs various game actions, is included with battlecode. It includes helpful comments and is a template you can use to see what `RobotPlayer` files should look like.
268268

269269
If you are interested, you may find the full game engine implementation [here](https://github.com/battlecode/battlecode22/tree/main/engine). This is not at all required, but may be helpful if you are curious about the engine's implementation specifics.
270270

271-
## **Debugging**
271+
## Debugging
272272

273273
Debugging is extremely important. See the debugging tips to learn about our useful debug tools.
274274

275-
## **Monitoring**
275+
## Monitoring
276276

277277
The `Clock` class provides a way to identify the current round (`rc.getRoundNum()`), and how many bytecodes have been executed during the current round (`Clock.getBytecodeNum()`).
278278

279-
## **GameActionExceptions**
279+
## GameActionExceptions
280280

281281
`GameActionException`s are thrown when something cannot be done. It is often the result of illegal actions such as moving onto another robot, or an unexpected round change in your code. Thus, you must write your player defensively and handle `GameActionException`s judiciously. You should also be prepared for any ability to fail and make sure that this has as little effect as possible on the control flow of your program.
282282

283283
Throwing any `Exception`s cause a bytecode penalty of 500 bytecodes. Unhandled exceptions may paralyze your robot.
284284

285-
## **Complete documentation**
285+
## Complete documentation
286286

287287
Every function you could possibly use to interact with the game can be found in our javadocs.
288288

289289
# Appendix: Other restrictions
290290

291-
## **Java language usage**
291+
## Java language usage
292292

293293
Players may use classes from any of the packages listed in `AllowedPackages.txt`, except for classes listed in `DisallowedPackages.txt`. These files can be found here.
294294

@@ -298,11 +298,11 @@
298298

299299
Note that violating any of the above restrictions will cause the robots to explode when run, even if the source files compile without problems.
300300

301-
## **Memory usage**
301+
## Memory usage
302302

303303
Robots must keep their memory usage reasonable. If a robot uses more than 8 Mb of heap space during a tournament or scrimmage match, the robot may explode.
304304

305-
## **More information on bytecode costs**
305+
## More information on bytecode costs
306306

307307
Classes in `java.util`, `java.math`, and scala and their subpackages are bytecode counted as if they were your own code. The following functions in `java.lang` are also bytecode counted as if they were your own code.
308308

@@ -325,6 +325,12 @@
325325

326326
# Appendix: Changelog
327327

328+
- Version 2022.2.0.1 (January 20, 2022)
329+
- Client:
330+
- Release maps from Sprint II too
331+
- Specs:
332+
- Minor typographic and stylistic improvements
333+
328334
- Version 2022.2.0.0 (January 18, 2022)
329335
- Breaking changes: Sprint II Balancing changes
330336
- Archons:
@@ -354,12 +360,12 @@
354360
- Sprint maps released
355361

356362
- Version 2022.1.0.2 (January 16, 2022)
357-
- Engine
363+
- Engine:
358364
- Trigger tiebreakers if all Archons are destroyed simultaneously during Fury.
359365
- Add some map validation to main server (thanks @stefangimmillaro!)
360366

361367
- Version 2022.1.0.1 (January 12, 2022)
362-
- Engine
368+
- Engine:
363369
- Remove initial cooldown for all newly built robots
364370
- Fix bug in lead and gold sensing functions
365371

@@ -390,40 +396,40 @@
390396
- Sprint maps released
391397

392398
- Version 2022.0.3.1 (January 10, 2022)
393-
- Client
399+
- Client:
394400
- Fix robot selection on (0, 0)
395401
- Fix gold income
396402
- Improvements to runner team selection (thanks @jmerle!)
397-
- Other
403+
- Other:
398404
- Improvements to Javadoc deploy script
399405

400406
- Version 2022.0.3.0 (January 9, 2022)
401-
- Engine
407+
- Engine:
402408
- (New feature) Add overloads for sensing nearby locations with metals
403409
- Do not dump debug map information at start of match
404-
- Client
410+
- Client:
405411
- Track HP change on mutations and fix DP display
406412
- Running averages for lead and gold income
407-
- Other
413+
- Other:
408414
- Javadocs are 2022, not 2017
409415

410416
- Version 2022.0.2.0 (January 5, 2022)
411-
- Engine
417+
- Engine:
412418
- (New feature) Add `rc.senseNearbyLocationsWithLead` and `rc.senseNearbyLocationsWithGold`
413419
- Make passive Lead increase occur after Anomalies are processed
414-
- Client
420+
- Client:
415421
- Fix portable Archon display
416422
- Fix mutation tracking
417423
- Update help text
418424
- Fix Vortex anomaly rendering
419-
- Other
425+
- Other:
420426
- Improvements to release scripts
421427

422428
- Version 2022.0.1.1 (January 4, 2022)
423-
- Specs
429+
- Specs:
424430
- Clarify that Archons are not guaranteed to have ID at least 10,000
425431
- Update various URLs
426-
- Engine
432+
- Engine:
427433
- Fix Archon damage to always be negative (ie. repair)
428434
- Fix maximum value for communication array to actually be $2^{16}-1$
429435

0 commit comments

Comments
 (0)