The purpose of this demo is to 'teach' pack-man to find an optimal path through as many green tiles as possible, using a given number of moves.
I'm using Genetic Algorithm to find the optimal path.
The broader goal can be of finding an optimal path by gaining points
from going through certain high yield tiles.
Hanan Kavitz (2021). Genetic Packman (https://www.mathworks.com/matlabcentral/fileexchange/39204-genetic-packman), MATLAB Central File Exchange. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!