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
Citar como
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. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
- Gaming > Video games >
- Gaming > Strategy & Logic >
- MATLAB > Mathematics > Graph and Network Algorithms > Shortest Path > Labyrinth problems >
Etiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.0.0 | Update a small bug with the controls. |