home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Archive Magazine 1996
/
ARCHIVE_96.iso
/
discs
/
gerald
/
3_10
/
Puttock
/
RandomNo
< prev
Wrap
Text File
|
1990-05-08
|
426b
|
10 lines
Hint/tip
If you use the use the random number generator (RND in
BASIC), it must be initialised with something really random, such as
the current time. Otherwise, the same numbers will be produced
every time the program is run. The otherwise excellent game
!Yahtzee on Careware 4 suffers from this problem, but it can easily
be solved: insert the line 123 Junk = RND(-TIME) and then every
game is different.