Quote:
Originally Posted by Back In The Saddle
for( int seconds = 0 ; seconds < 5 ; ++seconds )
swing_arm( FOR_1_SECOND );
if( throwin != released )
signal_violation();
|
Code:
duration == 1;
x == 0;
hand_ball_to_thrower_in();
raise_arm();
for x := 1 to 5 do begin
swing_arm(duration);
if (ball_released or (x = 5)) exit;
end;
if (x = 5) signal_violation();