Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dario-marvin/SnakeGame
Simple implementation of the famous Nokia snake game in VB .NET
https://github.com/dario-marvin/SnakeGame
dotnet game snake-game visual-basic
Last synced: 18 days ago
JSON representation
Simple implementation of the famous Nokia snake game in VB .NET
- Host: GitHub
- URL: https://github.com/dario-marvin/SnakeGame
- Owner: dario-marvin
- Created: 2018-08-22T07:14:06.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2018-12-16T16:55:16.000Z (almost 6 years ago)
- Last Synced: 2024-07-30T20:59:28.383Z (3 months ago)
- Topics: dotnet, game, snake-game, visual-basic
- Language: Visual Basic
- Size: 36.1 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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