Research Article

Improving the Decision-Making Accuracy of LLM-Based Agents in Game Applications

Guge Sun*
Dulwich International High School Suzhou

* Corresponding author: [email protected]

Abstract

Large Language Models (LLMs), such as GPT, have recently been deployed as agents in interactive environments, including games. While these models exhibit strong natural language understanding capabilities, they often produce incorrect or inconsistent decisions in strategic games that require strict rule adherence and multi-step planning. This project investigates the decision-making behavior of an LLM-based agent in the game of Tic-Tac-Toe. A simulator was developed to enable gameplay between the LLM and a human player, and multiple prompt designs were evaluated. The experiments compare prompts with no contextual guidance, basic rule descriptions, example-based contexts, and explicit strategic instructions. The results demonstrate that prompt design plays a critical role in improving the reliability of LLM-based game agents and offer insights into how decision-making accuracy can be significantly enhanced without modifying the underlying model.

Keywords: Large Language Models (LLMs); Prompt Engineering; Game Agent Decision-Making
Published: March 2, 2026
DOI: 10.54254/2755-2721/2026.AS32016
Volume: ACE Vol.223
pp. 73-80
Download PDF

References

  1. Naveed, Humza, et al. "A comprehensive overview of large language models." ACM Transactions on Intelligent Systems and Technology 16.5 (2025): 1-72.
  2. Guo, Taicheng, et al. "Large language model based multi-agents: A survey of progress and challenges." arXiv preprint arXiv: 2402.01680 (2024).
  3. Hu, Sihao, et al. "A survey on large language model-based game agents." arXiv preprint arXiv: 2404.02039 (2024).
  4. Gurcan, Onder. "Llm-augmented agent-based modelling for social simulations: Challenges and opportunities." arXiv preprint arXiv: 2405.06700 (2024).
  5. Costarelli, Anthony, et al. "Gamebench: Evaluating strategic reasoning abilities of llm agents." arXiv preprint arXiv: 2406.06613 (2024).
  6. Dalffa, Mohaned Abu, Bassem S. Abu-Nasser, and Samy S. Abu-Naser. "Tic-Tac-Toe Learning Using Artificial Neural Networks." (2019).