[MWForum]Re: Coin flipping

Daniel Ajoy mwforum@lists.mathcats.com
Wed, 06 Apr 2005 17:38:36 -0500


On 7 Apr 2005 at 8:09, GrahamWilliams@caulfieldgs.vic.edu.au wrote:

> G'day Daniel,  THAT was fast work !!!!!  

thanks :)

> When I see how quickly you
> respond to questions on MWorldsForum I often wonder if you ever go to
> sleep. Thanks so much for your help . I'm wondering if there;s any way I
> can slow down the speed at which the coin flips and the data appears in
> the textboxes.  Graham
> 

Sure.

create a speed slider and add the following line to the flip
procedure:

wait speed 


to flip
wait speed
ifelse coin = "heads [recordheads][recordtails]
settotalflips totalflips + 1
end


Daniel
OpenWorld Learning
http://mia.openworldlearning.org