I need some formulas to create a yahtzee calculator. Right now, I'm using a horribly inefficient algorithm of just creating combinations and checking which ones have the desired numbers in them, and that way I'll output the odds of rolling a 3, 4, and 5 in 4 dice. Are there formulas I could use instead? Well of course, but what are they? xD
Yahtzee
Started by RobotGymnast, Aug 03 2008 02:59 AM
2 replies to this topic
#1
Posted 03 August 2008 - 02:59 AM
|
|
|
#2
Posted 04 August 2008 - 08:16 AM
If you gave a couple of examples of what you're looking for, I could probably help. Mind you, some of the formulas may not be any better than brute force techniques.
#3
Posted 04 August 2008 - 10:33 AM
LOL! maybe I'll just stick to brute force then.. easiest to understand.


Sign In
Create Account


Back to top









