Skip to content

liu33333/matlab-snake-game

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

matlab-snake-game

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

How to use:

  • Run file: mysnake.m
  • Use the arrow keys to maneuver.
  • Use the [Space] to increase the snake length.
  • Use the [Esc] to quit.

No fruits for the snake to eat will appear such that its length will increase. The length of the snake must be increased manually by pressing the [SPACE] key. The reason for this is due to the idea of making this as a platform for AI designing for a snake game problem.

About

A snake game with MATLAB

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • MATLAB 100.0%