/****
 * Let's see if JimsRobot moves the way it should.
 * 
 ***/


import josx.platform.rcx.*;

class TestJimsRobot {
    
    public static void main( String[] args ) {
	TextLCD.print("JBot");
	LegoMusic.soundTheCharge();
	JimsRobot.init();
	while (true){
	    if (Button.PRGM.isPressed()){
		wanderForward();
	    }
	}
    }

    public static void wanderForward(){
    }

    public static void moveAround(){
	    JimsRobot.waggleDance();
	    JimsRobot.moveForward(2);
	    JimsRobot.turnRight(1);
	    JimsRobot.turnLeft(1);
	    JimsRobot.moveBackward(2);
	    JimsRobot.spinLeft();
	    JimsRobot.wait(2);
	    JimsRobot.allStop();
	    JimsRobot.waggleDance();
    }

}


syntax highlighted by Code2HTML, v. 0.9.1