Classic Snake Game in MATLAB GUI

Enjoy a simple and easy to play game where the snake needs to feed on its prey.

You are now following this Submission

Unzip the 'Snake.zip' and run the game.m file. The game controls are present on the GUI screen that comes up and are self explanatory, although small annotations have been added for easier grasp.

Hope you enjoy.
A better version with subtle scoring methods and riskier play will be uploaded in time.

Cite As

Akash Gupta (2026). Classic Snake Game in MATLAB GUI (https://www.mathworks.com/matlabcentral/fileexchange/29103-classic-snake-game-in-matlab-gui), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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

will not give error on Linux.

1.0.0.0