1 / 17

How to make an educational Snakes and Ladders game in Scratch

How to make an educational Snakes and Ladders game in Scratch. 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

chibale
Download Presentation

How to make an educational Snakes and Ladders game in Scratch

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  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

More Related