Genetic Packman

A simple demonstration of Genetic Algorithm using all times favorite game.

You are now following this Submission

Editor's Note: This file was selected as MATLAB Central Pick of the Week

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.

Cite As

Hanan Kavitz (2026). Genetic Packman (https://www.mathworks.com/matlabcentral/fileexchange/39204-genetic-packman), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0