Skip to content

Commit b371b25

Browse files
author
Andy Wang
committed
Updated version numbers, removed getAnchor from RobotPlayer
1 parent 621b3b6 commit b371b25

4 files changed

Lines changed: 9 additions & 4 deletions

File tree

client/visualizer/src/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ export enum Mode {
154154
export function defaults(supplied?: any): Config {
155155
let year = "2023"
156156
let conf: Config = {
157-
gameVersion: "1.2.3", //TODO: Change this on each release!
157+
gameVersion: "1.2.4", //TODO: Change this on each release!
158158
year: year,
159159
map_extension: 'map'+year.substring(2),
160160
game_extension: 'bc'+year.substring(2),

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ public class GameConstants {
1010
/**
1111
* The current spec version the server compiles with.
1212
*/
13-
public static final String SPEC_VERSION = "1.2.3";
13+
public static final String SPEC_VERSION = "1.2.4";
1414

1515
// *********************************
1616
// ****** MAP CONSTANTS ************

example-bots/src/main/examplefuncsplayer/RobotPlayer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ static void runHeadquarters(RobotController rc) throws GameActionException {
117117
if (rc.canBuildAnchor(Anchor.STANDARD)) {
118118
// If we can build an anchor do it!
119119
rc.buildAnchor(Anchor.STANDARD);
120-
rc.setIndicatorString("Building anchor! " + rc.getAnchor());
120+
rc.setIndicatorString("Building anchor!");
121121
}
122122
if (rng.nextBoolean()) {
123123
// Let's try to build a carrier.

specs/specs.md.html

Lines changed: 6 additions & 1 deletion
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 2023 game.* Current version: *1.2.3*
20+
*This is the formal specification of the Battlecode 2023 game.* Current version: *1.2.4*
2121

2222
**Welcome to Battlecode 2023: Tempest.**
2323

@@ -287,6 +287,11 @@
287287

288288
# Appendix: Changelog
289289

290+
- Version 1.2.4 (January 13, 2023)
291+
- Engine Fixes:
292+
- Fixed the spelling of getCooldownMultiplier
293+
- Removed getAnchor from the default RobotPlayer
294+
290295
- Version 1.2.3 (January 13, 2023)
291296
- Non-essential update for competitors but critical for infrastructure:
292297
- Remove verbose deprecation output. Method deprecation will be re-documented in the future.

0 commit comments

Comments
 (0)