Construction of the Polygons

1. Select a point [icon]/images/ggb/toolbar/mode_complexnumber.png[/icon] and construct a square by using [icon]/images/ggb/toolbar/mode_regularpolygon.png[/icon]to represent thousands' place.[br][br]2. Select 4 points [icon]https://www.geogebra.org/images/ggb/toolbar/mode_complexnumber.png[/icon] and construct a rectangle by using [icon]/images/ggb/toolbar/mode_polygon.png[/icon] to represent tens' place.[br][br]3. Select a point [icon]https://www.geogebra.org/images/ggb/toolbar/mode_complexnumber.png[/icon] and construct a square by using [icon]https://www.geogebra.org/images/ggb/toolbar/mode_regularpolygon.png[/icon]to represent ones' place.[br][br]4. Use the following script to construct 10 vertical segments with the variable "i" in the square.[br]Sequence(Segment(A+(0,i),A+(10,i)),i,0,10)[br][br]5. Use the following script to construct 10 horizontal segments with the variable "i" in the square.[br]Sequence(Segment(A+(0,i),A+(10,i)),i,0,10)[br][br]6. Repeat the steps above for 9 times and match the coordinates of polygons in the coordinate system.
You can test it now!
You can check your work in here!

Construction of the Random Number Button

1. Construct a variable called "a" and use the following script to conduct a number between 0 and 9.[br]a=RandomBetween(0,9)[br][br]2. Construct a variable called "b" and use the following script to conduct a number between 0 and 9.[br]b=RandomBetween(0,9)[br][br]3. Construct a variable called "c" and use the following script to conduct a number between 0 and 9.[br]c=RandomBetween(0,9)[br][br]4. Take text tool and in advanced part select a, b and c numbers.[icon]/images/ggb/toolbar/mode_text.png[/icon][br][br]5. Constract a button named "Get a random number" and write the following scripts.[icon]/images/ggb/toolbar/mode_buttonaction.png[/icon][br]a=RandomBetween(0,9)[br]b=RandomBetween(0,9)[br]c=RandomBetween(0,9)
You can test it now!
You can check your work in here!

Construction of the Hint

1. Use [icon]/images/ggb/toolbar/mode_text.png[/icon] tool to construct the 'a' number on the screen.[br][br]2. Use [icon]https://www.geogebra.org/images/ggb/toolbar/mode_text.png[/icon] tool to construct the 'b' number on the screen.[br][br]3. Use [icon]https://www.geogebra.org/images/ggb/toolbar/mode_text.png[/icon] tool to construct the 'c' number on the screen.[br][br]4. Construct a check box using[icon]/images/ggb/toolbar/mode_showcheckbox.png[/icon] tool called 'Hint'. Connect this check box with already formed texts.[br][br]5. Construct three polygons which will be able to take all informed blocks by using this tools. [icon]/images/ggb/toolbar/mode_point.png[/icon][icon]/images/ggb/toolbar/mode_polygon.png[/icon][icon]/images/ggb/toolbar/mode_regularpolygon.png[/icon]
You can test it now!
You can check your work in here!

Construction of Reset

1. Construct a button called 'Reset' by using [icon]/images/ggb/toolbar/mode_buttonaction.png[/icon][br][br]2. Write all coordinates of all polygons' points inside of this button.
You can test it now!
You can check in here!

Construction of "Check Your Answer" Part

1. Set each point in the polygons to be inside their region that they belong by using input. [br]Write IsInRegion(, ) such as IsInRegion(A,polygon 3) Apply this for all polygons and their regions. [br][br]2. Write a random text called 'anstxt' by using [icon]/images/ggb/toolbar/mode_text.png[/icon][br][br]3. Costruct a button called 'Check your answer ' by using [icon]/images/ggb/toolbar/mode_buttonaction.png[/icon] , link this button with anstxt and write inside of this button that: [br]If( (a==o+a_1+b_1+c_1+d_1+n_1+o_1+p_1+s_1)&&(b==t_1+u_1+v_1+w_1+a_2+b_2+c_2+d_2+n_2)&&(c==o_2+p_2+q_2+r_2+s_2+t_2+u_2+v_2+w_2),SetValue(anstxt,"Your answer is correct!" ),SetValue(anstxt,"Your answer is incorrect!")) [br][br]If( (a==o+a_1+b_1+c_1+d_1+n_1+o_1+p_1+s_1)&&(b==t_1+u_1+v_1+w_1+a_2+b_2+c_2+d_2+n_2)&&(c==o_2+p_2+q_2+r_2+s_2+t_2+u_2+v_2+w_2), SetBackGroundColor(anstxt,Green), SetBackGroundColor(anstxt,Red))[br][br]4. Also, write inside of the button called 'Get a Random Number' that: [br]SetValue(anstxt,"Your answer is...") SetBackGroundColor(anstxt, White) [br][br][br][br]
You can test it here!
You can check your work in here!

Construction of the "How to Play" Part

1. Write instructions of the game in a text by using [icon]/images/ggb/toolbar/mode_text.png[/icon] tool. [br][br]2. Construct a check box and link this box with already form text by using [icon]/images/ggb/toolbar/mode_showcheckbox.png[/icon] tool.
You can test it here!
You can check in here!

Construction of "Write Your Name" Part

1. Construct a text randomly called 'Text11' by using [icon]/images/ggb/toolbar/mode_text.png[/icon][br][br]2. Link the text with input box called "Write Your Name" by using [icon]/images/ggb/toolbar/mode_textfieldaction.png[/icon] 
You can test it now!
You can check your work here!

Digit Value Game

This game was prepared by İlke Topal and Tuğba Canbaz.

Information