Playing games with Large language models: Randomness and strategy
Not on the map. Why?
Abstract (arXiv)
Playing games has a long history of describing intricate interactions in simplified forms. In this paper we explore if large language models (LLMs) can play games, investigating their capabilities for randomisation and strategic adaptation through both simultaneous and sequential game interactions. We focus on GPT-4o-Mini-2024-08-17 and test two games between LLMs: Rock Paper Scissors (RPS) and games of strategy (Prisoners Dilemma PD). LLMs are often described as stochastic parrots, and while they may indeed be parrots, our results suggest that they are not very stochastic in the sense that their outputs - when prompted to be random - are often very biased. Our research reveals that LLMs appear to develop loss aversion strategies in repeated games, with RPS converging to stalemate conditions while PD shows systematic shifts between cooperative and competitive outcomes based on prompt design. We detail programmatic tools for independent agent interactions and the Agentic AI challenges faced in implementation. We show that LLMs can indeed play games, just not very well. These results have implications for the use of LLMs in multi-agent LLM systems and showcase limitations in current approaches to model output for strategic decision-making.
Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Builds on 20 of its 38 references that are in the map. First posted on arXiv 4 Mar 2025.
Builds on
20 of 38 references.
References · 20
- 2017Attention Is All You Needcited by 59,932
- 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,500
- 2022Beyond the Imitation Game: Quantifying and extrapolating the capabilities of language modelscited by 1,970
- 2023AutoGen: Enabling Next-Gen LLM Applications via Multi-Agent Conversationcited by 1,906
- 2023A Survey on Evaluation of Large Language Modelscited by 1,227
- 2024Large Language Model based Multi-Agents: A Survey of Progress and Challengescited by 752
- 2023Specializing Smaller Language Models towards Multi-Step Reasoningcited by 249
- 2023Do LLMs exhibit human-like response biases? A case study in survey designcited by 176
- 2022GreaseLM: Graph REASoning Enhanced Language Models for Question Answeringcited by 170
- 2022Faithful Reasoning Using Large Language Modelscited by 130
- 2023Theory of Mind for Multi-Agent Collaboration via Large Language Modelscited by 129
- 2023Generative agent-based modeling with actions grounded in physical, social, or digital space using Concordiacited by 119
8 more
- 2024LLM as a Mastermind: A Survey of Strategic Reasoning with Large Language Modelscited by 97
- 2024Is Temperature the Creativity Parameter of Large Language Models?cited by 92
- 2024Serial Position Effects of Large Language Modelscited by 30
- 2023Cognitive Effects in Large Language Modelscited by 14
- 2024Do LLMs Play Dice? Exploring Probability Distribution Sampling in Large Language Models for Behavioral Simulationcited by 14
- 2024A Comparison of Large Language Model and Human Performance on Random Number Generation Taskscited by 7
- 2025Evaluating Binary Decision Biases in Large Language Models: Implications for Fair Agent-Based Financial Simulationscited by 5
- 2019The Rock--Paper--Scissors Gamecited by 1
Built on by
Citing papers per year: 2025: 4; 2026: 3.
7 papers.
- 2025Do LLMs trust AI regulation? Emerging behaviour of game-theoretic LLM agentscited by 11
- 2025Learning Game-Playing Agents with Generative Code Optimizationcited by 8
- 2026The Illusion of Stochasticity in LLMscited by 7
- 2025LLM-Guided Reinforcement Learning with Representative Agents for Traffic Modelingcited by 2
- 2025Do LLMs Know When to Flip a Coin? Strategic Randomization through Reasoning and Experiencecited by 1
- 2026Assessing mentalization in humans and large language modelscited by 0
- 2026Shared and structured inputs undermine collective random choice by reasoning AI agentscited by 0
- 2026Shared and structured inputs undermine collective random choice by reasoning AI agents7 Oct 2026
- 2026Assessing mentalization in humans and large language models26 Aug 2026
- 2026The Illusion of Stochasticity in LLMs8 Apr 2026
- 2025LLM-Guided Reinforcement Learning with Representative Agents for Traffic Modeling9 Nov 2025
- 2025Learning Game-Playing Agents with Generative Code Optimization27 Aug 2025
- 2025Do LLMs Know When to Flip a Coin? Strategic Randomization through Reasoning and Experience21 Jun 2025
- 2025Do LLMs trust AI regulation? Emerging behaviour of game-theoretic LLM agents11 Apr 2025
Similar, not cited
Close in wording, no citation either way
- 2025Understanding LLM Agent Behaviours via Game Theory: Strategy Recognition, Biases and Multi-Agent Dynamics
- 2024Large Language Models as Agents in Two-Player Games
- 2024Are Large Language Models Strategic Decision Makers? A Study of Performance and Bias in Two-Player Non-Zero-Sum Games
- 2025Collaboration and Conflict between Humans and Language Models through the Lens of Game Theory
- 2023Playing repeated games with Large Language Models
- 2025Will Systems of LLM Agents Cooperate: An Investigation into a Social Dilemma
- 2024A Survey on Large Language Model-Based Game Agents
- 2026Payoff scaling shapes cooperation in LLM agents across languages