superSnake

Version 1.0.2 (955 KB) by jerry sc
A modification to the classic game "Snake" made in 1976. It adds more items to the game and more actions to the snake.
162 Downloads
Updated 11 Dec 2019

View License

%This project was made by Bill and Terry
The whole game is constructed using different classes.
1. snakeClass.m controls the movement of the snake.
2. mapClass.m is used to detect collisions.
3. itemClass.m defines the actions of each item and how they are spawned.
4. graphicsClass.m does graphic initialization and snake drawing.
5. snakeStateClass.m is a additional class which defines the logic to snake's duration effects.
6. gameClass.m uses all the above classes and manage them to form the game.

"superSnake.m" is the main entry of the game. Start the game using "superSnake.m".

To play the game, simply use 'W', 'A', 'S', 'D' to move the snake.
A "readMe/readMe.txt" includes the details on how to play the game.

Cite As

Bill and Terry (2019). superSnake (https://www.mathworks.com/matlabcentral/fileexchange/<...>), MATLAB Central File Exchange. Retrieved April 9, 2019.

MATLAB Release Compatibility
Created with R2019a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Strategy & Logic in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.2

Updated comments

1.0.1

Updated descriptions.

1.0.0