An implementation of a snake game with MATLAB

An implementation of a snake game with MATLAB, useful for AI implementation of a snake game.

https://github.com/auralius/matlab-snake-game

You are now following this Submission

A snake game with MATLAB

Cite As

Auralius Manurung (2026). An implementation of a snake game with MATLAB (https://github.com/auralius/matlab-snake-game), GitHub. 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

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes Action
1.2.0.0

Added loop so that the snake will always move.
Moved to Gihub
Bug in self-collision detection

1.1.0.0

Change the title.
Toroidal grid, when the snake goes to the edge of the map, it comes out from the other edge of the map.
Edit the title of the project.

1.0.0.0

Changed the title.
Minor addition on the comment sections.

Updated the description.
Collision detection is added.

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.