[ Prev ] [ Index ] [ Next ]

Snake game in matlab

Created Montag 09 Mai 2016

I have some free time, let's have fun:
http://www.mathworks.com/matlabcentral/fileexchange/52647-an-implementation-of-a-snake-game-with-matlab

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.