Mad Pod Racing - Puzzle Discussion

I figured it out thanks so much!!!

1 Like

bumping this for help

Have you gone to gold? I’m struggling a lot here :confused:

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 :clap:

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 :point_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.

1 Like

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.

1 Like