CHECKING THE ANSWER
12.) Go back to our main event sheet and add global variable "ANSWER" (number).
When the user touch txt_Choice and if REMAINING_TIME is greater than -1, set it's value to txt_Choice.Text
13.) Compare it.
If user's answer (ANSWER) is not equal to RESULT -> wrong answer. Game over.
but if they're equal -> correct answer. Call "Create()" function to create another
question. Set REMAINING_TIME to 5 seconds again.
Ok. That's it. Now you've learned how to make simple equation game.
You can expand it whatever you like.
Have fun!
if you like this tutorial, please like my .
Thanks for reading!
fanpage