How can I make a Possibility Calculator between yes and No.
I mean that it will pick random and add 1 to yes OR no (1000 times) then The word (yes/no) which has the greatest numbers will show below.
I have tried To Make It But I Is not Working
Capx Link
THANKS FOR ANY HELP <img src="smileys/smiley1.gif" border="0" align="middle">
I use functions because it's easier to control (for me atleast
Yes/No = Variables
Repeat 1000
-- Call Choose(1,2)
-- Wait DT
If 1 is called
-- Add 1 to Yes
If 2 is called
-- Add 1 to No
... You can guess the rest
Why not just do this:
<font face="Arial, Helvetica, sans-serif">Button | On clicked | Text | Set YesNo to floor(random(2))
|_Text | YesNo = 1 | Text | Set text to "yes"
|_Text | YesNo = 0 | Text | Set text to "no"</font>
Develop games in your browser. Powerful, performant & highly capable.
Whiteclaws
I Tried to Make It But It Is Not Working!
capx