Make a Maths game for your child part 2: Subtraction section

The subtraction section to your game If you are new to this blog, it would be better if you started  here and work your way through the steps in part 1 then come back this page.  Enjoy! Make a Subtraction sprite Amend the ‘Adding sprite’ code Make the Level 1 sprite Main code for subtraction Make a subtraction sprite First, select the 'Adding sprite'.  Click on the costume tab and select copy.  Select edit and then select the text button and change the wording from ‘Adding’  to ‘Subtract’ then click ok.  Select the costume again, double click on it, now select it and select turn into new sprite.  Your new sprite will appear in the sprite window on the bottom right and on the stage.  Position the sprite just above the 'Adding sprite'.  Rename the sprite ‘ Subtraction ’ and select the Scripts tab.   Figure 1 Second, add the following code.  Drag in three hat blocks from the control section: when Substitution is clicked and two when

Spotlight: The variable.

Make a Maths game for your child using Scratch: The variable. If you do not already have Scratch or need extra help, use the Support page The variable holds a value. You can find the variable in the Code block section of your window (see figure 1) Figure 1 Note : the online version the variables are called data blocks Note this is different to the other windows.  You have to make the variable by selecting the ‘Make variable’ button.  Once you have done that, a window will appear and ask you to name it and select if it is for this sprite or all sprites.  If you select ‘for this sprite only’ the variable will only work for this sprite.  If you select the ‘For all sprites’, the variable will work for all the spites.  You will find this useful, but for now selecting for all sprites will be fine.  Usually, it is wise to name a variable using something memorable but for this excise just call it test.   Once you have named and selected the t

Make a Maths game for your children using Scratch

This is the first part of a series of blogs  The object of the game is to make the cat meow as much as possible by correctly answering the questions.   Scratch is an easy to use app that allows you to programme, it is free to download and use. By following this blog and YouTube account, you will be able to write a small programme, which your children can use to learn Maths. Remember, it is designed to be a supplement to education not to replace it. You and your child will be able to learn coding and play the Maths game by following these simple steps. Coding is easy with Scratch: Download and install Scratch. Use the blocks on the left. The first variables and code section. Making a new Sprite. Making the calculation part to your program. Making the Victor tune section to the program. The percentage calculation. Asking the question. Putting it all together. Download and install Scratch Coding is easy with Scratch you can download i