Sujet : Re: lun - Lucky Number
De : rich (at) *nospam* example.invalid (Rich)
Groupes : sci.cryptDate : 11. Mar 2025, 20:11:44
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vqq1tg$24ili$1@dont-email.me>
References : 1 2 3 4 5 6 7 8
User-Agent : tin/2.6.1-20211226 ("Convalmore") (Linux/5.15.139 (x86_64))
Ben Bacarisse <
ben@bsb.me.uk> wrote:
Rich <rich@example.invalid> writes:
Richard Heathfield <rjh@cpax.org.uk> wrote:
On 08/03/2025 21:32, Rich wrote:
<snip>
Looking at the source, how does someone with pencil and paper perform
this magic?:
n, _ := rand.Int(rand.Reader, max)
Roll some dice.
d4 give you two bits at a time, d8 give you three, or d16 give
you four. Quick and easy. Or if you prefer decimal, d10s are also
readily available.
>
True, that will work. Die for generating, pencil and paper for
'recording' the result.
>
However, if one had pencil, paper, and no die anywhere?
How may sides does the pencil have? ;-)
A round pencil, with no sides. :)