@@ -730,7 +730,6 @@ public void throwRobot() {
730730 }
731731
732732 private void getThrown (Direction dir ) {
733- // System.out.println("Robot got thrown: " + this.ID + " " + dir);
734733
735734 this .grabbedByRobot = null ;
736735 this .remainingCarriedDuration = 0 ;
@@ -915,7 +914,6 @@ public int[] canPounce(MapLocation loc) {
915914 // check passability of all landing tiles (and no cat)
916915 for (MapLocation tile : this .getAllPartLocations ()) {
917916 MapLocation landingTile = tile .translate (dx , dy );
918- System .out .println ("tested tile " + landingTile .x + ", " + landingTile .y );
919917 if (!this .gameWorld .getGameMap ().onTheMap (landingTile )) {
920918 // will pounce to a tile off map
921919 validLandingTiles = false ;
@@ -934,7 +932,6 @@ public int[] canPounce(MapLocation loc) {
934932 }
935933 if (validLandingTiles ) {
936934 int [] pounceTraj = { dx , dy };
937- System .out .println ("pounceTraj=" + pounceTraj [0 ] + ", " + pounceTraj [1 ]);
938935 return pounceTraj ;
939936 }
940937
@@ -945,7 +942,6 @@ public int[] canPounce(MapLocation loc) {
945942 public void pounce (int [] delta ) {
946943 int dx = delta [0 ];
947944 int dy = delta [1 ];
948- System .out .println ("POUNCING" );
949945
950946 MapLocation [] oldLocs = this .getAllPartLocations ();
951947 for (MapLocation partLoc : oldLocs ) {
@@ -1178,8 +1174,6 @@ public void processEndOfTurn() {
11781174
11791175 int [] pounceTraj = null ;
11801176
1181- // System.out.println("THIS IS ROUND " + this.gameWorld.getCurrentRound() + "
1182- // and cat with ID " + this.ID + " is at location " + this.getLocation());
11831177 switch (this .catState ) {
11841178 case EXPLORE :
11851179
@@ -1220,14 +1214,8 @@ public void processEndOfTurn() {
12201214 this .dir = this .location .directionTo (this .catTargetLoc );
12211215 }
12221216
1223- System .out .println ("IN EXPLORE MODE " + " Direction set to " + this .dir + " corner is " + getCatCornerByChirality () + " target is " + this .catTargetLoc );
1224- System .out .println ("HERE ARE MY WAYPOINTS: " );
1225- for (MapLocation mp : this .catWaypoints ){
1226- System .out .println (mp );
1227- }
12281217
12291218 if (this .controller .canMove (this .dir )) {
1230- System .out .println ("TRYING TO MOVE" );
12311219 try {
12321220 this .controller .move (this .dir );
12331221 } catch (GameActionException e ) {
@@ -1238,7 +1226,6 @@ public void processEndOfTurn() {
12381226 MapLocation nextLoc = partLoc .add (this .dir );
12391227
12401228 if (this .controller .canRemoveDirt (nextLoc )) {
1241- System .out .println ("stuck more here cuz of dirt " + this .gameWorld .currentRound );
12421229
12431230 try {
12441231 this .controller .removeDirt (nextLoc );
@@ -1256,10 +1243,6 @@ public void processEndOfTurn() {
12561243 continue ;
12571244 }
12581245 }
1259- else {
1260- System .out .println ("Cat " + this .ID + " is stuck on " + nextLoc + " cooldown "
1261- + this .getMovementCooldownTurns ());
1262- }
12631246 }
12641247
12651248 if (isStuck ){
@@ -1276,7 +1259,6 @@ public void processEndOfTurn() {
12761259 break ;
12771260
12781261 case CHASE :
1279- System .out .println ("CAT " + this .ID + "Entering Chase" );
12801262
12811263 this .dir = this .gameWorld .getBfsDir (getCatCornerByChirality (), this .catTargetLoc , this .chirality );
12821264 if (this .dir == null ){
@@ -1336,7 +1318,6 @@ else if (this.controller.canAttack(nextLoc)) {
13361318 break ;
13371319
13381320 case SEARCH :
1339- System .out .println ("CAT " + this .ID + "Entering Search" );
13401321
13411322 if (this .catTurns >= 4 ) {
13421323 this .catTurns = 0 ;
@@ -1368,10 +1349,7 @@ else if (this.controller.canAttack(nextLoc)) {
13681349 break ;
13691350
13701351 case ATTACK :
1371- System .out .println ("CAT " + this .ID + "Entering Attack" );
13721352
1373- System .out .println (this .ID + " is at location " + this .getLocation () + " at start of round "
1374- + this .gameWorld .getCurrentRound ());
13751353 // step 1: try to find the rat it was attacking, if cannot find it go back to
13761354 // explore
13771355 nearbyRobots = this .controller .senseNearbyRobots ();
@@ -1464,8 +1442,6 @@ else if (this.controller.canAttack(nextLoc)) {
14641442 if (this .isCarryingRobot () && this .carryingRobot .getHealth () > 0 )
14651443 this .gameWorld .getMatchMaker ().endTurn (this .carryingRobot .ID , this .carryingRobot .health , this .carryingRobot .cheeseAmount , this .carryingRobot .movementCooldownTurns ,
14661444 this .carryingRobot .actionCooldownTurns , this .carryingRobot .turningCooldownTurns , this .carryingRobot .bytecodesUsed , this .location , this .carryingRobot .dir , this .gameWorld .isCooperation );
1467- if (this .isCarryingRobot () && this .carryingRobot .getHealth () <= 0 )
1468- System .out .println ("THIS ROBOT IS ALREADY DEAD " + this .ID + ": " + this .health + ", " + this .carryingRobot .ID + ": " + this .carryingRobot .health );
14691445 this .roundsAlive ++;
14701446 }
14711447
0 commit comments