Math Game

Hello,

I’m making a math game where where multiple choice questions are asked.

Chapter 1 has 20 questions which are asked one after the other. If 75% are answered, the player moves to Chapter 2, etc. If the player answers less than 75%, then they are directed to another state of the game.

Is using Unity overkill for this?

thanks

Unity probably is a bit overkill but it should get the job done

ty BP. is there any ready-made template in Unity that i can buy for the above? So i can just update my background and quiz questions.

thanks

This should be really easy to make so i doubt you need a premade template. Just put a textbox and in code write 2 integers like 1 and 1. Then randomize a sign like +. Fuse together and put into textbox. Then do if (int1 + int2 = playerinput0{Score += 1; where score is equal to questions right} Then check for a percent of questions right and you should be done

And i dont think a premade template exists but you can check. Doubt its worth buying but there might be something free.

With Unity Tiny, no job is too small :stuck_out_tongue:

thanks BunnyProductions,.

Question 1:
So i ask 20 questions in First Scene. Then if 75% correct, they move to Second Scene. Is that the right way to proceed?

Question 2:
I understand the everything you’ve written, except what is the randomize part? why do i need to randomize?

ty so much!

1: I guess? 2: Are you going to have the math game generate math equations? If so then you will need to choose a random number between 1 to 4, and if 1 do +, if 2 do -, if 3 do *, if 4 do /

if not then uh ignore that

got you! ty very much!

Hi BunnyProductions, one more question:

How can i write the question in latex format?

string formula1 = @“\displaystyle\int_{-\infty}^{\infty}e^{-x^{2}};dx=\sqrt{\pi}”;
questions[index].question = formula1;

The question only shows as below in the question section. ty so much!

um not sure what you want to write it as

I want to write a math formula in the question block.
4428013--404464--Screen Shot 2019-04-14 at 4.18.30 PM.png

usually Latex is used to write the square root, integration, calculus, stuff and i’d like to know how I can use Latex in Unity

thanks

Don’t underestimate Unity feasibility for any project size. Unity builds are really small in size, plus it let’s you publish to WebGL. It all depends on your current skills with Unity and whether it’s worth learning something else