Updated 28 Mar 2003
Everybody is familiar with this game :
navigate the snake to capture a prey . Afer such a meal another prey appears in random location , and your snake becomes longer . If the snake collides with a wall or with his tail , the game is over .
Unzip the file , save the two files "snake.m" and "engine.m" on the MATLAB path , type "snake" in the com.prompt and have a fun !
Valery Garmider (2023). snake (https://www.mathworks.com/matlabcentral/fileexchange/3173-snake), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
- Gaming > Video games >
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.