is an option that specifies names for the actions taken by players in game theory functions.
GameActionLabels
is an option that specifies names for the actions taken by players in game theory functions.
Details
- GameActionLabels can be used to provide a verbal description for the actions taken by players in a game.
- GameActionLabels can be specified using a list of strings corresponding to the actions taken by the players.
Examples
Basic Examples (1)
Specify the names of the actions of each player:
game = MatrixGame[{{2, -1}, {-1, -2}}, GameActionLabels -> {{"Attack", "Defend"}, {"Attack", "Flee"}}]These can be accessed through "GameActionLabels":
game["GameActionLabels"]This changes the behavior of the "Dataset" property:
game["Dataset"]Related Guides
History
Text
Wolfram Research (2025), GameActionLabels, Wolfram Language function, https://reference.wolfram.com/language/ref/GameActionLabels.html.
CMS
Wolfram Language. 2025. "GameActionLabels." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/GameActionLabels.html.
APA
Wolfram Language. (2025). GameActionLabels. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/GameActionLabels.html
BibTeX
@misc{reference.wolfram_2026_gameactionlabels, author="Wolfram Research", title="{GameActionLabels}", year="2025", howpublished="\url{https://reference.wolfram.com/language/ref/GameActionLabels.html}", note=[Accessed: 13-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_gameactionlabels, organization={Wolfram Research}, title={GameActionLabels}, year={2025}, url={https://reference.wolfram.com/language/ref/GameActionLabels.html}, note=[Accessed: 13-June-2026]}