Construction the Game

Step 1
[list=1][*]Construct a point A=(0,0,0)[br][/*][*]Construct a polygon near to point (0,0,0) in third region of cartesian coordinate system. (poly_1, poly_2, poly_3, poly_4)[br][/*][*]Construct a new point on object on the polygon. (B)[br][/*][*]Construct a line through (A,B). f(A,B)[br][/*][*]Construct a circle with center the point A through the point B.[br][/*][*]Construct a point on x-axis. (C)[br][/*][*]Construct a point on another intersection of circle and the line f. (D)[br][/*][*]Construct an angle between (C,A,D). (angle p)[br][/*][*]Construct a distance (A,D). (distance r)[br][/*][*]Define a number as a tan(p). tanp=tan(p)[br][/*][*]Define a number as a sec(p). secp=sec(p)[br][/*][*]Define y=x*tanp- (secp^(2)x^(2))/(20r^(2))  (h)[br][/*][/list]
Step 1
Step 2
[list=1][*]Define x=18. (line l)[br][/*][*]Construct three points  on (17,0), (15,0), (13,0). ( C_1,C_2,C_3)[br][/*][*]Construct three circles with center the point C through the point C_1,C_2,C_3. ( circles c_1, c_2, c_3)[br][/*][*]Construct the intersection points of line l and circles c_1, c_2, c_3. ( int_1, int_2, mid_1, mid_2, ext_1, ext_2)[br][/*][*]Create a segment [int_1int_2] (s_i)[br][/*][*]Create a segment [mid_1int_1] (s_m1)[br][/*][*]Create a segment [mid_1ext_1] (s_e1) [br][/*][*]Create a segment [mid_2int_2]  (s_m2)[br][/*][*]Create a segment [mid_2ext_2]  (s_e1)[br][/*][*]Construct a vector u (B,D). (vector)[br][br][/*][/list]
Step2 Test Yourself! (You do not need to repeat step 1. You can work on just step2.)
"WHY" QUESTION!
Why do you think that we construct a polygon on Step1?
Step 3
[list=1][*]Define intersect(h,l), intersect(h,s_i), intersect(h,s_m1), intersect(h,s_e1), intersect(h,s_m2), intersect(h,s_e1).[br][/*][*]Create slider “ext” from 1 to 3 with increment 1.[br][/*][*]Create slider “mid” from 4 to 6 with increment 1.[br][/*][*]Create slider “int” from 7 to 9 with increment 1.[br][/*][*]Create slider “den” from 1 to 9 with increment 1.[br][/*][*]Create a text located at s_e1, (text1) formulate fraction (as ext/den) in LateX. [br][/*][*]Create a text located at s_m1, (text2) formulate fraction (as mid/den) in LateX.  [br][/*][*]Create a text located at s_i, (text3) formulate fraction (as int/den) in LateX. [br][/*][/list]
Step 4
[list=1][*]Define the same function h on interval -2=<x=<18. (q)[br][/*][*]Construct three point on object q. ( U, V, W)[br][/*][*]Create CheckBox for U,V,W. ( U_1, V_1, W_1 with boolean value u,v,w)[br][/*][*]Create slider “shottot” from 0 to 3 with increment 1.[br][/*][*]Create slider “shot1” from 0 to 3 with increment 1.[br][/*][*]Create slider “shot2” from 0 to 3 with increment 1.[br][/*][*]Create slider “shot3” from 0 to 3 with increment 1.[br][/*][/list]
Step 4 Test Yourself!
Create a table in LateX!!
[b][size=100] \begin{tabular}{|l|l|l}[br]\hline DataSet &Your Shots \\[br]\ hline text1 & Shot1 \\[br]\hline text2 & shot2 \\[/size][br][/b][size=100][b]\hline Text3& Shot3 \\[br]\hline\end{tabular}[/b][br][br][/size]You need to create a text and write those LateX Formula. It will show a table on the screen.
Step 5
[list=1][*]Create a button (THROW). (button1)[br][/*][*]Create a new button (RESET). (button2)[br][/*][*]Create a button (NEXT). (button3)[br][/*][*]Create CheckBox for THROW button. (t_1)[br][/*][*]Create CheckBox for NEXT button. (n_1)[br][/*][*]Write the script of the button (THROW) is as follows: [br][/*][/list][br]If(J==E∨J==I,SetValue(shot1,shot1+1))[br]If(J==H∨J==F,SetValue(shot2,shot2+1))[br]If(J==G,SetValue(shot3,shot3+1))[br]SetValue(shottot,shottot+1)[br]If(shottot==1,StartAnimation(U),SetValue(u,False))[br]If(shottot==1,SetValue(u,true))[br]If(shottot==2,StartAnimation(V),SetValue(v,False))[br]If(shottot==2,SetValue(v,true))[br]If(shottot==3,StartAnimation(W),SetValue(w,False))[br]If(shottot==3,SetValue(w,true))[br]SetValue(t_1,false)[br][br][list=1][*][b]Write the script of the button (RESET) is as follows:[/b][br][/*][/list][br]SetValue(shot1,0)[br]SetValue(shot2,0)[br]SetValue(shot3,0)[br]SetValue(shottot,0)[br]SetValue(B,(-2,0,0))[br]SetValue(den,RandomBetween(1,9))[br]SetValue(ext,RandomBetween(1,3))[br]SetValue(int,RandomBetween(7,9))[br]SetValue(mid,RandomBetween(4,6))[br]SetValue(U,(-2,0,0))[br]SetValue(V,(-2,0,0))[br]SetValue(W,(-2,0,0))[br]SetValue(u,false)[br]SetValue(v,false)[br]SetValue(w,false)[br]SetValue(t_1,true)[br][br][list=1][*][b]Write the script of the button (NEXT) is as follows:[/b][br][/*][/list][br]SetValue(t_1,true)[br]SetValue(U,(-2,0,0))[br]SetValue(V,(-2,0,0))[br]SetValue(W,(-2,0,0))[br]SetValue(u,false)[br]SetValue(v,false)[br]SetValue(w,false)[br]SetValue(B,(-2,0,0))[br][br][list=1][*][b]For NEXT button, set the condition to show as shottot≠3. [br][/b][/*][*][b]For Vector vector, set the condition to show as t_1==1.[br][/b][/*][*][b]For Point B, set the condition to show as t_1==1. [/b][br][/*][/list][br]
Step 6
[list=1][*][b]Calculation Part[/b][br][/*][/list][list][*]Create four texts and create checkboxes for all. (text5,text6,text7,text17)[br][/*][*]Add script THROW and RESET button is as follow:[br][/*][/list][br]for THROW:[br]If(shottot==1,If(J==E∨J==I,SetValue(e_1,true)))[br]If(shottot==1,If(J==H∨J==F,SetValue(m_1,true)))[br]If(shottot==1,If(J==G,SetValue(i_1,true)))[br]If(shottot==1,If(J≠H∧J≠F∧J≠G∧J≠E∧J≠I,SetValue(z_1,true)))[br][br]for RESET:[br]SetValue(e_1,false)[br]SetValue(m_1,false)[br]SetValue(i_1,false)[br]SetValue(z_1,false)[br][br][list][*]Repeat two times this calculation part, create eight texts and create checkboxes for all. (text9,text10,text11,text18/ text12,text13,text14,text19,)[br][/*][*]Add script THROW and RESET button is as follow:[br][/*][/list][br][b]for THROW[/b][br]If(shottot==2,If(J==E∨J==I,SetValue(e_2,true)))[br]If(shottot==2,If(J==H∨J==F,SetValue(m_2,true)))[br]If(shottot==2,If(J==G,SetValue(i_2,true)))[br]If(shottot==2,If(J≠H∧J≠F∧J≠G∧J≠E∧J≠I,SetValue(z_2,true)))[br]If(shottot==3,If(J==E∨J==I,SetValue(e_3,true)))[br]If(shottot==3,If(J==H∨J==F,SetValue(m_3,true)))[br]If(shottot==3,If(J==G,SetValue(i_3,true))[br]If(shottot==3,If(J≠H∧J≠F∧J≠G∧J≠E∧J≠I,SetValue(z_3,true)))[br][br][b]for RESET[/b][br]SetValue(e_2,false)[br]SetValue(m_2,false)[br]SetValue(i_2,false)[br]SetValue(z_2,false)[br]SetValue(e_3,false)[br]SetValue(m_3,false)[br]SetValue(i_3,false)[br]SetValue(z_3,false)[br][br][list=1][*]Create slider “ran” from 12 to 21 with increment 1.(It is maximum range of the question’s nominator.)[br][/*][*]Create slider “ran2” from 9 to 18 with increment 1.(It is minimum range of the question’s nominator.)[br][/*][*]Add script RESET button is as follow:[br][/*][/list]SetValue(ran,RandomBetween(9,21))[br]SetValue(ran2,ran-3)[br][list=1][*]Create two sliders to input box. They are range from 9 to 12 and from 1 to 9 respectively.[br][/*][*]Create two input boxes which are for user calculation result. [br][/*][*]Create a new button CHECK.[br][/*][*]Create two texts for the feedback of the result.[br][/*][*]Script this CHECK button is as follows:[br][/*][/list][br]If(payda==den∧(ran2≤üst≤ran),SetValue(score,"Good Job"),SetValue(score,"Try Again"))[br][br]If(üst==Sum(Dot(ext,shot1),Dot(mid,shot2),dot(int,shot3))∧payda==den,SetValue(cal,"Your calculation is correct!"),SetValue(cal,"check your calculation"))[br][br][br][br]

Information