I want to create a math game. Starting with adding simple 1,2,3 digit numbers to other 1,2,3 digit numbers and allow the player to answer it, and if they answer right, they would get a success popup…wrong, would say try again sort of thing.
Can someone help me out? I have it working with single digit numbers added to other single digit numbers…but cannot get it to take more than one digit answers.
I am 9 years old and would appreciate some assistance.
If you’re 9, maybe start with something smaller (not saying age determines success, but it does a lot of the time). A good idea for a math game would be to ask the question then have 4 different answers the user can choose from. Maybe using two different labels, with two different randomizers, the randomizers create custom math problems so you don’t have to manually do it and it can go on as long as the user wants.
Since you’re 9 though, you probably don’t know about every basic math in an advanced way… So it might not be the best idea… but go ahead, doesn’t hurt anything!
I think the easiest thing to do is to use text behaviors. The text block will add them together and can be erased by pressing Backspace or when you go to solve the answer. I changed the Enter press to one of the text blocks instead of the Number. Its a little hard to understand, but easy enough to follow the lines.