dario-marvin / SnakeGame

Simple implementation of the famous Nokia snake game in VB .NET

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SnakeGame

Simple implementation of the famous Nokia game Snake in VB .NET

Instructions

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!

Cheats

Since this is test mode, the following cheat buttons are available:

  • x: slow down the snake
  • y: speed up the snake
  • c: augment snake's length by one
  • v: diminish the snake's length by one
  • space: remove all snake's blocks and return to length 1
  • r: pause the game

Compiling and execution

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.

Possible TODO in the future

  • 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

About

Simple implementation of the famous Nokia snake game in VB .NET


Languages

Language:Visual Basic 100.0%