Simple implementation of the famous Nokia game Snake in VB .NET
In a 30x30 blocks window you start as a 5 blocks long snake and must use the arrow keys to navigate in the window and eat the white blocks that will randomly appear in the window. Everytime you eat a white block, the snake's length length increases by one.
If you collide with a wall you will reappear on the opposite side, however you must avoid running into your own body, or you will lose all the body you have cut yourself from. Try to eat the highest number of white block without reducing yourself!
Since this is test mode, the following cheat buttons are available:
x
: slow down the snakey
: speed up the snakec
: augment snake's length by onev
: diminish the snake's length by onespace
: remove all snake's blocks and return to length 1r
: pause the game
The code was written to be compiled with Visual Studio, but if you wanna play the game without compiling the code, download the Snake.exe executable and double click on it.
- Change the position of the white block after a certain time uneaten
- Augment snake's speed at specific length (should the speed reduce if we lose the tail?)
- Design and add a proper start screen end exit button (since you basically never die)
- More maps, like untouchable walls and labyrinths