src/gamemechanics/Debug.java
public static void debug_monitorRobotByteCodeLimit() {
		if (monitorByteCodeLimitLastCallRoundNum == -1) {
			monitorByteCodeLimitLastCallRoundNum = rc.getRoundNum();
		}
		if(monitorByteCodeLimitLastCallRoundNum != rc.getRoundNum()){
			System.out.println("ERROR: exeeded Bytecode limit by " + Clock.getBytecodeNum());
		}else{
			if (verbose){
				System.out.println("Bytecode left " + Clock.getBytecodesLeft());
			}
		}
		monitorByteCodeLimitLastCallRoundNum = rc.getRoundNum() + 1;
	}
/**
	 * Check if the robot went past its ByteCode limit by checking round numbers
	 */
Check if the robot went past its ByteCode limit by checking round numbers
Check if the robot went past its ByteCode limit by checking round numbers
public static void debug_monitorRobotByteCodeLimit() {
		if (monitorByteCodeLimitLastCallRoundNum == -1) {
			monitorByteCodeLimitLastCallRoundNum = rc.getRoundNum();
		}
		if(monitorByteCodeLimitLastCallRoundNum != rc.getRoundNum()){
			System.out.println("ERROR: exeeded Bytecode limit by " + Clock.getBytecodeNum());
		}else{
			if (verbose){
				System.out.println("Bytecode left " + Clock.getBytecodesLeft());
			}
		}
		monitorByteCodeLimitLastCallRoundNum = rc.getRoundNum() + 1;
	}
public static void debug_monitorRobotByteCodeLimit ( ) { if ( monitorByteCodeLimitLastCallRoundNum == - 1 ) { monitorByteCodeLimitLastCallRoundNum = rc . getRoundNum ( ) ; } if ( monitorByteCodeLimitLastCallRoundNum != rc . getRoundNum ( ) ) { System . out . println ( "ERROR: exeeded Bytecode limit by " + Clock . getBytecodeNum ( ) ) ; } else { if ( verbose ) { System . out . println ( "Bytecode left " + Clock . getBytecodesLeft ( ) ) ; } } monitorByteCodeLimitLastCallRoundNum = rc . getRoundNum ( ) + 1 ; }
Check if the robot went past its ByteCode limit by checking round numbers
Check if the robot went past its ByteCode limit by checking round numbers