[Coco] Re: Minesweeper

Mark McDougall msmcdoug at iinet.net.au
Tue Feb 7 22:37:05 EST 2006

Mark McDougall wrote:

>> Exactly! Instead of selecting 45 out of 52 using the dart method,
>> start out with them all "selected", and then "unselect" 7 at random
>> using the dart method! Brilliant, Mike! That would be *much* faster.

Ah, a caveat. That's fine if the order of the random numbers is not 
important (such as in minesweeper). But if you need a random *sequence* 
of such numbers, then you still have the problem of obtaining a random 
ordering of them.


More information about the Coco mailing list