News for hackers. Stuff that matters.
Re:Mario Party N64 dice is predetermined by mindstab on Monday September 16, 2013 @06:55PM (#6396429)
Not necessarily. If it simply sets the random seed once as the program starts, then saving the state of the game, and reloading it repeatedly will give the same result from rand(), because the seed hasn't changed and you are rewinding/repeating time.

If I flip a coin in a deterministic universe, it's still "random" (air flow, force exerted, etc), but if I "rewind time" and play it back, I'd get the same result.

Re:Mario Party N64 dice is predetermined by LukeShu on Monday September 16, 2013 @07:17PM (#6396540)
You missed the point. Part of the game is that you thought you could control the number with your timing of exactly when you hit the button (it shows the "die" spinning above your head, you hit a button to jump and hit the die, at which point it stops spinning).
Re:Mario Party N64 dice is predetermined by peeters on Monday September 16, 2013 @07:31PM (#6396601)
I think the author is still confused:

> They took the time to display a spinning dice over Mario's head, so why couldn't they just add the random function that determines the dice roll AFTER the player head-butts the dice, and not before? Even though the dice roll IS random, the player cannot alter their fate while watching the dice spin above their head.

This reveals a misunderstanding of how the PRNG would work. Whether you compute the random number before or after is irrelevant, provided that nothing else asks the PRNG for output during that time.

What would change it is reseeding the PRNG based on the amount of time waited, or using the PRNG in displaying the animation. However, while this guarantees a causal effect, it doesn't really change the randomness in any measurable way (that is, to anybody playing the game as intended, not through an emulator) and so it would have no effect. So the designers made the right choice in my eyes.

Re:Mario Party N64 dice is predetermined by jmduke on Monday September 16, 2013 @07:38PM (#6396645)
What would change it is reseeding the PRNG based on the amount of time waited

The argument by the author is that the game implies that this occurs.

Re:Mario Party N64 dice is predetermined by ahassan on Monday September 16, 2013 @07:19PM (#6396549)
Yeah but why should that matter? If you hit it at a random time and it should be random, then why does it matter if the random number is generated at that instant or before? It's all still random in the user's eyes.
Re:Mario Party N64 dice is predetermined by LukeShu on Monday September 16, 2013 @07:26PM (#6396575)
Because it's not random in the user's eyes. We thought the number was totally based on our input; we would try so very hard to perfect our timing to get the numbers that we wanted.
Re:Mario Party N64 dice is predetermined by peeters on Monday September 16, 2013 @07:36PM (#6396635)
The author is not the intended user; he is using an emulator. The dice roll seems random to the intended user's eyes.
Re:Mario Party N64 dice is predetermined by LukeShu on Monday September 16, 2013 @08:46PM (#6396896)
So? He was the intended user when a younger version of himself played it on the actual console. Many players thought that their timing alone controlled the value. The author has simply used an emulator to show that that is false.
Re:Mario Party N64 dice is predetermined by benjvi on Monday September 16, 2013 @07:32PM (#6396608)
Well, the problem is, that's different to real dice. And subtlely different to the expectation of how it should work. If you throw a die, you could, with enough fine motor control, throw to get the number you desired. Or, in roulette, you could pick the right number the ball will land in by observing the speed with which the ball is spinning. In theory. Is there a practical difference? No. But, it still feels wrong that the game would work in a way that completely ignores the action of the player.
Re:Mario Party N64 dice is predetermined by aaron695 on Monday September 16, 2013 @07:45PM (#6396667)
Re:Mario Party N64 dice is predetermined by baddox on Monday September 16, 2013 @07:41PM (#6396651)
Perhaps some people thought there was actually a non-random element, whereby hitting the button at a specific timing could cause a specific number to turn up.
Re:Mario Party N64 dice is predetermined by oddshocks on Monday September 16, 2013 @07:24PM (#6396565)
I don't see why it would even make sense to be able to control your die roll at all. I think the spinning was just an animation. This ain't slots.
Re:Mario Party N64 dice is predetermined by LukeShu on Monday September 16, 2013 @07:28PM (#6396584)
That's the illusion though! Everyone playing the game thought it was slots!

A agree, from a game design standpoint, it doesn't make much sense to make it like slots; but that's the way it appears to the user.

Re:Mario Party N64 dice is predetermined by tveita on Monday September 16, 2013 @08:01PM (#6396731)
The funny thing is, modern slot machines do the same thing. The spinning is just for show - a PRNG decides exactly where the wheels should stop.
Re:Mario Party N64 dice is predetermined by minimaxir on Monday September 16, 2013 @07:22PM (#6396561)
It's like Press Your Luck: you could theoretically determine what value you get, but human reflexes are too slow to hit the value you want consistently, so you might as well play randomly for fun.

Unless you're Michael Larson, of course.

Re:Mario Party N64 dice is predetermined by rbchv on Monday September 16, 2013 @07:27PM (#6396581)
Or Chuck Norris
Re:Mario Party N64 dice is predetermined by aaron695 on Monday September 16, 2013 @07:27PM (#6396580)
> If I flip a coin in a deterministic universe, it's still "random" (air flow, force exerted, etc), but if I "rewind time" and play it back, I'd get the same result.

Couldn't quantum mechanics mean this is not true?

Re:Mario Party N64 dice is predetermined by kaoD on Monday September 16, 2013 @07:42PM (#6396656)
What do you mean?

I view "rewind and play back" essentially as replaying the exact way the quantum states collapsed. Although quantum mechanics are probabilistic (whether you believe in multiverses, Copenhaguen, etc.), the key here is that you're replaying the same probabilistic results and not "throwing the dies" again.

Or maybe I misunderstood your point?

I'd also argue that this is Mario Party using a PRNG. QM do not apply!

Re:Mario Party N64 dice is predetermined by aaron695 on Monday September 16, 2013 @07:52PM (#6396693)
My understanding would be quantum mechanics would not play the same if you went back in time. It is truly random.

But since time travel is impossible then maybe it makes no sense in general to talk about.

Plus as pointed out the OP does say it was a deterministic universe (but I would have thought that is not what we are in due to QM)

Re:Mario Party N64 dice is predetermined by plorkyeran on Monday September 16, 2013 @07:44PM (#6396662)
Even if it turns out we live in a non-deterministic universe due to QM, that obviously does not apply to a deterministic universe.
Re:Mario Party N64 dice is predetermined by gonnakillme on Monday September 16, 2013 @09:48PM (#6397114)
I don't think there are very many quantum effects working on coin tosses. It seems (to my relatively inexperienced eyes) like something handled pretty adequately by classical mechanics.