superSnake

A modification to the classic game "Snake" made in 1976. It adds more items to the game and more actions to the snake.

You are now following this Submission

%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.

Categories

Find more on Strategy & Logic 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.2

Updated comments

1.0.1

Updated descriptions.

1.0.0