Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: microbit
Fork of microbit_snake by
History
Changed random max to 5 to allow value between 0-4 for x,y coordinates. Otherwise we are stuck in an endless loop trying find good snake food!
2016-04-13, by mazimkhan [Wed, 13 Apr 2016 15:03:44 +0000] rev 5
Changed random max to 5 to allow value between 0-4 for x,y coordinates. Otherwise we are stuck in an endless loop trying find good snake food!
Moved check for snake bit after moving tail up. It fixes issue of snake bit when it is 5 points long and revolving in one direction.
2016-04-12, by mazimkhan [Tue, 12 Apr 2016 12:08:38 +0000] rev 4
Moved check for snake bit after moving tail up. It fixes issue of snake bit when it is 5 points long and revolving in one direction.
Added animation at the start of the game.
2016-04-10, by mazimkhan [Sun, 10 Apr 2016 23:31:53 +0000] rev 3
Added animation at the start of the game.
Removed printfs
2016-04-10, by mazimkhan [Sun, 10 Apr 2016 19:20:49 +0000] rev 2
Removed printfs
Removed microbit-lite-test.lib dependency.
2016-04-10, by mazimkhan [Sun, 10 Apr 2016 19:04:55 +0000] rev 1
Removed microbit-lite-test.lib dependency.
A simple sanke game on microbit
2016-04-10, by mazimkhan [Sun, 10 Apr 2016 19:50:16 +0100] rev 0
A simple sanke game on microbit
