Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import sys
- import math
- import array
- import random
- checkpoints = int(input())
- checkpointX = array.array('i',[checkpoints])
- checkpointY = array.array('i',[checkpoints])
- for m in range(checkpoints):
- checkpointX, checkpointY = [int(j) for j in input().split()]
- # game loop
- while True:
- checkpoint_index, x, y, vx, vy, angle = [int(i) for i in input().split()]
- thrust=100+random.randint(0,100)
- print(checkpointX[checkpoint_index],checkpointY[checkpoint_index],thrust)
Add Comment
Please, Sign In to add comment