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
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
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
Move the Snake
Eat the Apple
To eat the apple we will reply on three things
- Sprite changed from full apple to eaten apple
- Sound of Chomp
- Change of position
- increase the snake's tail length
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