Hi, I’m stuck in Bronze League. I wouldn’t mind for a clue.

I’ve made a bot that beats “Boss 4” in the IDE roughly 9 times out of 10.

But when I submit it, I never get above its score.

I see people discussing thrust direction and self-learning bots (genetic algorithms or other), but I guess those are features not yet available in Bronze ?

Here’s a pseudo-code of what I did :

```
angle = abs(next_checkpoint_angle) // absolute value
if angle > 90 then thrust = 8
else if angle > 50 then thrust = 80
else {
// r is a small integer :
// the thrust will be slightly under 100 if the angle is not close to 0
thrust = 100 - int(angle/r)
// f(0) = 25 ... f(2000) = 0 and f(x) is linear ;
// slow down a bit when approaching a checkpoint
if next_checkpoint_dist < 2000 then thrust = thrust - f(next_checkpoint_dist)
}
# t is a large enough integer (in the thousands) for the boost to be interesting
if boost_was_never_used and lap > 1 and angle == 0 and next_checkpoint_dist > t then {
thrust = "BOOST"
}
```

Thanks for any help.