|Topic was automatically imported from the old Question2Answer platform.
I am creating a puzzle game related to addition /subtraction of numbers. In the game there will be random numbers (5,2,3,1,…).The player should select the correct answer from the answers (6,7,…).For example if the player selects the number 5 and 2, he should select the answer 7. If he chooses wrong answer he should be able to repeat the process again and choose the correct answer. How can I create a function like this for the game? Any suggestions.