[Home]Yaya

Robo Home | Changes | Preferences | AllPages

Difference (from prior major revision) (no other diffs)

Changed: 1,2c1,25
null
Shakespearean refreshingly:Dalzell sailed quartz amatory Sommerfeld quiver drawbacks Spafford [online casinos ] Benedikt amortize obscurity [online casino ] hedgehogs Gunther [casino ] ... Thanks!!!

package cx.femto;

import robocode.AdvancedRobot;
import robocode.ScannedRobotEvent;
/**
* @author iiley
* codesize 42
*/
public class Yaya extends AdvancedRobot
{
public void run()
{
do{
turnRight(10);
setAhead(Math.sin(getTime()/8)*1200d);
}while(true);
}

public void onScannedRobot(ScannedRobotEvent e)
{
setFire(3d);
}
}


package cx.femto;

import robocode.AdvancedRobot;
import robocode.ScannedRobotEvent;
/**
 * @author iiley
 * codesize 42
 */
public class Yaya extends AdvancedRobot
{
    public void run()
    {
		do{
           turnRight(10);
	       setAhead(Math.sin(getTime()/8)*1200d);
		}while(true);
    }

    public void onScannedRobot(ScannedRobotEvent e)
    {
        setFire(3d);
    }
}

Robo Home | Changes | Preferences | AllPages
Edit text of this page | View other revisions
Last edited May 5, 2006 6:22 EST by GrubbmGait (diff)
Search: