[Coco] Re: Minesweeper

Frederick D Provoncha elderpav at juno.com
Tue Feb 7 22:24:59 EST 2006


> Message: 5
> Date: Tue, 7 Feb 2006 10:04:55 -0500
> From: "Mike Moore" <mikmoore at math.carleton.ca>
> Subject: Re: [Coco] Minesweeper
> To: "CoCoList for Color Computer Enthusiasts" 
> <coco at maltedmedia.com>
> Message-ID: <006401c62bf7$dd2c1cd0$85157586 at mikemoore>
> Content-Type: text/plain;        charset="iso-8859-1"
> 
> Yes, but in that case you select 7 of the 52 by the "dart" process 
> and then
> use the remaining 45. For less than half you keep the selected ones, 
> for
> more than half you throw them away and use the remainder. For 
> exactly 1/2,
> use either!
> 
> Mike Moore

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.

Fred Provoncha
Stansbury Park, UT



More information about the Coco mailing list