AI-Driven Game Mechanics: Implementing Finite State Machines in Pac-Man

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 dynamic system modeling. FSMs are developed for key entities, including Pac-Man, ghosts, and the game controller, capturing their states, transitions, and actions to create an engaging and structured gameplay experience. The Pac-Man FSM incorporates power-ups and dynamic behaviors, while the ghost FSM models strategic interactions, such as chasing and evasion based on Pac-Man’s state. The game controller FSM ensures seamless orchestration of game flow, user input handling, and event management for an enhanced player experience. This work highlights FSMs’ effectiveness in programming game logic and simulating human-like decision-making, showcas- ing their potential for broader applications in AI and intelligent systems. By exploring FSMs in the context of Pac-Man’s game- play dynamics, this paper contributes to advancing AI methodologies for game design and fostering a deeper understanding of interactive system behaviors.

Authors

Institutions

Publication Details

Published
2025-03-06
DOI
https://doi.org/10.1109/iatmsi64286.2025.10985319
Primary Topic
Artificial Intelligence in Games
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

AI-Driven Game Mechanics: Implementing Finite State Machines in Pac-Man

Gayathri Ramasamy, Adapala Rishi Manikanta, Baba Ameer Shaik, Yaswanth Kancharla et al.
Artificial Intelligence in Games
article

AI-Driven Game Mechanics: Implementing Finite State Machines in Pac-Man

Gayathri Ramasamy, Adapala Rishi Manikanta, Baba Ameer Shaik, Yaswanth Kancharla, Revanthsai Gurram
article en

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 dynamic system modeling. FSMs are developed for key entities, including Pac-Man, ghosts, and the game controller, capturing their states, transitions, and actions to create an engaging and structured gameplay experience. The Pac-Man FSM incorporates power-ups and dynamic behaviors, while the ghost FSM models strategic interactions, such as chasing and evasion based on Pac-Man’s state. The game controller FSM ensures seamless orchestration of game flow, user input handling, and event management for an enhanced player experience. This work highlights FSMs’ effectiveness in programming game logic and simulating human-like decision-making, showcas- ing their potential for broader applications in AI and intelligent systems. By exploring FSMs in the context of Pac-Man’s game- play dynamics, this paper contributes to advancing AI methodologies for game design and fostering a deeper understanding of interactive system behaviors.

Amrita Vishwa Vidyapeetham (IN)
Openalex Percentile: Top 96%
Artificial Intelligence in Games
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.