|
-
Aug 19th, 2005, 01:02 PM
#1
Thread Starter
Fanatic Member
[RESOLVED] Math issue for my game, could use a mathematicians help
Ok, first off, i am not good at math, not my favorite subject. I need some help with the math for my game, either a formula or a chart to refer to.
My game has 6 dice, but at times can range from 1-6. I want to have a little "cheat sheet" in my game that tells you the probability of the winning outcomes based on the amoutn of dice your rolling with so you can decide if you want to roll or stick with what you have already.
I need the probablility of...
rolling a 1
rolling a 5
rolling 3 of a kind, 4 of a kind, 5 of a kind, 6 of a kind
a straight (1 through 6)
I need to beable to calculate on the fly becuase I know rolling a 1 on a single die is 1/6. so about 16% chance of it. but I need a formula to caculate the different odds. I will have a module with the functions so if I have 5 dice, one function is called, if 3 dice, another is called. so i dont need variables and such.
I stink at math and could never get this type of probability work memorized. Thank you.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|