I figured it out thanks so much!!!
bumping this for help
Have you gone to gold? Iâm struggling a lot here
How do you make your car turn faster are slow down the pod.
wood league player here just wondering how to advance tot he next league
Thank you so much it was inspiring as an idea
I am in Wood League 1 currently, and despite using the BOOST as I think it seems best, I rarely get first place. I have also worked around with the conditions, angles and thrust to make it better but I seem to be catching nothing. This is my current code:
next_checkpoint_angle = abs(next_checkpoint_angle)
if next_checkpoint_angle > 180:
next_checkpoint_angle -= 360
# Set the thrust value based on the angle to the next checkpoint
turn_threshold = 20
if abs(next_checkpoint_angle) > turn_threshold:
thrust_left = 75 # set as desired for turning
thrust_right = 100 # set as desired for forward motion
if next_checkpoint_angle < 0:
thrust_left, thrust_right = thrust_right, thrust_left # switch the order for turning right
thrust = f"{thrust_left} {thrust_right}"
else:
# Use maximum thrust when pointing directly at the checkpoint
thrust = "BOOST" if next_checkpoint_dist <= CHECKPOINT_RADIUS else "100 100"
# print (x, y, thrust)
# You have to output the target position
# followed by the power (0 <= thrust <= 100)
# i.e.: "x y thrust"
print(str(next_checkpoint_x) + " " + str(next_checkpoint_y) + " " + str(thrust))
my ship moved to the checkpoint on one run but now it just sits at start, so how do i get him to actually move where i want then how do would you even program in the corners for it to take. using js atm
Yeah that is right even for me
Hey, the distance is not a constant I guess, so you need to focus on the coordinates of the checkpoint rather than distance to it in your condition ânextCheckpointDist==longestâ
I donât understand the ranking. I am having a 100% winrate yet I am stuck in wood 3. Also the progression/achievement tree thing is still at âcomplete the mad pod racing tutorial,â is all of wood 3 the tutorial? Is it a bug? Help.
If your score is higher than that of the leagueâs boss, you should be promoted to the next league. However, another user reported (11 hours ago) that they have not been promoted in another game, so it could be a bug.
it was and itâs fixed now; I got promoted the moment I opened it
Looking back on it though, optimizing for a very specific scenario with limited info was kinda fun. For the time the bug existed, wood 3 became a very small but real league (as opposed to being just a tutorial). Pretty sure you could even get your own velocity, angle and such from saving your previous locations and doing math.
Maybe Iâm just dumb but the addition of collisions completely destroyed my results. My code still runs the course just fine but I canât beat anyone because I get bumped off the optimal course so often.
hello guys. how to use thrust in C? i am unable to change it whenever i want. i can only change it in final printf() . but i want to change during turnsâŚ
Hi,
I just got to the gold league in Mad Pod racing, but with the new boiler plate it seems the data is out of sync in C#?
First game step 0 initially all data are correct, but from step 1 it start to go out of sync. (Position and speed are way of from input)
I have only added debug output to the console.
What am I doing wrong?
Best regard
Nvm. It seems the data is just 1 step behind and canât be compared directlyâŚ
Hi there, you simply put
printf (âx y thrust\nâ);
if you want to vary your thrust, you can use if/else conditions.
Hope it helps
I seem to be stuck in Bronze and am currently out of ideas.
What would be a good strategy on when to use BOOST. Right now I am using it when in third lap and when my pod is roughly pointed at the next checkpoint.
Other than that I have no clue on how to improve my podâs behaviourâŚ
Any input would be welcome. Thanks.