top of page
Search

Midterm: Snake game kind of

  • Writer: Steven Gonzalez
    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



 
 
 

Recent Posts

See All
Algorithms:Homework 13

how I found the algorithms that is unfair is by just searching in google companies using unfair algorithms. In this article it has five...

 
 
 
Assignment 11

for this I tried to go off what we did last class and delete a ball i tried using array.pop() and array.splice() but I couldn't get it to...

 
 
 

Comments


©2019 by Steven. Proudly created with Wix.com

bottom of page