Talk:Dicekind

Results of Eight Dice
There's more than two ways to read the dice. For all these methods, I'm assuming the only significant information for each die is the count of pips on the dieface opposite the surface the die landed on once it stops moving. (Won't say "facing up," because gravity could be fucked up where you're rolling them.)


 * Sum all the numbers
 * This has the advantage of adding up quickly, but Trollkind (and Vriska in particular) likely have better dice-counting abilities than mere humans. The results would be numbers from 8-64, on bell-curve centred on 36, with results closer to 36 appearing more likely.

$amalgam8d_sum = 0; for ($a=1; $a<=8; $a++) { $amalgam8d_sum+=int(rand(8)+1); } print "The f8d number will 8e: ",$amalgam8d_sum,"\n";
 * 1) !/usr/bin/perl


 * Digits of a base-9 number, one at a time
 * You would roll each die once, and multiply the result by 8^(how many dice already rolled). So rolling "7" and "5" would be (7*8^0 + 5*8^1) = 47.  With eight dice, you would get a number between 5380840 and 43046720 (37,665,880 possible combinations).  It could be a base-8 number, but you'd have to subtract 1 from the value showing on each die first, to get digits 0-7.
 * This method also sucks because you need to keep track of the order you roll the dice in, you can't just roll them all at once (unless you're Trollkind with Vision Eightfold, I guess).

$num8ber = ""; for ($place=1; $place<=8; $place++) { $num8er = int(rand(8)+1).$num8er; } print "This is the num8er you w8d for: ",$num8er,"\n";
 * 1) !/usr/bin/perl


 * Matching sets
 * This is the least sucking method. Roll all the dice, then sort them.  You'll need to look up the results on a table, but that's what a Strife Specibus is for, to keep track of that.
 * ...counts and probabilities to follow...

@your_8unch_of_diiiiiiiice = ; for ($x=1; $x<=8; $x++) { push(@your_bunch_of_diiiiiiiice,int(rand(8)+1)); } print "The or8cles of f8 say: "; print join(',',sort(@your_bunch_of_diiiiiiiice)),"\n";
 * 1) !/usr/bin/perl

--Mozai 18:47, July 27, 2010 (UTC)