Abstract: This paper presents the design and implementation of Finite State Machines (FSMs) for the classic Pac-Man game, emphasizing their role in artificial intelligence-driven game logic and ...