Skip to content

Commit

Permalink
Updated release numbers to 1.1.0, fixed javadoc errors under new engi…
Browse files Browse the repository at this point in the history
…ne functions
  • Loading branch information
Andy Wang committed Jan 10, 2023
1 parent 4a51c25 commit 58dda92
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 7 deletions.
2 changes: 1 addition & 1 deletion client/visualizer/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ export enum Mode {
export function defaults(supplied?: any): Config {
let year = "2023"
let conf: Config = {
gameVersion: "1.0.0", //TODO: Change this on each release!
gameVersion: "1.1.0", //TODO: Change this on each release!
year: year,
map_extension: 'map'+year.substring(2),
game_extension: 'bc'+year.substring(2),
Expand Down
2 changes: 1 addition & 1 deletion engine/src/main/battlecode/common/GameConstants.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public class GameConstants {
/**
* The current spec version the server compiles with.
*/
public static final String SPEC_VERSION = "1.0.0";
public static final String SPEC_VERSION = "1.1.0";

// *********************************
// ****** MAP CONSTANTS ************
Expand Down
5 changes: 5 additions & 0 deletions engine/src/main/battlecode/common/MapInfo.java
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ private void assertValidTeam(Team team) throws GameActionException {
/**
* Returns the cooldownMultiplier currently on this square.
*
* @param team the team to query the cooldown multiplier for
* @return the cooldownMultiplier currently on this square
* @throws GameActionException if team is not valid
*
Expand Down Expand Up @@ -81,6 +82,7 @@ public Direction getCurrentDirection(){
/**
* Returns the number of boosts currently applying to this square.
*
* @param team the team to query the boosts for
* @return the number of boosts currently applying to this square
* @throws GameActionException if team is not valid
*
Expand All @@ -94,6 +96,7 @@ public int getNumBoosts(Team team) throws GameActionException {
/**
* Returns the number of destabilizier currently applying to this square.
*
* @param team the team to query the destabilizes for
* @return the number of destabilizer currently applying to this square
* @throws GameActionException if team is not valid
*
Expand All @@ -107,6 +110,7 @@ public int getNumDestabilizers(Team team) throws GameActionException {
/**
* Returns the number of turns left before a booster is removed
*
* @param team the team to query the remaining boost turns for
* @return the number of turns left before a booster is removed, -1 if none active
* @throws GameActionException if team is not valid
*
Expand All @@ -120,6 +124,7 @@ public int getBoostTurnsLeft(Team team) throws GameActionException {
/**
* Returns the number of turns left before a destabilizer is removed
*
* @param team the team to query the remaining destabilize turns for
* @return the number of turns left before a destabilizer is removed, -1 if none active
* @throws GameActionException if team is not valid
*
Expand Down
2 changes: 1 addition & 1 deletion engine/src/main/battlecode/common/RobotController.java
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public strictfp interface RobotController {
/**
* Returns num of anchors being held by robot
*
* @param Anchor type of anchor to query, null for total
* @param anchorType type of anchor to query, null for total
* @return num of anchor being held by robot
*
* @battlecode.doc.costlymethod
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,6 @@ battlecode/common/MapInfo/getNumDestabilizers 5 fal
battlecode/common/MapInfo/getBoostTurnsLeft 5 false
battlecode/common/MapInfo/getDestabilizerTurnsLeft 5 false
battlecode/common/MapInfo/toString 15 false


java/lang/Math/IEEEremainder 1 false
java/lang/Math/abs 1 false
java/lang/Math/acos 1 false
Expand Down
6 changes: 4 additions & 2 deletions specs/specs.md.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

# Formal specification

*This is the formal specification of the Battlecode 2023 game.* Current version: *1.0.0*
*This is the formal specification of the Battlecode 2023 game.* Current version: *1.1.0*

**Welcome to Battlecode 2023: Tempest.**

Expand Down Expand Up @@ -285,7 +285,7 @@

# Appendix: Changelog

- Version 0.0.1 (January 10, 2023)
- Version 1.1.0 (January 10, 2023)
- Spec Fixes:
- Communication max value: 216 -> $2^{16}$
- Clarified rules of communication (near *own* headquarters or planted anchor)
Expand All @@ -296,6 +296,8 @@
- Added sensing mapInfo to detect currents, clouds and time-bending effects
- Fixed assert bug on checking for adjacency in collecting and transfering resources and anchors
- Resigning now means the other player wins automatically
- Client Fixes:
- Fixed client style scrollbars to prevent blocked content



Expand Down

0 comments on commit 58dda92

Please sign in to comment.