On opencard
OMath Open without Menu    44 , 49 , 461, 341
--OMath Open
OMath Menu Grid 32
OMath NoSave
 if game_on is not 1 then
  play bokuwo
   put 5 into ntx
   naratoranimex
 end if

  put 101 into presentcard
put 0 into init101

End Opencard




On move_object
OMath Menu Move
end move_object

On find_length
OMath Menu Length
End find_length

On find_angle
OMath Menu AngleSize
End find_angle

On Cancellation
OMath Menu Undo
End Cancellation







On GameStart

put random(19) into rdm

if rdm = 1 then
 QuizDlg2 "Cuntos vrtices encuentras en cada figura?",1, 2, 3, 4, 3
end if

if rdm = 2 then
 QuizDlg2 "
Cuntos lados encuentras en cada figura?",1, 2, 3, 4, 3
end if

if rdm = 3 then
 QuizDlg2 "El tringulo rojo siempre tiene un ngulo recto.",s, no, , , 2
end if

if rdm = 4 then
 QuizDlg2 "El tringulo verde siempre tiene un ngulo recto.",s, no, , , 1
end if

if rdm = 5 then
 QuizDlg2 "El tringulo amarillo siempre tiene un ngulo recto.",s, no, , , 2
end if

if rdm = 6 then
 QuizDlg2 "El tringulo amarillo siempre tiene dos lados de igual longitud.",s, no, , , 1
end if

if rdm = 7 then
 QuizDlg2 "
El tringulo verde siempre tiene dos lados de igual longitud..",s, no, , , 2
end if
if rdm = 8 then
 QuizDlg2 "El tringulo rojo siempre tiene dos lados de igual longitud.",s, no, , , 2
end if

if rdm = 9 then
 QuizDlg2 "El tringulo rojo es un tringulo rectngulo.",s, no, , , 2
end if


if rdm = 10 then
 QuizDlg2 "El tringulo rojo es un tringulo issceles.",s, no, , , 2
end if

if rdm = 11 then
 QuizDlg2 "Un tringulo issceles siempre tiene dos ngulos de igual tamao",s, no, , , 1
end if

if rdm = 12 then
 QuizDlg2 "Un tringulo equiltero siempre tiene 3 ngulos iguales.",s, no, , ,1
end if

if rdm = 13 then
 QuizDlg4 "Si el ngulo EDF mide 45 grados, entoces el ngulo DFE mide __grados",45
end if

if rdm = 14 then
 QuizDlg4 "Si el ngulo EDF mide 30 grados, entoces el ngulo DFE mide __grados",60
end if

if rdm = 15 then
 QuizDlg4 "Si el ngulo DEF mide 60 grados, entoces el ngulo DFE mide __grados",30
end if

if rdm = 16 then
 QuizDlg4 "Si el ngulo GHI mide 60 grados, entoces el ngulo GIH mide __grados",60
end if

if rdm = 17 then
 QuizDlg4 "Si el ngulo GHI mide 60 grados, entoces el ngulo HGI mide __grados",60
end if


if rdm = 18 then
 QuizDlg4 "Si el ngulo GHI mide 45 grados, entoces el ngulo HGI mide __grados",90
end if

if rdm = 19 then
 QuizDlg4 "Si GH es 4cm de largo, entonces GI es __cm de largo",4
end if



      repeat while quiz_quit = 0
         wait 30 ticks
      end repeat
      put 0 into quiz_quit
  if math_answer is not 1 then
       if math_answer is  -1 then
          play  uhoh2


          exit GameStart
       else
              play jawharp
          showwitch_surprised
      end if

   else
           play good
           show_frog_good


 

  end if


End Gamestart





