From 210b2d304389e215225245890ebb278e5de87118 Mon Sep 17 00:00:00 2001 From: Jerry Mao Date: Thu, 20 Jan 2022 21:21:10 -0500 Subject: [PATCH] Release version 2022.2.0.1 --- client/visualizer/src/config.ts | 2 +- .../main/battlecode/common/GameConstants.java | 2 +- gradle.properties | 2 +- specs/specs.md.html | 48 +++++++++++-------- 4 files changed, 30 insertions(+), 24 deletions(-) diff --git a/client/visualizer/src/config.ts b/client/visualizer/src/config.ts index 78373a4c..8b03e5df 100644 --- a/client/visualizer/src/config.ts +++ b/client/visualizer/src/config.ts @@ -144,7 +144,7 @@ export enum Mode { */ export function defaults(supplied?: any): Config { let conf: Config = { - gameVersion: "2022.2.0.0", //TODO: Change this on each release! + gameVersion: "2022.2.0.1", //TODO: Change this on each release! fullscreen: false, width: 600, height: 600, diff --git a/engine/src/main/battlecode/common/GameConstants.java b/engine/src/main/battlecode/common/GameConstants.java index bf1224b5..7efa051a 100644 --- a/engine/src/main/battlecode/common/GameConstants.java +++ b/engine/src/main/battlecode/common/GameConstants.java @@ -9,7 +9,7 @@ public class GameConstants { /** * The current spec version the server compiles with. */ - public static final String SPEC_VERSION = "2022.2.0.0"; + public static final String SPEC_VERSION = "2022.2.0.1"; // ********************************* // ****** MAP CONSTANTS ************ diff --git a/gradle.properties b/gradle.properties index eaa33762..9076eb52 100644 --- a/gradle.properties +++ b/gradle.properties @@ -5,4 +5,4 @@ maps=maptestsmall profilerEnabled=false source=src mapLocation=maps -release_version=2022.2.0.0 +release_version=2022.2.0.1 diff --git a/specs/specs.md.html b/specs/specs.md.html index 771f9559..bb52c5e6 100644 --- a/specs/specs.md.html +++ b/specs/specs.md.html @@ -17,7 +17,7 @@ # Formal specification -*This is the formal specification of the Battlecode 2022 game.* Current version: *2022.2.0.0* +*This is the formal specification of the Battlecode 2022 game.* Current version: *2022.2.0.1* **Welcome to Battlecode 2022: Mutation.** @@ -262,33 +262,33 @@ # Appendix: Other resources and utilities -## **Sample player** +## Sample player 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. 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. -## **Debugging** +## Debugging Debugging is extremely important. See the debugging tips to learn about our useful debug tools. -## **Monitoring** +## Monitoring 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()`). -## **GameActionExceptions** +## GameActionExceptions `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. Throwing any `Exception`s cause a bytecode penalty of 500 bytecodes. Unhandled exceptions may paralyze your robot. -## **Complete documentation** +## Complete documentation Every function you could possibly use to interact with the game can be found in our javadocs. # Appendix: Other restrictions -## **Java language usage** +## Java language usage 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. @@ -298,11 +298,11 @@ Note that violating any of the above restrictions will cause the robots to explode when run, even if the source files compile without problems. -## **Memory usage** +## Memory usage 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. -## **More information on bytecode costs** +## More information on bytecode costs 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. @@ -325,6 +325,12 @@ # Appendix: Changelog +- Version 2022.2.0.1 (January 20, 2022) + - Client: + - Release maps from Sprint II too + - Specs: + - Minor typographic and stylistic improvements + - Version 2022.2.0.0 (January 18, 2022) - Breaking changes: Sprint II Balancing changes - Archons: @@ -354,12 +360,12 @@ - Sprint maps released - Version 2022.1.0.2 (January 16, 2022) - - Engine + - Engine: - Trigger tiebreakers if all Archons are destroyed simultaneously during Fury. - Add some map validation to main server (thanks @stefangimmillaro!) - Version 2022.1.0.1 (January 12, 2022) - - Engine + - Engine: - Remove initial cooldown for all newly built robots - Fix bug in lead and gold sensing functions @@ -390,40 +396,40 @@ - Sprint maps released - Version 2022.0.3.1 (January 10, 2022) - - Client + - Client: - Fix robot selection on (0, 0) - Fix gold income - Improvements to runner team selection (thanks @jmerle!) - - Other + - Other: - Improvements to Javadoc deploy script - Version 2022.0.3.0 (January 9, 2022) - - Engine + - Engine: - (New feature) Add overloads for sensing nearby locations with metals - Do not dump debug map information at start of match - - Client + - Client: - Track HP change on mutations and fix DP display - Running averages for lead and gold income - - Other + - Other: - Javadocs are 2022, not 2017 - Version 2022.0.2.0 (January 5, 2022) - - Engine + - Engine: - (New feature) Add `rc.senseNearbyLocationsWithLead` and `rc.senseNearbyLocationsWithGold` - Make passive Lead increase occur after Anomalies are processed - - Client + - Client: - Fix portable Archon display - Fix mutation tracking - Update help text - Fix Vortex anomaly rendering - - Other + - Other: - Improvements to release scripts - Version 2022.0.1.1 (January 4, 2022) - - Specs + - Specs: - Clarify that Archons are not guaranteed to have ID at least 10,000 - Update various URLs - - Engine + - Engine: - Fix Archon damage to always be negative (ie. repair) - Fix maximum value for communication array to actually be $2^{16}-1$