If you have a coin: Heads and tails represent bits. Flip a coin three times and add up the result to emulate a six-sided dice roll. e.g., heads, heads, tails = 3. If you get 7, then try again.
If you get all heads or all tails then use the last toss as part of your next set of 3.
E.g. HHHHT -> HHT -> 6
If you get all heads or all tails then use the last toss as part of your next set of 3.
E.g. HHHHT -> HHT -> 6