Project CARS 2 Randomizer – Update

I wrote the randomizer script in PowerShell a while ago because I’m pretty comfortable with it and I assumed most people would prefer to run a script on their own rather than download a file that does something mysterious.  I was wrong.  The best possibly compromise in my mind was a web page but I wasn’t sure how to do it.  I haven’t done any web stuff in a very long time.

I read this article and thought it might be worth trying to turn the script into an API.  Within about an hour I had it working.  In another I had all the images imported.  After a third I had the documentation written.  I’ve been hammering at it and so far after a week the cost is three cents!

The idea is that the racing can become stale – same cars, same tracks, over and over.  Even then, some people will be exceptionally good with some car/track combinations.  I love to practice a car or a single track layout but what about the weather?  What about the evening when the track is cool?

You can see from the sample output here ( that you could get anything.  Formula cars in the rain on a rally track?  Go-karts in the snow?  Most combinations are just a bit interesting but some are way out there.  This makes nights racing with friends more fun.

The API will hopefully give someone with more time and talent than me to do something fancy.  I think that this works fine as an web page on your cell phone.  I typically don’t play video games with my computer in front of me.  Maybe someone can turn this into a phone app.

I’ll keep this as a link on my site for quick reference (for me).  You can see it over on the right panel near the bottom.

This would be miserable.

Leave a comment

Leave a Reply