Randomized Grand Prixes

Okay, first of all, this is my crazy idea that I have said that I have when I introduced myself a few days ago. It may be truly a crazy one after all but I want you guys to look at it and tell me what you think about it. I'm cool for a whole "nope, ain't gonna work" type of thing. So, here I go.
---
I was thinking that it would be fun if there was a feature where you could have randomized grand prixes where the four (or as many needed) tracks (with the suggested lap count already set) are truly random. When the player selects the "random grand prix", the player will only see the "random track" picture and when they start the prix, the first track will be one based on what type of tracks that are "up for grabs" by the code(all, standard only, or add-on only). After they finish that track, the leader board will show up but the thumbnail of the random track instead of one of a track.
My rationale behind this I just want more of a challenge (and more fun) because I don't know what will be the next track is.
I'm not a coder but I think this can be done by one or maybe just a script like this one:
Or no?
This code could also allow the player to change how many tracks they want and the lap count of all (because it's random).
P.S. I think this feature is NOT in any game. The closest thing to this is in Super Mario Kart for the DS but that is just looping around whatever amount of races you have set.
---
I was thinking that it would be fun if there was a feature where you could have randomized grand prixes where the four (or as many needed) tracks (with the suggested lap count already set) are truly random. When the player selects the "random grand prix", the player will only see the "random track" picture and when they start the prix, the first track will be one based on what type of tracks that are "up for grabs" by the code(all, standard only, or add-on only). After they finish that track, the leader board will show up but the thumbnail of the random track instead of one of a track.
My rationale behind this I just want more of a challenge (and more fun) because I don't know what will be the next track is.
I'm not a coder but I think this can be done by one or maybe just a script like this one:
Rahl43 {l Wrote}:But, for the moment, if you want to create your own grand prix you can use this code:
- {l Code}: {l Select All Code}
<supertuxkart_grand_prix name="My Grand Prix">
<track id="green-valley" laps="3" reverse="false" />
<track id="industry" laps="3" reverse="false" />
<track id="mountain-village" laps="3" reverse="false" />
<track id="on-an-iceberg" laps="3" reverse="false" />
<track id="on-the-beach" laps="3" reverse="false" />
</supertuxkart_grand_prix>
and place it in a file named something.grandprix in STK_DIR/data/grandprix/
Here, it's a grand prix I create to play Green Valley, Industry, Mountain village, On an Iceberg and On the beach. To create your own gp you should replace the id="xxx" by the id of the track you want to play (you can find it in the track.xml file in track directories)
Or no?
This code could also allow the player to change how many tracks they want and the lap count of all (because it's random).
P.S. I think this feature is NOT in any game. The closest thing to this is in Super Mario Kart for the DS but that is just looping around whatever amount of races you have set.