Download presentation
Published byAlonzo Venables Modified over 9 years ago
1
How to make an educational Snakes and Ladders game in Scratch
2
Features: Player’s sprite moves through the circular fields depending on the value of the dice “thrown” The current circle “lights up” One “snake” drops the player a few positions back when the player hits a certain circle One “ladder” takes the player up a few positions when at a certain circle Educational questions at certain positions, otherwise, won’t let to continue Have to “throw” a certain number to hit the Finish circle
3
All the sprites at a glance
Notes: The Cat has the longest scripts All Number Circles have the same code, so could just duplicate the first one many times over The Snake is still called Ladder2, because it’s just Ladder1 duplicated and changed... Finish and Start have no other costumes or code
4
The list of variables Notice the option for the list in Scratch 1.4 but we are not using it in this example (although, you could create much shorter code with lists)
5
The number circles – costumes, so that it “lights up” when hit
6
The code for a number circle
Sprite 1 is the cat, when the cat touches this circle, it lights up
7
Costumes for the “dice”
Different costumes will come up depending on the value of the dice thrown
8
The code for the dice Dice value is a random number between 1 and 3, once the dice is throws, it broadcasts a signal to move that many steps to the cat
9
The Cat – only one costume and lots of code...
Many lines in this code are very similar to each other, for example, many if statements – you can right-click and duplicate them and then modify their values At position 6, the educational question is asked
10
continued
11
End of the long script
12
The Cat’s second script, handles snakes and ladders
13
The last 2 scripts for the Cat, handle the beginning of the program
14
Play again sprite
15
Yes sprite (response to Play again)
16
“No” sprite
17
The End Extension: Add more circles (copy and paste will really help)
Add more snakes and ladders Add more questions Add more players
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.