View Single Post
Old 06-27-2018, 07:30 PM   #21
offsides
 
Join Date: Jun 2008
Location: Cheltenham, PA
Default Re: Update incoming: Please finish any Multiplayer games you have running

Quote:
Originally Posted by dwalend View Post
They aren't going to mess that up. It's Ogre. The standard library's (nextInt() % 6) +1 equivalent is fine by many orders of magnitude. They're likely using some variant of Mersenne Twister, possibly not even conscious of it.

I'm more concerned with changing the narrative of the game "to make it more interesting" instead of letting the dice fall fairly. I've played two games of MkIII Attack where both players had a hard time landing hits south of the craters. It's just anecdotal, but not rolling a single six, and only 3 fives - out of 25 attempts is really strange. GP wasn't doing any better.
Just FYI, I did a little testing and for small numbers of rolls (25-30), it's totally possible to get 0 6s and 3 5s with specific random seeds. So even with proper randomization, if it's not initialized well it can give skewed results. Again, it's something that could be easily checked if the rolls were audited in a meaningful way (i.e,. by game and overall total), hence my original suggestion. Yes, the dice absolutely can land that way, but it should be fairly rare and not often.
__________________
Joshua Megerman, SJGames MIB #5273 - Ogre AI Testing Division
offsides is offline   Reply With Quote