Simulating any sided Die with a Scientific calculator

Supplement ideas, house rules, homemade stat cards, homebrew weapon types, and other cool variations

Moderators: warman45, Rev. Sylvanus

Fulizer
Minifig
Posts: 290
Joined: Sat Jul 25, 2009 12:39 pm
Location: there... inside your mind

Simulating any sided Die with a Scientific calculator

Post by Fulizer » Wed Nov 03, 2010 12:49 pm

SMARTITUDE WARNING!
This Bonus material requires the smarts, If you cannot brain, do not read.

Using a scientific calculator it is possible to create any sided die you want, its simple, all you need is the RAN function.

The equation goes like this

XRAN+Y+1

X is the number of sides you want the dice to have, Y is the amount to be added onto the dice, The extra 1 is to stop the highest or lowest numbers from being less likely to occur.

EXAMPLE:
D27+2
would be 27RAN+2+1

(this can be simplified to 27RAN+3)

User avatar
brickmaster
Battlefield General
Posts: 7
Joined: Fri May 28, 2010 1:33 pm
Location: Oregon, USA
Contact:

Re: Simulating any sided Die with a Scientific calculator

Post by brickmaster » Wed Nov 03, 2010 1:36 pm

Awesome. You can also get apps for many of the Texas instruments graphing calculators.
Brickmaster

User avatar
Mr. FudgeDaRules
Officer
Posts: 185
Joined: Tue Aug 10, 2010 8:12 pm
Location: Closer to your gun than you yourself are.

Post by Mr. FudgeDaRules » Wed Nov 03, 2010 4:00 pm

Also if you wish to calculate it on your computer:

6. Download Just Basic v1.01 at http://www.justbasic.com/download.html (free)

7. Type in the following 5 lines of command:

[start]
x=int(rnd(1)*6)+1
print x
input"";dummystring
goto[start]

8. Change the code depending on how many and what kinds of dice you need.

The above code is for 1d6, or 1-6. Subsitute the second line for the following for different changes.

x=int(rnd(1)*5)+2
1d6, rerolling 1s

x=int(rnd(1)*6)+2
1d6 + 1

x=int(rnd(1)*4)+1
1d4
etc.

For multiple dice:

[start]
input "How many dice are being rolled? ";num
num = int(num)
[loop]
if count = num then goto[end]
x=int(rnd(1)*6)+1
roll = roll + x
count = count +1
goto[loop]
[end]
print roll
input"";dummystring
cls
count=0
roll=0
goto[start]

And subsitute the 6th line as needed.
You know, if anyone cares to use their computer. Yes, I'm a little bit of a nerd. Deal with it.
Image

User avatar
muffinman42
Dimmy
Posts: 705
Joined: Fri Jul 17, 2009 2:33 pm
Location: I like to think this is the more sober account.
Contact:

Post by muffinman42 » Mon Nov 08, 2010 5:24 pm

Or if you have a computer you could use: http://www.virtualadept.co.uk/diceroller.cfm
though it only has existing dice.
Kerbal Rocketry(my youtube with actual videos on it!)

Muffinman aka. second account of Tahthing. Not technically troll account, as it was made out of shame.

User avatar
Mr. FudgeDaRules
Officer
Posts: 185
Joined: Tue Aug 10, 2010 8:12 pm
Location: Closer to your gun than you yourself are.

Post by Mr. FudgeDaRules » Tue Nov 09, 2010 4:19 pm

True. That would be easier for most people. However, for those who for some reason want to simulate 2d7+3, for example, you would need to use a program (or fudge it).
Image

User avatar
Robot Monkey
My Little Pony
Posts: 1935
Joined: Tue Nov 02, 2010 8:47 pm
Location: The Edge

Post by Robot Monkey » Wed Nov 10, 2010 6:44 pm

muffinman42 wrote:Or if you have a computer you could use: http://www.virtualadept.co.uk/diceroller.cfm
though it only has existing dice.
nice... that made my brikwars <a href='http://tinyurl.com/y42zurt'>alot</a> easier.
Image

User avatar
muffinman42
Dimmy
Posts: 705
Joined: Fri Jul 17, 2009 2:33 pm
Location: I like to think this is the more sober account.
Contact:

Post by muffinman42 » Thu Nov 11, 2010 12:34 pm

Robot Monkey wrote:
muffinman42 wrote:Or if you have a computer you could use: http://www.virtualadept.co.uk/diceroller.cfm
though it only has existing dice.
nice... that made my brikwars <a href='http://tinyurl.com/y42zurt'><a href='http://tinyurl.com/y42zurt'>alot</a></a> easier.
WOW you have a brikwars <a href='http://tinyurl.com/y42zurt'>alot</a> ! or... did you mean "A lot"...


GOD DAMMIT I'M BECOMING A GRAMMAR Piltogg!
Kerbal Rocketry(my youtube with actual videos on it!)

Muffinman aka. second account of Tahthing. Not technically troll account, as it was made out of shame.

Fulizer
Minifig
Posts: 290
Joined: Sat Jul 25, 2009 12:39 pm
Location: there... inside your mind

Post by Fulizer » Sun Nov 21, 2010 10:57 am

That link has become OLD!
that's a undestatment Btw
Edit:whoops! turns out typing <a href='http://tinyurl.com/y42zurt'>alot</a> is a autolink now.

User avatar
aoffan23
You can nail me with your wood. ( ͡° ͜ʖ ͡°)
You can nail me with your wood. ( ͡° ͜ʖ ͡°)
Posts: 2702
Joined: Sat Jan 23, 2010 7:41 pm
Location: Ottawa

Post by aoffan23 » Sun Nov 21, 2010 1:53 pm

There's always the option of http://www.random.org/. Just type in the max number and it will generate a random number for you. For multiple dice, just click multiple times.

With this, you could even have a 1782-sided die roll.
Spoiler
Show
Tzan wrote:
Quantumsurfer wrote:I generally agree with Tzan
Warhead wrote:I agree with QuantumSmurfer.
I agree with Warhead.
Image

User avatar
Keldoclock
My Little Pony
Posts: 1833
Joined: Sun Nov 30, 2008 2:19 pm
Location: New York City

Post by Keldoclock » Sun Nov 21, 2010 6:13 pm

Or, much more importantly, a 1337 sided roll.
Image
stubby wrote:omg noob, balrogs are maiars too, don't you know anything

User avatar
Warhead
kaka pants
Posts: 7299
Joined: Mon Feb 09, 2009 2:07 pm
Location: I'm Momnipresent.

Post by Warhead » Sun Nov 21, 2010 6:38 pm

Sell the damn Cantaddulator and buy some dice already.
Image

User avatar
Robot Monkey
My Little Pony
Posts: 1935
Joined: Tue Nov 02, 2010 8:47 pm
Location: The Edge

Post by Robot Monkey » Sun Nov 21, 2010 7:09 pm

muffinman42 wrote:
Robot Monkey wrote:
muffinman42 wrote:Or if you have a computer you could use: http://www.virtualadept.co.uk/diceroller.cfm
though it only has existing dice.
nice... that made my brikwars <a href='http://tinyurl.com/y42zurt'><a href='http://tinyurl.com/y42zurt'><a href='http://tinyurl.com/y42zurt'>alot</a></a></a> easier.
WOW you have a brikwars <a href='http://tinyurl.com/y42zurt'><a href='http://tinyurl.com/y42zurt'>alot</a></a> ! or... did you mean "A lot"...


GOD DAMMIT I'M BECOMING A GRAMMAR Piltogg!
i do have brikwars.... why else would i be on the forum?
Image

Fulizer
Minifig
Posts: 290
Joined: Sat Jul 25, 2009 12:39 pm
Location: there... inside your mind

Post by Fulizer » Mon Nov 22, 2010 3:12 am

Warhead wrote:Sell the damn Cantaddulator and buy some dice already.
Ill trade in the calculator for a 27 sided dice! A shiny penny for the first person to find me one!

User avatar
Ranger S2H
Minifig
Posts: 290
Joined: Thu Jun 18, 2009 7:08 pm
Location: deep in dimmy territory, fighting the hordes from the inside.
Contact:

Post by Ranger S2H » Mon Dec 27, 2010 9:29 pm

perhaps someone should make a program like that with fancy graphics and animation . . .
- I refuse to be stopped by something as irrelevant as logic, the laws of physics, or common sense -

if 20 chickens can fit in a brick, how many pingpongballs does a crocodile have to eat so it can swim faster than a washing machine?

User avatar
Blitzen
Distinguished Owner of the English Language
Distinguished Owner of the English Language
Posts: 1727
Joined: Tue Jan 01, 2008 5:17 pm
Location: Toronto, Ontario, Canada
Contact:

Post by Blitzen » Tue Dec 28, 2010 2:09 am

Or you could just buy some dice. Just a thought.

I got a set of dice for Manly Santa Day. They're pretty, and simple to use. I even roll them by accident sometimes; it's that easy!
Often, literally, a pillow fight but may include similar situations like volleyball, particularly when wardrobe is skimpy and the action is bouncy.

Post Reply
cron