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
Zitieren als
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. Abgerufen.
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- 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!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.0.0 | Update a small bug with the controls. |