The lottery game on page 131 is broken. It pays roughly 5.5 to 1 in favor of the ticket buyer. I wrote a little Java program to play 100 million games at a time and test out some scenarios.
With a little trial and error, I think you want to do this instead:
Even those tend to pay close to parity, but there's a decent chance that, out of 100 million tickets sold, fewer will hit the higher payouts. 100 million tickets is probably in the neighborhood of a affluent, mid-sized planet's sales for one week.
Note that even small changes to the mid-range payouts dramatically changes the results. Note that, the more dice you add, the more you dramatically increase the chance of getting, say, 5 ones.
Code:
-------------------- T5.09 Book Solution --------------------
You played 100000000 games.
You spent 1000000000Cr.
You won 1212974404Cr.
Result occurrences:
Result: 0 1 2 3 4 5 6
Payout(Cr): 0 0 25 250 2500 25000 25000
#Occurs: 33482164 40189597 20099968 5358190 803828 64174 2079
Your net earnings are 212974404Cr.
Your payoff ratio is 1.21 to 1.
-------------------- Adam's Solution --------------------
You played 100,000,000 games.
You spent Cr100,000,000.
You won Cr84,714,195.
Result occurrences:
Result: 0 1 2 3 4 5 6 7 8
Payout(Cr): 0 0 0 0 5 15 200 20000 250000
#Occurs: 23239179 37228448 26047947 10422238 2603063 415632 41172 2274 47
Your net loss is Cr15,285,805.
Your loss ratio is 1 to 1.18.
With a little trial and error, I think you want to do this instead:
To play the lottery (once per week)
Beyond Impossible (8D)
Pay Cr10 for a ticket.
Roll 8 ones and win Cr250,000.
Roll 7 ones and win Cr20,000.
Roll 6 ones and win Cr200.
Roll 5 ones and win Cr15.
Roll 4 ones and win Cr5.
Roll less than 4 ones and lose your money.
Beyond Impossible (8D)
Pay Cr10 for a ticket.
Roll 8 ones and win Cr250,000.
Roll 7 ones and win Cr20,000.
Roll 6 ones and win Cr200.
Roll 5 ones and win Cr15.
Roll 4 ones and win Cr5.
Roll less than 4 ones and lose your money.
Even those tend to pay close to parity, but there's a decent chance that, out of 100 million tickets sold, fewer will hit the higher payouts. 100 million tickets is probably in the neighborhood of a affluent, mid-sized planet's sales for one week.
Note that even small changes to the mid-range payouts dramatically changes the results. Note that, the more dice you add, the more you dramatically increase the chance of getting, say, 5 ones.