Want to create interactive content? It’s easy in Genially!
Math addition game on scratch
Benedictino
Created on May 9, 2021
Start designing with a free template
Discover more than 1500 professional designs like these:
Transcript
Addition Math game on Scratch
PRESS START
Make four variables
Name them like this:1. Score 2. Num1 3. Num2 4. Question
Start your Script
WHEN GREEN FLAG CLICKED1. SET THE SCORE TO 0 2. Select a loop 3. Place the Variables Num1 and NUm2 inside the loop.
Go to operators
Pick random 1 to 30 to select random runmbers1. Place these blocks inside num 1 and num2 2. on sensing, select an ask block. 3. On operators, select three join blocks to create the question.
Set the question variable
Go to operators and select the + block 1. Set the question variable 2. Place the + block inside question variable 3. Place NUM1 AND NUM2 AS SHOWN IN THE PICTURE
Select the conditional if, then, else
Go to operators and select the = block 1. Place the = block inside the conditional 2. Add the question and answer inside the = block 3. Place the score, sound and dialogue for correct and wrong answers.
Go to looks and select the first block
Go to operators and select the join block to say the final score 1. Place the join block inside the hello block 2.inside apple write "Your score is ". 3. inside banana place the score variable.
ADD YOUR DETAILS
Now, it is the time to add the backdrop, costumes and any other modificatios to make your game even better. Share your project!