[Coco] Is the RND command really generating a random number?

Rietveld Rietveld rietveldh at hotmail.com
Thu May 18 20:39:40 EDT 2017


I used the RND command to generate a random game play option in the cocoflash, but it doesn't seem to be very random. Some titles come up more than the laws of probability would suggest is possible.   instead I am now using a small math equation that uses a PEEK of the clock value.   This has resulted in a far more random looking selection

Sent from my BlackBerry 10 smartphone.


More information about the Coco mailing list