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?

« First ‹ Previous Replies 11 - 17 of 17
MickC wrote
at 12:09 PM, Thursday October 18, 2007 EDT
http://kdice.wikispaces.com/Random+in+Kdice

The math / reasoning in that artical is incorrect. The probability of loosing (or winning) x or more consecutive 8v8's in y attacks is p = (y - x + 2) / (2^[x+1]) assuming a 50% win / loss chance. (yes I was bored).

Generally only 2 players will get the chance to make enough 8v8 attacks for this issue to arrise, so the probability of an 'unusual event' occuring in a given game is p_unusual = 1 - (1-p)^2.

The probability of such an event occuring in 100 games is p_100 = 1 - (1-p_unusual)^100.

Setting x to 12 and y to 40 (an unusual event is thus getting 12 or more consecutive losses (or wins) in 40 8v8's), p_unusual = 0.73% and p_100 = 0.52%

i.e., there is a 50% chance u will see one or more people royally screwed in every 100 games u play. Seams reasonable enough...
ProxyCheater wrote
at 12:50 PM, Thursday October 18, 2007 EDT
Ryan really needs to put more work into the dice rolling algorithm. I mean, it almost seems random! Shoddy programming, Ryan.
Ryan wrote
at 1:32 PM, Thursday October 18, 2007 EDT
I'm fixing up this part of the site at the moment, (stats/forum/ideas), and have added a new stat that measures your luck. So even if you get some bad luck at least you know. :)
fuzzycat wrote
at 3:09 PM, Thursday October 18, 2007 EDT
MickC, please click "join" on wikispaces, and then "join this wiki" on the kdice wiki. I'll gladly accept new editors, and you can aprove the article to your liking.

Anynomous editing has been turned off, since there was already reaced some idiot, started to vandalize the page daily. And I got other stuff to do than to revert vandals all the time.
kdicefreak wrote
at 3:27 PM, Thursday October 18, 2007 EDT
mickc, thanks for pointing out the error....i'll use EXTREME caution when reading that wiki page.....i rarely do anyways......
Valis wrote
at 9:13 PM, Thursday October 18, 2007 EDT
Ryan, I think you could do better, because I think you are great.
fuzzycat wrote
at 3:04 AM, Friday October 19, 2007 EDT
kdicefreak, notice that core statement of the page stays the same even in MikeyC's corrections of the detailed math.
KDice - Multiplayer Dice War
KDice is a multiplayer strategy online game played in monthly competitions. It's like Risk. The goal is to win every territory on the map.
CREATED BY RYAN © 2006 - 2026
GAMES
G GPokr
Texas Holdem Poker
K KDice
Online Strategy
X XSketch
Online Pictionary