An implementation of a Finite State Machine (FSM) AI technique applied to the classic Pac-Man game. The goal is to autonomously control Ms. Pac-Man — deciding each movement (up, down, left, right) through the FSM logic to maximize the game score.
How it works:
MyPacMan.java