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

Simulating any sided Die with a Scientific calculator

Postby 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)
TROLOLO
Fulizer
Cannon Fodder
 
Posts: 353
Joined: Sat Jul 25, 2009 12:39 pm
Location: there... inside your mind

Re: Simulating any sided Die with a Scientific calculator

Postby 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
brickmaster
Battlefield General
 
Posts: 7
Joined: Fri May 28, 2010 1:33 pm
Location: Oregon, USA

Postby 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
Mr. FudgeDaRules
Minifig
 
Posts: 232
Joined: Tue Aug 10, 2010 8:12 pm
Location: Closer to your gun than you yourself are.

Postby 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
muffinman42
Mega Blok
 
Posts: 1400
Joined: Fri Jul 17, 2009 2:33 pm
Location: I like to think this is the more sober account.

Postby 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
Mr. FudgeDaRules
Minifig
 
Posts: 232
Joined: Tue Aug 10, 2010 8:12 pm
Location: Closer to your gun than you yourself are.

Postby 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 alot easier.
Image
User avatar
Robot Monkey
Pooplord
 
Posts: 3166
Joined: Tue Nov 02, 2010 8:47 pm
Location: Weed land

Postby 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'>alot</a> easier.

WOW you have a brikwars alot ! 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.
User avatar
muffinman42
Mega Blok
 
Posts: 1400
Joined: Fri Jul 17, 2009 2:33 pm
Location: I like to think this is the more sober account.

Postby Fulizer » Sun Nov 21, 2010 10:57 am

That link has become OLD!
that's a undestatment Btw
Edit:whoops! turns out typing alot is a autolink now.
TROLOLO
Fulizer
Cannon Fodder
 
Posts: 353
Joined: Sat Jul 25, 2009 12:39 pm
Location: there... inside your mind

Postby 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.
Tzan wrote:
Quantumsurfer wrote:I generally agree with Tzan
Warhead wrote:I agree with QuantumSmurfer.



I agree with Warhead.
User avatar
aoffan23
Pooplord
 
Posts: 3311
Joined: Sat Jan 23, 2010 7:41 pm
Location: America's conjoined twin.

Postby 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
Keldoclock
Pooplord
 
Posts: 2832
Joined: Sun Nov 30, 2008 2:19 pm
Location: New York City

Postby Warhead » Sun Nov 21, 2010 6:38 pm

Sell the damn Cantaddulator and buy some dice already.
Image
User avatar
Warhead
Build me an Army worthy of Mordor
 
Posts: 10997
Joined: Mon Feb 09, 2009 2:07 pm
Location: I'm Momnipresent.

Postby 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'>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!
i do have brikwars.... why else would i be on the forum?
Image
User avatar
Robot Monkey
Pooplord
 
Posts: 3166
Joined: Tue Nov 02, 2010 8:47 pm
Location: Weed land

Postby 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!
TROLOLO
Fulizer
Cannon Fodder
 
Posts: 353
Joined: Sat Jul 25, 2009 12:39 pm
Location: there... inside your mind

Postby 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
Ranger S2H
Cannon Fodder
 
Posts: 408
Joined: Thu Jun 18, 2009 7:08 pm
Location: deep in dimmy territory, fighting the hordes from the inside.

Postby 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 Saturnalia. They're pretty, and simple to use. I even roll them by accident sometimes; it's that easy!
Image
Often, literally, a pillow fight but may include similar situations like volleyball, particularly when wardrobe is skimpy and the action is bouncy.
User avatar
Blitzen
Distinguished Owner of the English Language
 
Posts: 1940
Joined: Tue Jan 01, 2008 5:17 pm
Location: Toronto, Ontario, Canada

Next

Return to Bonus Material

Who is online

Users browsing this forum: No registered users and 2 guests