Introduction: The Snake

There are 100 of snake games but either they are not fun or too complex to make. Here i have created a very simple, yet cool looking and addictive sname game

Supplies

Scratch Account

Laptop

Internet

Step 1: Create the Sprites

Difficulty - Easy

Time - 3 min


Except picture of the snake all sprites are created or used from scratch sprites library.


we will start wrtinig the code for all the above mentioned sprites. First we need to create the front page with

snake picture, title and start button

Step 2: Start Page

This code will ensure that when game is started it will blink the start button and wait for start button to be clicked

Step 3: Move the Snake

Step 4: Eat the Apple

To eat the apple we will reply on three things

  1. Sprite changed from full apple to eaten apple
  2. Sound of Chomp
  3. Change of position
  4. increase the snake's tail length

Step 5: Game Over and Restart

Game restart code is very similar to game start code.


Here is my full scratch project to have a look and to remix

https://scratch.mit.edu/projects/810521421