Snake (the classic Nokia game)
The Game:
Make the snake grow longer by directing it to the food.
Extra bonus points are given from hearts, eat them as fast as possible as amount of bonus points decreases with time.
Higher level gives more points for the food but will also make it tougher to steer a long snake as speed increaces.
Five different mazes as well as play w/o maze are possible.
Game Controls:
Steer snake using arrow keys. Pause game with 'p' or space.
Example:
snake % Start Main Snake Interface
Cite As
Per-Anders Ekstrom (2024). Snake (the classic Nokia game) (https://www.mathworks.com/matlabcentral/fileexchange/14098-snake-the-classic-nokia-game), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Gaming > Video games >
- Gaming > Strategy & Logic >
- MATLAB > Mathematics > Graph and Network Algorithms > Shortest Path > Labyrinth problems >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 | Update a small bug with the controls. |