Classic Snake Game in MATLAB GUI

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

View License

Unzip the '' 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 (2024). Classic Snake Game in MATLAB GUI (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes

will not give error on Linux.