Microsoft MakeCode

Snake.Coding.Game

A coding playground we created for students. They have to decide the snake’s next move by coding using the blocks under snake extension. The demo show a random-turn style snake, while some of my friends made very long implementation with arrays to finish the game in a full screen snake.

1 Like

What does the flashing LED represent? It flashes rapidly with On Start Programming but slowly with On Start Manual.

The flashing led representing the food (the snake will grow after eating it).

The difference of flashing interval comes from different game tick between the programming mode and manual mode, 0.2 second for programming and 0.5 second for manual (In which the player can press button A / B to turn the snake left / right ).