How can you construct the game?[br][list][/list][br]1.Start with creating a slider[icon]https://www.geogebra.org/images/ggb/toolbar/mode_slider.png[/icon] whose interval is between 1 to 50 and increment is 1.[br][br]2.Go to "Steps" menu and create an input b=RandomBetween(1,50)[br][br]3.Create a second input a=RandomBetween(0,b-1).[br][br]4.Form the third input as Fraction=a/b.[br][br]5.Drag this input with right click[icon]https://www.geogebra.org/images/ggb/toolbar/mode_move.png[/icon] and drop on the main page.[br][br]6.Form a text box(text2) [icon]https://www.geogebra.org/images/ggb/toolbar/mode_text.png[/icon]named as "Response".[br][br]7.Create a button [icon]https://www.geogebra.org/images/ggb/toolbar/mode_buttonaction.png[/icon]whose caption is "Change Fraction".[br][br]8.Create another 3 buttons [icon]https://www.geogebra.org/images/ggb/toolbar/mode_buttonaction.png[/icon]named as "Close to zero", "Close to half" and "Close to whole".[br][br]9.Go to the settings [icon]https://www.geogebra.org/images/ggb/toolbar/mode_tool.png[/icon]of the "Change Fraction" button with right click on it.[br][br]10.In settings, firstly go to "scripting" and then "on click". Write [br]b=RandomBetween(1,50)[br]SetColor(button2,gray) SetColor(button3,gray)[br]Setcolor(button4,gray) [br][br]11.Right click on the "Close to zero" button, go to settings>scripting>on click. Write [br]If(0<=Fraction<=0.24, [br]SetValue(text2,"That's True!"))[br]If(Fraction>0.24,SetValue(text2,"No"))[br]If(0<=Fraction<=0.24, SetColor(button2,green))[br]If(Fraction>0.24, SetColor(button2,red))[br][br]12. Right click on the "Close to half" button,[icon]https://www.geogebra.org/images/ggb/toolbar/mode_buttonaction.png[/icon] go to settings>scripting>on click. Write [br]If(0.25<=Fraction<=0.74, SetValue(text2,"Great :)"))[br]If(Fraction>0.74 ,SetValue(text2,"Try Again:("))[br]If(Fraction<0.24 ,SetValue(text2,"Think Again"))[br]If(0.25<=Fraction<=0.74, SetColor(button3,green))[br]If(Fraction>0.74,SetColor(button3,red))[br]If(Fraction<0.24,SetColor(button3,red))[br][br]13. Right click on the "Close to whole" button[icon]https://www.geogebra.org/images/ggb/toolbar/mode_buttonaction.png[/icon], go to settings>scripting>on click. Write [br]If(0.75<=Fraction<=1, SetValue(text2,"Congratulations! .)"))[br]If(Fraction<0.74,SetValue(text2,"Sorry"))[br]If(0.75<=Fraction<=1, SetColor(button4,green))[br]If(Fraction<0.74,SetColor(button4,red))[br][br]14. Go to the settings of the "Change Fraction"[icon]https://www.geogebra.org/images/ggb/toolbar/mode_buttonaction.png[/icon] with right click on it. Go to settings>scripting>on click and add SetValue(text2," ")[br][br]15. Now, you can improve design [icon]https://www.geogebra.org/images/ggb/toolbar/mode_copyvisualstyle.png[/icon]of your tool to make it visually attractive if you want :)