In that sense, it would be very hard for PD to actually do the roulette by using chance -- code run on computers like the PS is deterministic so there is no chance involved. Modern computers have some hardware to generate "true randomness" from random physical processes, but this hardware is often not used as you would need to trust the hardware manufacturer to not have tampered with the outcomes.
It's really not as hard as you make it sound. A PS5 or any modern computer has a timer (or multiple timers) in it that operate at a very high rate. If you push a button on the controller, the least significant digits on that time stamp (say, 100 microseconds or less) are going to be more than random enough for something like awarding prizes in a car game.
So use the least significant digits of the clock timer when you press the button to open the roulette ticket to determine the prize. Not only is it random, if you reset and open the same ticket multiple times you get a "fresh" random number and a completely independent chance to win each time as you should.
Or just use the hardware random number generator that's been included in both Intel and AMD chips
since 2015. It might not be in the PS5 custom chip, but it seems like it would be an odd thing to take out when games specifically have so many uses for random numbers. Trust doesn't really come into it, this isn't high level cryptography. We're not talking about transferring large amounts of money securely or sending classified information, we're talking about rolling for a roulette ticket. No one cares if AMD fiddled with their hardware RNG for this purpose*.
*Apart from the fact that if it were to become known that they had a flawed hardware RNG implementation it would be catastrophic for them, but hey.
Is the roulette random or predetermined?
- I don't know and it's hard to tell. I would guess it's predetermined but in a way to emulate randomness to fullfill point one and two above.
It's predetermined and it's not hard to tell.
The fact that you always get the same result from opening the same ticket multiple times means that the result is predetermined in some fashion. There is only one result you're ever going to get from a given ticket and that's the definition of predetermined, even if you don't know what that result is going to be. A randomised ticket does not do that.
If I have a fair die, I can roll it as many times as I like and it could be any of the six numbers.
If I have a weighted die, I can roll it as many times as I like and it will always give me the same number.
If I give you a bunch of weighted dice that are all weighted towards different sides, and tell you that you're only allowed to roll each of them once then you might get the idea that they're all fair and that the results that you're getting are truly random. But they're not. Each die I give you has a predetermined result.
==========
To be clear, being predetermined isn't even necessarily a problem for gameplay. It's fine to have planned out what prizes you want the player to get. In some cases it's better for the game.
The problem is misleading the player into thinking that they have a chance at stuff that they don't. A free 5k credits is fine, if not terribly exciting. A free 5k credits when you keep missing out on the 100k, 500k and 1M options is designed to be frustrating.
Functionally there would be no difference if the game just gave you a prize when you got a ticket - no randomness, no spinning, no other prizes shown. You just get the next prize from a list that you can't see. But that would be less effective at triggering FOMO, you wouldn't be seeing all those other desirable things that you "missed out on" and you'd be less inclined to get frustrated and maybe spend some money on relieving that frustration.
This is why we have a roulette that most people seem to agree is mostly frustratingly stingy, and why it's designed the way it is. It's not designed to be fair or rewarding, it's designed to push people towards taking certain actions like using the cash shop. True randomness would be less effective, with millions of players at least some of them would get lucky, high roll their way through and never feel the FOMO. If they happened to be a whale, that's potentially significant revenue that Polyphony would be missing out on.
This is the actual issue. It's not that the tickets are predetermined. That really is neither here nor there. It's that they're predetermined in a way that is specifically not based around being fun for the player, because that's not the objective.