Quote:
|
Originally Posted by Eria4044
Could you write a code that's something like this: robot.kill(slackers)
I'd love that. 
|
Code:
function kill (object target){
static unsigned const COLOR = Green; //you must enter the color of the target's shirt
driveTowardsTarget(COLOR);
impale();
}
function impale(){
pwm11 = 254; //extend arm with highest speed
}