Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- shield = 800
- printx = next_checkpoint_x
- printy = next_checkpoint_y
- if Boost and next_checkpoint_dist > 5000 and next_checkpoint_angle == 0:
- thrust = "BOOST"
- Boost = False
- elif next_checkpoint_angle > 90 or next_checkpoint_angle < -90:
- thrust = 0
- elif next_checkpoint_angle > 45 or next_checkpoint_angle < -45:
- thrust = 20
- elif next_checkpoint_dist < 2600 and get_velocity(previous_x,previous_y,x,y) > 350 and next_checkpoint_angle < 30 and next_checkpoint_angle > -30:
- thrust = 100
- printx = 8000
- printy = 4500
- else:
- thrust = 100
- print(str(printx) + " " + str(printy) + " " + str(thrust))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement