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 (2022). snake (https://www.mathworks.com/matlabcentral/fileexchange/3173-snake), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!