Forum
Dice rolling algorithm
|
baha wrote
at 3:47 PM, Tuesday October 16, 2007 EDT
When rolling 8 to 8, i lost my 11 attacks and my enemy had neary %50 ratio a few months ago. I ignored the case. But i played and played, that it sometimes happen again and again. I really suspecious about the dice rolling algorithm for n vs n case.
1) Is it pure random or is there some other factors that are taken into account (i.e. colour of neighbours(ally or opponent) of attacking cell, etc.) 2) Do you choose randomization seed one per player or totally 1 seed for all players? |
|
Earl Grey wrote
at 9:50 PM, Tuesday October 16, 2007 EDT Take a sample of consecutive rolls and do some stats
|
|
Zosod wrote
at 11:06 PM, Tuesday October 16, 2007 EDT each star adds 0.02 weight to each die. red/purple colors add 0.01. brown yellow -0.01.
|
|
SBinCB wrote
at 11:01 AM, Wednesday October 17, 2007 EDT Chat comments can modify rolls by 10-20%. # of PGAs engaged in improve rolls by 5% for every 3 PGAs.
|
|
zorrilla wrote
at 3:05 PM, Wednesday October 17, 2007 EDT Losing a 4v2 increases the chance of others attacking you by 16.25% (on average).
Complaining about your starting territories increases the chance of pissing other players off by 37.056%. If it is about your last roll it does by only 17.4%. Chatting with another player in a language different than English will modify the chance of all others kicking your butt by +116%. |
|
HBergeron wrote
at 4:07 PM, Wednesday October 17, 2007 EDT baha, back in the old pre-dom days of kdice, i was having a bad run so I started keeping track of my 8v8s (didn't take the time to break them down attack vs. defense thought.) In 140 straight rolls, I lost 119 of them - the probability of that sort of run is shockingly low. The RND() function that kdice uses is notoriously non-random - for reasons that are far beyond my limited mathematical capability to explain, but it has been explain to me in the past (by programmers who wanted an excuse to do something "more elegant".
That being said, since this was over multiple sessions/logins/days, it is unlikely that the seed problems, regardless of how they manifest, could have caused this - ie. the game isn't working against you. Another way of putting it, is while the function may be defective, it is still effectively random from the players point of view. It also means that you will see improbable series of rolls more often than not. It is this problem that I have always assumed keeps Ryan from giving us rolling stats the same way he gives us card stats for gpokr. The stats themselves would be trivial, but the effect of seeing some of the out of range results might be demoralizing. I'd always hoped that if kdice took off enough and was bringing in some real revenue, Ryan could implement a brownian motion random generator (ie. a web cam pointed at a lava lamp) - these things are expensive and complicated to implement in practice, but would be a nice meatspace rallying point for the kdice community and a cool analog to the piece of cake from which the universe is derived in the Hitchhikers Guide. |
|
Dora Exploradora wrote
at 2:09 AM, Thursday October 18, 2007 EDT Wouldn't a brownian random generator give an advantage to brown player? X_X
|
|
Agent Zer0 wrote
at 6:01 AM, Thursday October 18, 2007 EDT Yes, it'd be reverse racism at its finest.
|
|
fuzzycat wrote
at 7:00 AM, Thursday October 18, 2007 EDT |
|
Zosod wrote
at 9:25 AM, Thursday October 18, 2007 EDT HBerg, elementary algebra is beyond your, limited mathematical capability. sorry.
|
|
HBergeron wrote
at 11:57 AM, Thursday October 18, 2007 EDT a witty and substantial reply to the conversation - to which I can only reply: Apparently your mother can only count to 3, as she didn't charge the next 7 guys.
|