activating SHIELD after BOOST is not able to affect BOOST
your X,Y values are not able neither to be the same like your opponent nor to even be in 400 units from him - u both have radius of 400, so your radiuses are summed up
Can someone help me How can I calculate the nextCheckpointAngle in Gold league?
Look up a trig function called ATan2. Depending on the language you're using, it might be included in the standard math package. It will give the angle between a point and the origin. If you subtract your position from the checkpoint's position (or maybe vice-versa, I get mixed up) and use ATan2 on that, it'll be the angle from you to the checkpoint instead.
Sorry guys for the question but i can't use BOOST too...
In C# I wrote :Console.WriteLine(nextCheckpointX + " " + nextCheckpointY + " " + BOOST);I simply replaced the Thurst value by the keyword BOOST, but it always says me that BOOST doesn't exists in the current context... Why if it's a keyword ?
Console.WriteLine(nextCheckpointX + " " + nextCheckpointY + " BOOST");
Thank you, i didn't understood to put it as a string