Skip to content

Commit

Permalink
Merge branch 'main' of github.com:mvpatel2000/Battlecode2021 into main
Browse files Browse the repository at this point in the history
  • Loading branch information
Vinjai Vale committed Jan 25, 2021
2 parents 4d27e78 + 241636b commit be24615
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 14 deletions.
4 changes: 2 additions & 2 deletions src/biden/EnlightmentCenter.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ public class EnlightmentCenter extends Robot {
int[] searchBounds;
ArrayList<Integer> firstRoundIDsToConsider;
// Generate Secret Code. Change these two numbers before uploading to competition
final int CRYPTO_KEY = 92747502; // A random large number
final int MODULUS = 987; // A random number strictly smaller than CRYPTO KEY and 2^10 = 1024
final int CRYPTO_KEY = 92747507; // A random large number
final int MODULUS = 997; // A random number strictly smaller than CRYPTO KEY and 2^10 = 1024

// Ally ECs
// We are treating unverified allies as ground truth for now.
Expand Down
5 changes: 0 additions & 5 deletions src/biden/Slanderer.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,6 @@ public class Slanderer extends Unit {
// Tracks nearest enemy so we don't constantly update destination from same unit
public MapLocation lastNearestLocation;

int minX = -1;
int maxX = -1;
int minY = -1;
int maxY = -1;

public Slanderer(RobotController rc) throws GameActionException {
super(rc);
// IGNORE EC DESTINATION FOR NOW!
Expand Down
Binary file modified src/smite.zip
Binary file not shown.
4 changes: 2 additions & 2 deletions src/smite/EnlightmentCenter.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ public class EnlightmentCenter extends Robot {
int[] searchBounds;
ArrayList<Integer> firstRoundIDsToConsider;
// Generate Secret Code. Change these two numbers before uploading to competition
final int CRYPTO_KEY = 92747502; // A random large number
final int MODULUS = 987; // A random number strictly smaller than CRYPTO KEY and 2^10 = 1024
final int CRYPTO_KEY = 92747507; // A random large number
final int MODULUS = 997; // A random number strictly smaller than CRYPTO KEY and 2^10 = 1024

// Ally ECs
// We are treating unverified allies as ground truth for now.
Expand Down
5 changes: 0 additions & 5 deletions src/smite/Slanderer.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,6 @@ public class Slanderer extends Unit {
// Tracks nearest enemy so we don't constantly update destination from same unit
public MapLocation lastNearestLocation;

int minX = -1;
int maxX = -1;
int minY = -1;
int maxY = -1;

public Slanderer(RobotController rc) throws GameActionException {
super(rc);
// IGNORE EC DESTINATION FOR NOW!
Expand Down

0 comments on commit be24615

Please sign in to comment.