Mad Pod Racing - Puzzle Discussion

In the contest description there are links to external resources to learn from. For beginning the most important is [Steering Behaviors](Understanding Steering Behaviors - Envato Tuts+ Game Development Tutorials). I applied only first two algorithms (“Seek” and “Flee and arrival”) and jumped from bronze to gold league.

I did simple adaptation to handle two pods, no change in position calculation, no shield usage and I am ranked 1040/6776.

1 Like

Is there a way to go back to silver after progressing to gold? I enjoy optimizing the rule set for silver. I’ve avoided the “Test in Arena” button as I don’t want to lose access to the silver rule set. At the same time I want to see how far I can get in gold. Is there a way to go back to silver if gold isn’t fun?

it’s not possible to demote from a league or start fresh in an arena

Thank you for the info, _CG_Thibaud! The arena is a much faster way to find a losing match to see if the code is still faulty. I went for one last hurrah. Turns out it gave me 2 more hours to play with the silver ruleset before promotion! Bronze to silver was 15 min. Plenty of time to find and fix a few more bugs within the Silver ruleset. :slight_smile:
My biggest error with silver turned out to be my ability to do collision detection. The second, when to do a boost.

Collision detection spoiler

distanceBetweenPods < 999

Replay of my favorite silver race was vs @creativeApe : Coding Games and Programming Challenges to Code Better

Hi, I think there is a problem with the visualisator, sometimes it’s just stuck, there is not any timeout or loop or bug or else reported in the console, the end of the battle is reached but the visu is stuck, I can move the cursor til the end but the image is freeze and I have to refresh the page, when I share it’s working though

everytime i test my code like nothing happens, the video starts but nothing moves. i dont get it

1 Like

Are there error messages in the console? Maybe there is something wrong with the code so nothing moves.

No it’s not something with the code, it’s the visualisator, to make it work we have to refresh the page !

When/why did the name of this change to “Mad Pod Racing”? I only just noticed.

thanks, it did the work

1 Like

Hi everyone,
I’m new and in Bronze league for now. While rewriting my code and trying some things I had this result:
replay
The Bot won at the last step even though I was ahead. There seems to be no particular reasons (such as my bot taking too long to respond), maybe a bug ?
What do you think ?

interesting catch. We’ll have a look

Hi, I’m at bronze league and I was on last checkpoint before enemy, so I should win but I was’t promoted to new league. I also tested it in arena and won but still nothing. Am I supposed to do something more than be first at finish? Thanks in advance. Replay: Coding Games and Programming Challenges to Code Better

You have to climb to the top of the bronze league leaderboard (better than the boss and other players) before you are promoted to the next league.

Thanks for reply!

I can’t finish doing the Boss 2 level.

I don’t get what it means when it says “if nextCheckpointAngle > 90”. I don’t get any of the other stuff that it tells me to do either.

So, I’m ranked #1 above Sebulboss in silver, yet I’m not getting promoted. Does this take some time ?
image

There’s a message at the top telling you at what time you’ll get promoted.

Hello @everyone,

I am fairly new to programming but eager to learn. I am in the Wood 2 League and just got the ability to use checkpoint angles and distance. I am having trouble implementing my if statement. I feel I am not fully understanding where I should be adding the code. Here is my code:

    if next_checkpoint_angle > 90 or next_checkpoint_angle < -90:
        thrust = 0
    else:
        thrust = 100
    print(str(next_checkpoint_x) + " " + str(next_checkpoint_y) + " 100")

Can someone please assist me with this? Im not looking for the answer, just guidance on what I am not understanding. Possibly my if/else needs to be inside the print statement somehow?

Thank you in advance!

1 Like