- Home /
Question is off-topic or not relevant
General design, not Unity 3D specific.
Childrens app. Ask math question before purchase
Hey all,
How do I go about setting a childproof authentication for the parent. I want the parent to use the in app purchase for their child (ages 3-5), but I don't want the toddler to accidentally press the purchase button.
I just need something to make sure it's the parent that clicked the purchase button, by having them solve a simple math problem like 3 + 9 or 4 * 8.
I want it to be super simple, for the parent. So a question comes up, they get like 5-10 possible answers, and they have to pick one.
Thanks a lot!
I think it's better to make them write down the answer. That way, you'll eli$$anonymous$$ate possibility of accidentally clicking correct answer. Also, consider making the result with two digits at least to lower down posibility of answering correct accidentally
I'm with @$$anonymous$$wahuNashoba. That would have been my exact recommendations ^^. To simplify the input you might want to provide a custom 3x3 + 0 number grid as keyboard and not relying on the native keyboard which always takes a while to switch to.
However if you want to use the native keyboard, make sure you open it manually with either NumberPad or NumbersAndPunctuation type.
As for the math problem i would implement different constraints for the two parameters based on the operation
// [$$anonymous$$, max]
// multiplication
A = [2,6] // 5 different values
B = [5,9] // 5 different values
// addition
A = [5,50] // 45 different values
B = [5,20] // 15 different values
// subtraction
A = [35,50] // 15 different values
B = [3,25] // 22 different values
That way the equations shouldn't be too difficult and they always result in a 2 digit answer. You also might want to implement a cooldown when a wrong answer is given ^^.
Thanks for the reply!
I'm going to give it a shot now and see how it turns out lol. I don't think I want to use the native keyboard, so I'm assu$$anonymous$$g I would just make one using ui, and assign them each an Int? I'll update you if I run into any issues.
Thanks again :)
lol to be honest, this is for toddlers, they won't know 1+1 haha, I'm thinking maybe I should just have like a 5-tap system.
Like tap button 5 times within 6 seconds for the menu to open.
Follow this Question
Related Questions
Password for launching app? 1 Answer
Facebook log in with email and password 0 Answers
Google Play Games plugin for Unity Not Authenticating 9 Answers
Google Play Games Services - authentication fails 4 Answers
Unity Standalone - Mac OSX application not get opened in some device, even same OS version 0 Answers