MathGroup Archive 2002

[Date Index] [Thread Index] [Author Index]

Search the Archive

RE: D&D Dice

  • To: mathgroup at smc.vnet.net
  • Subject: [mg37502] RE: [mg37457] D&D Dice
  • From: "DrBob" <drbob at bigfoot.com>
  • Date: Sat, 2 Nov 2002 03:30:19 -0500 (EST)
  • Reply-to: <drbob at bigfoot.com>
  • Sender: owner-wri-mathgroup at wolfram.com

Table[i + i2 + i3, {i, 6}, {i2, 6}, {i3, 6}]
{First@#, Length@#} & /@ Split@Sort@Flatten@%

DrBob

-----Original Message-----
From: AngleWyrm [mailto:no_spam_anglewyrm at hotmail.com] 
To: mathgroup at smc.vnet.net
Subject: [mg37502] [mg37457] D&D Dice

Consider yer basic 3d6 stat roll: What are the possibilities?
This gives a table of all 6^3 = 216 rolls:

Table[i + i2 + i3, {i, 6}, {i2, 6}, {i3, 6}] // MatrixForm

My question is this: How shall I set up a formula to list the count of
each
total?






  • Prev by Date: Step by step integration
  • Next by Date: Re: machine-size problem again?
  • Previous by thread: Re: D&D Dice
  • Next by thread: Re: D&D Dice