You are controlling a car racing through a series of checkpoints. Each checkpoint is located on position indicated with
x and
y.
Which checkpoint to target is given by
checkpointId pointing to a value in the checkpoints given as initial input.
Checkpoints are repeated when given as inputs. (in difference to CSB)
The game is played on a map
16000 units wide and
9000 units high. The coordinate X=0, Y=0 is the top left pixel.
The checkpoints work as follows:
- The checkpoints are circular, with a radius of 600 units.
- The disposition of the checkpoints is selected randomly for each race.
You
lose if:
- You use more than 600 rounds.
- You do not supply a valid sequence of actions.
You
Win if:
- You visit all checkpoints as given by inputs before the time is out!
The car work as follows:
- Every turn it takes a new command given a position and a THRUST indicating where to drive.
- It will at max turn 18 degrees from where the current heading are.
- After a new thrust it given the car will drive for 1 turn checking for collisions with the next checkpoint along the way.
- Center of a car needs to be inside a checkpoint to visit it.