Midterm: Snake game kind of
- Steven Gonzalez
- Oct 15, 2019
- 1 min read
Updated: Oct 16, 2019
For this project I tried to make a snake game but couldn't figure out how to add more body to the snake so the way it works is as you collect food at score 5 the difficulty increases and at 10. Some problems are when the food is in the corner it doesn't collect it and reset the position of the food and sometimes when you collect the food it makes the game restart. Also I couldn't really figure out the edges because there's a block in game returns true if the sprite touches the edges I tried using that but as soon as you go into the last rows it ended it So i made it that it counts how many times your in the edges and lets you be there for like 2-3 seconds . The way you play is there are 4 buttons first one left, second right, third down,four up. And music is playing and changes when you lose.
https://makecode.microbit.org/_5Pb2Ct0Hz7Jq
The final box for it is

Comments