You are on page 1of 2

GAME TIME

Addition/Subtraction
Goal

What you should do


1. Create a project. Give it a
name.
2. Ask the user if they want
to practice addition or
subtraction facts. ( Hint:
Use the Ask block in
Sensing).
3. Lets say they picked
addition. Display two
random numbers (between
0 and 100) and ask the
player to enter the answer.
4. If they get it right, they get
a point.
5. Ask them 10 such random
questions.
6. At the end of 10 questions,
show their score. (e.g. You
got 6/10 correct. You got
60%. Try harder! You can
do better next time!) Be
kind
7. Do the same for
subtraction (Challenge:
Make sure the first number
in the subtraction is always
greater or equal to the
second number )
8. Save the project.

Math Games that will test your


addition/subtraction skills

Sample code for addition

You might also like