This is snake! A computer game where the objective is to eat as much food at possible, without eating yourself or running into walls. There is functionality in there to save a video of your performance, or watch the computer play. Feel free to adjust settings as you feel necessary. With current settings, and playing on a Microsoft Surface Book, my high score is 36! Feel free to comment suggestions or make your own changes!
Carmelo Gonzales (2021). Snake (https://www.mathworks.com/matlabcentral/fileexchange/72935-snake), MATLAB Central File Exchange. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Create scripts with code, output, and formatted text in a single executable document.