Dontopedia

Roll Dice Function

From Dontopedia, the open, paraconsistent wiki. (Last updated 2026-05-02.)

Roll Dice Function has 27 facts recorded in Dontopedia across 3 references, with 2 live disagreements.

27 facts·23 predicates·3 sources·2 in dispute

Mostly:takes parameter(2), generates random roll using(2), pushes to(2)

Maturity scale raw canonical shape-checked rule-derived certified

Inbound mentions (2)

Other subjects in dontopedia point AT this entity as a value. These are inverse relationships — e.g. "X motherOf this subject" — and answer questions the forward facts can't. Grouped by predicate.

callsCalls(1)

definesFunctionDefines Function(1)

Other facts (27)

The long tail: predicates that appear too rarely to warrant their own section. Filter or scroll to find a specific one. Each row links to its source.

27 facts
PredicateValueRef
Takes ParameternumSides[1]
Takes ParameternumDice[1]
Generates Random Roll UsingMath.floor(Math.random() * numSides) + 1[1]
Generates Random Roll UsingMath Random[2]
Pushes toRolls Array[1]
Pushes toRolls Array[2]
ReturnsRolls Array[1]
ReturnsRolls Array[2]
InitializesRolls Array[1]
Loops toNum Dice[1]
Embodies RandomnessMath Random[1]
Executes Loop From0[1]
Defined Asfunction rollDice(numDice, numSides)[1]
Adds One to Each Rollnull[2]
Assumes Uniform Distributionnull[2]
Defined inJavascript Snippet for 2d6[2]
Floors Random ValueMath Floor[2]
Initializes Empty ArrayRolls Array[2]
Loops TimesNum Dice[2]
Takes ParametersnumDice,numSides[2]
Pushes to ArrayRolls Array[3]
Executes for Loop0[3]
Computes Random RollMath.floor(Math.random() * numSides) + 1[3]
Returns ArrayRolls Array[3]
Is Reliabletrue[3]
Initializes ArrayRolls Array[3]
Depends on Math Randomtrue[3]

Timeline

Timeline axis is valid_time — when each source says the fact was true in the world, not when Dontopedia learned about it. Retracted rows are kept for provenance; coloured stripes indicate the context kind.

takesParameterblah/omega/part-552
numSides
generatesRandomRollUsingblah/omega/part-552
Math.floor(Math.random() * numSides) + 1
initializesblah/omega/part-552
ex:rolls-array
pushesToblah/omega/part-552
ex:rolls-array
takesParameterblah/omega/part-552
numDice
loopsToblah/omega/part-552
ex:num-dice
embodiesRandomnessblah/omega/part-552
ex:math-random
returnsblah/omega/part-552
ex:rolls-array
executesLoopFromblah/omega/part-552
0
definedAsblah/omega/part-552
function rollDice(numDice, numSides)
addsOneToEachRollblah/omega/part-551
null
assumesUniformDistributionblah/omega/part-551
null
definedInblah/omega/part-551
ex:javascript-snippet-for-2d6
floorsRandomValueblah/omega/part-551
ex:math-floor
generatesRandomRollUsingblah/omega/part-551
ex:math-random
initializesEmptyArrayblah/omega/part-551
ex:rolls-array
loopsTimesblah/omega/part-551
ex:num-dice
pushesToblah/omega/part-551
ex:rolls-array
returnsblah/omega/part-551
ex:rolls-array
takesParametersblah/omega/part-551
numDice,numSides
pushesToArrayblah/omega/part-553
ex:rolls-array
executesForLoopblah/omega/part-553
0
computesRandomRollblah/omega/part-553
Math.floor(Math.random() * numSides) + 1
returnsArrayblah/omega/part-553
ex:rolls-array
isReliableblah/omega/part-553
true
initializesArrayblah/omega/part-553
ex:rolls-array
dependsOnMathRandomblah/omega/part-553
true

References (3)

3 references
  1. [1]Part 55210 facts
    ctx:discord/blah/omega/part-552
  2. [2]Part 55110 facts
    ctx:discord/blah/omega/part-551
  3. [3]Part 5537 facts
    ctx:discord/blah/omega/part-553

See also

Keep researching

Missing something or suspicious of what's here? Kick off a research session — a Claude agent will investigate, cite its sources, and file new facts into a dedicated context you can review before accepting into the shared view.