Welcome back everyone and Happy New Year
We had a great day in Coder Dojo on Saturday! We did a huge amount of work developing a maths game in the Explorers group.
- The player picks a level of difficulty and the computer chooses 2 random numbers to add (subtract or multiply- whichever you choose!) together and show the numbers to the player. For this we needed 2 SPRITES and 4 VARIABLES called SCORE, LEVEL, NUMBER1 and NUMBER2 as well as 2 BACKDROPS.
- The player then has to enter an answer to the equation and the computer tells them whether they are wrong or right.
- We repeated the ask/answer questions 5 or 10 times.
We didn’t get to finish our game but we will next before we start learning Paint.net
See can you figure it out for yourself:
We will have a second sprite who reacted positively to correct answers BROADCAST and negatively to wrong answers BROADCAST. You can use whatever sprites you like and change their look whatever way you like.After all the questions were asked we will have the 1st Sprite SAY – Game Over! and BROADCAST Game over so that the backdrop changed and music played. There are two ways to change the backdrop- see below! Can you improve our game??! Can you figure out how to subtract or multiply instead of add? Can you get the computer to add three numbers together or give the user 3 level options like: easy, medium or hard?
The notes for the Maths Game are here: cda-s6-week_1_17-mathsgame.pdf
See you all next week and don’t forget to Download Paint.net at WWW.GETPAINT.NET