Simple State Machine Example that uses Scratch
Channel: Surfing Scratcher
Date: 2019-12-01

Did you know that a simple state machine can reduce the bugs in your code? That’s because it creates some structure to organise your code blocks. We’ll use Scratch to create a simple state machine example. Educators, get news sent straight to your inbox here: http://bit.ly/SurfSubscribe

--------------------------------------------------------------------------------------------------------------------------------
🔗🔗🔗 LINKS  🔗🔗🔗

➡️Traffic Light Project: https://scratch.mit.edu/projects/349513674/
➡️Whack-a-Rule Project: https://scratch.mit.edu/projects/285859202/

--------------------------------------------------------------------------------------------------------------------------------

🙏🙏🙏 SUPPORT 🙏🙏🙏

➡️PATREON: https://www.patreon.com/surfingscratcher
➡️MAILING LIST: http://bit.ly/SurfSubscribe

Surfing Scratcher receives a percentage of the purchase price when you make a purchase through some of these links.
--------------------------------------------------------------------------------------------------------------------------------

🛒🛒🛒SHOP 🛒🛒🛒
Educators and teachers, you can find unplugged lessons, resources and activities to purchase for this tutorial series on my website here:

➡️Educational Resources: https://www.surfingscratcher.com/shop/
➡️Browse my Teachers Pay Teachers Store: https://bit.ly/2Tq45lH

--------------------------------------------------------------------------------------------------------------------------------

👻👻👻 SOCIAL MEDIA 👻👻👻

➡️Scratch: https://scratch.mit.edu/users/surfingscratcher/
➡️Website: https://surfingscratcher.com
➡️Like my Facebook Page: https://bit.ly/2HnR1Gg
➡️Subscribe to my YouTube Channel: https://bit.ly/2TDtqI3
➡️Follow me on Instagram: https://bit.ly/2NWlxZe
➡️Follow me on Pinterest: https://bit.ly/2CdKIl5

--------------------------------------------------------------------------------------------------------------------------------

📝📝📝 VIDEO DESCRIPTION 📝📝📝

In this video, we’ll explore a high-level understanding of what a state machine is. A state machine defines conditions that certain somethings can be in. For instance, we can have a character who has a walking state and a jump state. We can define these states and play animations on key presses. 

I’ll define what states are using the familiar concept of traffic lights then transfer that understanding across to games and Scratch. Lastly, we’ll go through what’s needed to create the foundations of a simple state machine in Scratch that utilises the state design pattern. 

--------------------------------------------------------------------------------------------------------------------------------

❓🤔❓ WHAT IS SURFING SCRATCHER? ❓🤔❓

Surfing Scratcher wants to show learners, students, educators and teachers how to learn mathematics through coding games online with Scratch 3 programming projects. Whether you are a Scratch beginner, or you're an educator wondering how to use Scratch in your classroom or looking for lessons & resources for your classroom, Surfing Scratcher is here to help you on your journey. 

--------------------------------------------------------------------------------------------------------------------------------

⏯ ⏯⏯PLAYLISTS  ⏯ ⏯⏯
https://bit.ly/2J1q5i3

--------------------------------------------------------------------------------------------------------------------------------

#scratch #scratchtutorials #howtocode