A simple two button snake.
A Snake Game with animation, score and continuous play
Steps:
- Switch On.
- Snake animation plays.
- Game starts.
- Press buttons to move the snake left, right, up and down.
- Food appears as a dot on the display.
- Try eating the food by manoeuvring Snake to run over it.
- Snake grows as it eats food.
- As it grows it becomes hard to avoid snake biting itself.
- Game Over.
- Snake is flashed and then score is scrolled.
- Game restarts after replaying animation.
Controls:
- Left Button (A)
- If snake moving UP/DOWN moves snake to LEFT.
- If snake moving LEFT moves snake to DOWN.
- If snake moving RIGHT moves snake to UP.
- Right Button (B)
- If snake moving UP/DOWN moves snake to RIGHT.
- If snake moving LEFT moves snake to UP.
- If snake moving RIGHT moves snake to DOWN.
How it looks:
https://www.youtube.com/watch?v=unEs3NOvIKA
Binary to play with
/media/uploads/mazimkhan/microbit_snake_nrf51_microbit.hex
Diff: .hgignore
- Revision:
- 1:6cfdf4a39678
- Parent:
- 0:af1bb8b895c7
diff -r af1bb8b895c7 -r 6cfdf4a39678 .hgignore --- a/.hgignore Sun Apr 10 19:50:16 2016 +0100 +++ b/.hgignore Sun Apr 10 19:04:55 2016 +0000 @@ -16,7 +16,4 @@ \.launch$ Makefile$ \.ewp$ -\.eww$ -\.htm$ -Debug$ -.settings$ +\.eww$ \ No newline at end of file