Not having a small child handy, I had to get creative on a fair and random way to draw the number for this month's winner.
Having had way too much coffee with my cigars last night, I came up with probably the most over-thought, cumbersome and pointless method ever devised to generate a random number between 1 and 24.
It's a three-part process:
First, use a regular six-sided die to generate a random number from 1 - 6.
Second, flip a coin twice to generate a random 2-bit binary number (range 0 - 3 decimal). Heads = 1, Tails = 0, starting with the most significant bit
Third, add 6 to the result of the die roll from step one N-times, where N = the result from step two.
Got it? If it sounds confusing, just remember that it took three double espressos and an OpusX Corona to come up with this...
So. Rolled die, flipped coins...
Step one result: 6
Step two result: 01 binary (tails, heads)
Convert to decimal = 1
Step three: Add 6 to the original die roll 1 time...
Final result: 12
Johnnie420 - you are the lucky winner for August!
All - remember that we have until the end of August to send Johnnie his winnings.
So many cigars, so little time...
Posts: 2268 | Location: South of the Mason/Dixon Line | Registered: September 24, 2007
Random number generators abound on the net, why not use one of them? (Even though they are only sudo-random since they typically use a time-stamp in the algorithm, but its take into milliseconds so its pretty random.)
(Sorry, I know I have absolutely nothing to do with this thread. But being a math teacher, I love randomness. My students hate it because I use it to select who is going to present what problems.)
rechtien
Posts: 207 | Location: Missouri | Registered: July 01, 2008
Originally posted by AVIDFLYER: Glad you won but the other part SUCKS.
Looks like just a warning. Max $250 fine. I tried a new vendor that was having a sale. I will stick to whtat's been working from now on. I can't bitch though, you play you pay.
"Here's the deal. I'm the best there is, plain and simple. I wake up in the morning and I piss excellence." Ricky Bobby
Originally posted by rechtien: Random number generators abound on the net, why not use one of them? (Even though they are only sudo-random since they typically use a time-stamp in the algorithm, but its take into milliseconds so its pretty random.)
(Sorry, I know I have absolutely nothing to do with this thread. But being a math teacher, I love randomness. My students hate it because I use it to select who is going to present what problems.)
rechtien
Call me old-fashioned, but I like using coins and dice. The funny thing? It was a math teacher that taught me how they work, and how to make use of the die-roll bell curve when needed, or eliminate it when appropriate.
All of those things are missing with the online random number generators.
So many cigars, so little time...
Posts: 2268 | Location: South of the Mason/Dixon Line | Registered: September 24, 2007