Hello,
I have been interested in making a game which asks you math questions.
The way it works is a prompt comes up showing two random numbers.
The player inputs a number, which is stored as a variable. I want to make it so if the inputed number is equal to the sum of the two random numbers,
(which are two variables) then you can move on. I'm not quite sure how to do this, because variables can only equal one other variable. I can't set it as a constant, because these are randomly generated problems.
Any ideas?
Thanks, Zander
I have been interested in making a game which asks you math questions.
The way it works is a prompt comes up showing two random numbers.
The player inputs a number, which is stored as a variable. I want to make it so if the inputed number is equal to the sum of the two random numbers,
(which are two variables) then you can move on. I'm not quite sure how to do this, because variables can only equal one other variable. I can't set it as a constant, because these are randomly generated problems.
Any ideas?
Thanks, Zander
