Re: [PHP] virtual coin toss 55%

2002-05-17 Thread Jason Wong
On Friday 12 April 2002 13:07, Randy Johnson wrote: > I was surfing the internet today and found a site that offered a coin toss > game in PHP.The site claimed that it used the latest and most random > computer algorithms to do the Coin Toss. > > In the next line it said that you (the player)

Re: [PHP] virtual coin toss 55%

2002-05-17 Thread Richard Baskett
I want to say right from the beginning that there is a better way of doing this, but this will work :) Just keep track of what the user has thrown so far and do a check on it.. So that if it's less than 45% change the flip to what the user picked.. If that will put it over 45% then make it opposi