Having User input math equations by touch
I just started working with this and it is great. I am running into an issue.
I am trying to make a game where a user can enter in basic math equations, and then once they "submit," it generates the answer.
So for example I will make a button for 0-9, +, -, ÷, x, (, and ). So the user could click, "(6+5)x(7+8)."
I am not sure how to go about this, as the math expressions are not integers. Should I be using several tables?
Also, thinking ahead, creating a "delete," button(i.e. the user makes an input error and needs to delete the last thing they pressed), seems difficult if it is multiple tables.
If anyone has any help, much appreciated!