snake

Play whenever you're bored.

You are now following this Submission

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 !

Cite As

Valery Garmider (2026). snake (https://www.mathworks.com/matlabcentral/fileexchange/3173-snake), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Video games in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0