Thread View: ont.micro
1 messages
1 total messages
Started by anthony
Wed, 09 Jan 1985 21:20
random number generation
Author: anthony
Date: Wed, 09 Jan 1985 21:20
Date: Wed, 09 Jan 1985 21:20
26 lines
1639 bytes
1639 bytes
In regards to an earlier message by Greg Dudek with respect to
random number generation being dependent on I/O delays, and that my
criticism is especially inapplicable in the context of games, I would like
to raise two points. First, games that use a JOYSTICK necessitate that
the user not provide any keyboard input - hence my criticism is still
valid. Secondly, the random number generator is NOT dependent on I/O delays
and this can be shown to be true easily by executing the following
sequence of instructions:
1. boot-up and type PRINT RND(1)
2. boot-up again, press some keys (to give the I/O delay
counter a new value) and then type PRINT RND(1)
Both steps above will yield the same random number. On my machine,
this is 0.87..... Thus, the supposedly pseudo-random numbers are reprod-
ucible - a much desired characteristic !!!!
--
Anthony Ayiomamitis
Dept Prev Medicine & Biostatistics
Faculty of Medicine
University of Toronto
Toronto, Canada M5S 2T1
{allegra,ihnp4,linus,decvax}!utzoo!utcsstat!anthony
{ihnp4|decvax|utzoo|utcsrgv}!utcs!utzoo!utcsstat!anthony
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads