How can you construct the game?
- Yazar:
- Betül İşcan
- Start with creating a slider whose interval is between 1 to 50 and increment is 1.
- Go to "Steps" menu and create an input b=RandomBetween(1,50)
- Create a second input a=RandomBetween(0,b-1).
- Form the third input as Fraction=a/b.
- Drag this input with right click and drop on the main page.
- Form a text box(text2) named as "Response".
- Create a button whose caption is "Change Fraction".
- Create another 3 buttons named as "Close to zero", "Close to half" and "Close to whole".
- Go to the settings of the "Change Fraction" button with right click on it.
- In settings, firstly go to "scripting" and then "on click". Write b=RandomBetween(1,50)