User:Locust580/General Game Playing


We completely restructured the article's history section, revising it to include both the early, pre-1990s efforts at general game playing algorithms and more recent work with general game description languages and LLMs. It had previously included only scarce information on development in the 2000s and 2010s. We also completed minor edits and revisions to keep the article up to date, particularly on the section on the General Game Playing Competition.


General game playing (GGP) is the design of artificial intelligence programs to be able to play more than one game successfully. For many games like chess, computers are programmed to play these games using a specially designed algorithm, which cannot be transferred to another context. For instance, a chess-playing computer program cannot play checkers. General game playing is considered as a necessary milestone on the way to artificial general intelligence.

General game playing algorithms are typically restrained to games with finite possible moves that take place synchronously between players. These games are described in terms of a start state, possible intermediary states, and a goal.[1]

The first commercial usage of general game playing technology was Zillions of Games in 1998. General game playing was also proposed for trading agents in supply chain management there under price negotiation in online auctions from 2003 onwards.

GGP Implementations

Stanford Project

General Game Playing is a project of the Stanford Logic Group of Stanford University, California, which aims to create a platform for general game playing. It is the most well-known effort at standardizing GGP AI, and generally seen as the standard for GGP systems. The games are defined by sets of rules represented in the Game Description Language. In order to play the games, players interact with a game hosting server that monitors moves for legality and keeps players informed of state changes.

From 2005 to 2016, there were annual General Game Playing competitions at the AAAI Conference.[2] The competition judged competitor AI's abilities to play a variety of different games, by recording their performance on each individual game. In the first stage of the competition, entrants were judged on their ability to perform legal moves, gain the upper hand, and complete games faster. In the following runoff round, the AIs faced off against each other in increasingly complex games. The AI that won the most games at this stage won the competition, and until 2013 its creator won a $10,000 prize.[3] The following programs were victorious:[4]

Year Name Developer Institution Ref
2005 Cluneplayer Jim Clune UCLA
2006 Fluxplayer Stephan Schiffel and Michael Thielscher Dresden University of Technology
2007 Cadiaplayer Yngvi Björnsson and Hilmar Finnsson Reykjavik University
2008 Cadiaplayer Yngvi Björnsson, Hilmar Finnsson and Gylfi Þór Guðmundsson Reykjavik University
2009 Ary Jean Méhat Paris 8 University
2010 Ary Jean Méhat Paris 8 University
2011 TurboTurtle Sam Schreiber
2012 Cadiaplayer Hilmar Finnsson and Yngvi Björnsson Reykjavik University
2013 TurboTurtle Sam Schreiber
2014 Sancho Steve Draper and Andrew Rose
2015 Galvanise Richard Emslie
2016 WoodStock Eric Piette Artois University

Other approaches

Other general game playing software that use their own languages for defining game rules include:

System Year Description
FRAMASI 2009 Developed for general game playing and economic experiments by Rustam Tagiew.
AiAi 2015-2017 Developed by Stephen Tavener (previous Zillions developer).
PolyGamo Player 2017 Released by David M. Bennett in September 2017 based on the Unity game engine.
Regular Boardgames 2019 Developed by Jakub Kowalski, Marek Szykuła, and their team at University of Wrocław.
Ludii 2020 Released by Cameron Browne and his team at Maastricht University as part of the ERC-funded Digital Ludeme Project.

Algorithms

Since GGP AI must be designed to play multiple games, its design cannot rely on algorithms created specifically for certain games. Instead, the AI must be designed using algorithms whose methods can be applied to a wide range of games. Recent GGP systems such as Regular Boardgames (RBG) and Ludii have explored alternative rule representations to optimize reasoning efficiency and support a broader variety of games. The AI must also be an ongoing process, that can adapt to its current state rather than the output of previous states. For this reason, open loop techniques are often most effective. The Ludii software was used to find how the ancient Roman board game Ludus Coriovalli may have been played by referencing many similar games and using those to play possible rulesets. It was determined that it was most likely a two-player blocking game. Previously, the oldest known examples of such dated to medieval times.

A popular method for developing GGP AI is the Monte Carlo tree search (MCTS) algorithm. Often used together with the UCT method (Upper Confidence Bound applied to Trees), variations of MCTS have been proposed to better play certain games, as well as to make it compatible with video game playing. Another variation of tree-search algorithms used is the Directed Breadth-first Search(DBS), in which a child node to the current state is created for each available action, and visits each child ordered by highest average reward, until either the game ends or runs out of time. In each tree-search method, the AI simulates potential actions and ranks each based on the average highest reward of each path, in terms of points earned.

Assumptions

In order to interact with games, algorithms must operate under the assumption that games all share common characteristics. In the book Half-Real: Video Games Between Real Worlds and Fictional Worlds, Jesper Juul gives the following definition of games: Games are based on rules, they have variable outcomes, different outcomes give different values, player effort influences outcomes, the player is attached to the outcomes, and the game has negotiable consequences. Using these assumptions, game playing AI can be created by quantifying the player input, the game outcomes, and how the various rules apply, and using algorithms to compute the most favorable path.

History

Origins (1958–1990s)

Researchers at the RAND Corporation first described a General Problem Solver, which they called "General Problem Solving Program I" (GPS), in 1958. The goal of their project was to solve problems, which they defined broadly as "whenever a problem solver desires some outcome or state of affairs that he does not immediately know how to attain." The RAND group emphasized the importance of heuristic methods in problem solving, and described a theoretically ideal problem-solving process as a cycle of discovery, information, and conclusion through educated guesswork.[5]

RAND's GPS algorithm grew out of the more specialized "Logic Theorist" algorithm, which produced proofs in propositional logic. Like the Logic Theorist, GPS relied on the creation of intermediary goals through means–ends analysis. In particular, the algorithm was capable of solving Symbolic Logic problems by using heuristic methods which the researchers derived from the problem solving strategies of actual human test subjects. Central to the model's mechanisms for simplification was the method of abstraction, in which the logical elements were replaced by more basic elements which functioned similarly in order to simplify problems.[5] Although the algorithm is theoretically capable of solving any sufficiently formalized problem in the form of well-formed formulae and directed graphs, in practice the amount of computation required for the algorithm to adequately explore the graph is infeasible to implement due to the combinatorial explosion.

In 1968, Jacques Pitrat founded the field of General Game Playing in a paper in the proceedings of the International Federation for Information Processing.[6] Pitrat later worked on the more specialized problem of chess-playing algorithms, but his earliest contribution to game playing algorithm development was to separate the subclass of general game players from the broader space of general problem solvers. Pitrat's game playing algorithm was theoretically capable of playing chess-like games, which could be described using a simple set of rule variations.

Formalization and competition (1992–2016)

In 1992, Barney Pell defined the concept of Meta-Game Playing and developed the "MetaGame" system. This was the first program to automatically generate chess-like game rules, and one of the earliest programs to use automated game generation. Pell then developed the system Metagamer.[7] This system was able to play a number of chess-like games without any human interaction once the games were generated.[8]

In 1998, the commercial system Zillions of Games was developed by Jeff Mallett and Mark Lefler. The system used a LISP-like language to define the game rules. Zillions of Games derived the evaluation function automatically from the game rules based on piece mobility, board structure and game goals. It also employed usual algorithms as found in computer chess systems: alpha–beta pruning with move ordering, transposition tables, etc.[9] The package was extended in 2007 by the addition of the Axiom plug-in, an alternate metagame engine that incorporates a complete Forth-based programming language.

In 1998, z-Tree was developed by Urs Fischbacher.[10] z-Tree is the first and the most cited software tool for experimental economics. z-Tree allows the definition of game rules in z-Tree-language for game-theoretic experiments with human subjects. It also allows definition of computer players, which participate in a play with human subjects.[11]

In 2005, the Stanford Project General Game Playing was established.[12] This included the General Game Playing Competition, which was launched at the associated AAAI conference. The competition ran annually and further establish GGP as a research field. It was suspended after 2016, by which point it was considered to have largely served its original purpose of stimulating increased research in the area.[1] The Stanford project also produced Game Description Language (GDL), which allowed for the production and description of game variations and was used extensively in the General Game Playing Competition.[2]

In 2012, the development of PyVGDL (Python Video Game Description Language) started, and has now migrated to PyVGDL 2.0.[13][14] PyVGDL is a library made for the programming language Python that functions as a game engine, enabling the integration of various AI applications in tandem with simple game rules to create complex games. The library is frequently used in artificial intelligence research centered around General Game Playing problems due to its dynamic capabilities.[15]

Deep reinforcement learning

In 2018, Google DeepMind released a paper describing their new AlphaZero algorithm.[16] The algorithm built on their earlier game-specific work with AlphaGo, and used a Monte Carlo tree search algorithm. AlphaZero met and even surpassed the performance of specialized game playing algorithms, and reviewers characterized it as a notable step toward general game-playing systems.[17][18]

In 2020, the DeepMind group that had produced AlphaZero published their work on the MuZero algorithm.[19] While AlphaZero required knowledge of the rules of games before playing, MuZero was able to match its performance without being given any prior information on the underlying structure of the game it was playing. The authors of the original MuZero paper noted that the lack of a need for pre-set rules potentially made the algorithm more applicable to use in real-world situations, in which there are no known governing principles or underlying rules.[19]

New description languages (2019-2020)

Later research efforts produced new game-description languages which addressed the limitations of GDL. In 2019, researchers at the University of Wrocław created Regular Boardgames (RBG), a computer language based on the theory of regular languages. RBG encodes board game rules as regular expressions, and was designed for expressiveness, naturalness, and efficiency. Although built for usage in board games specifically, it is universally capable of describing any finite deterministic turn-based game with perfect information.[20] The Wrocław group's paper reported that it was the first GGP language able to efficiently encode and play games with complex rules and large numbers of legal moves in any given turn, such as Arimaa.[20] In 2020, Éric Piette, Cameron Browne and colleagues introduced Ludii, a general game system built on "ludemes" — units of game-related information — as part of the Digital Ludeme Project.[21] Ludii was designed to model a wide range of games, including ones which are no longer actively played, and to study their structure and history. Ludii matched the performance of previous descriptive schemes such as RBG and, because of its high level structure, produced game descriptions that were generally more human-readable compared to other systems.[21]

Large Language Models (2020s)

In the early 2020s, researchers started evaluating large language models (LLMs) as general game players, testing their ability to reason strategically and make choices in games they were not specifically trained on. In 2024, Oguzhan Topsakal and colleagues introduced an open-source benchmark which could be used to compare the performance of LLMs in grid-based games such as Tic-Tac-Toe, Connect Four, and Gomoku. This benchmark made use of several different methods of describing game states to the models, comparing performance across methodologies.[22] In 2025, a team from the University of California, San Diego, Mohamed bin Zayed University of Artificial Intelligence, and the University of California, Berkeley introduced lmgame-Bench, which evaluated models' performance across a wide range of video game types.[23] This work emphasized that directly testing LLMs on games is difficult, identifying problems such as brittle visual perception, sensitivity to prompt wording, and the presence of preexisting gameplay strategy in training data.

  1. ^ a b Genesereth, Michael; Björnsson, Yngvi (2013-06). "The International General Game Playing Competition". AI Magazine. 34 (2): 107–111. doi:10.1609/aimag.v34i2.2475. ISSN 0738-4602. {{cite journal}}: Check date values in: |date= (help)
  2. ^ a b http://ggp.stanford.edu/overview/ggp.pdf
  3. ^ Barney Pell's research on computer game playing Archived 2007-08-12 at the Wayback Machine.
  4. ^ "General Game Playing". www.general-game-playing.de. Archived from the original on 2008-12-26. Retrieved 2008-08-21.
  5. ^ a b Genesereth, Michael (2026-04-01). "General Game Playing". Communications of the ACM. 69 (4): 72–79. doi:10.1145/3747852. ISSN 0001-0782.
  6. ^ "Sage Journals: Discover world-class research". Sage Journals. doi:10.3233/ICG-190142. Retrieved 2026-05-29.
  7. ^ Barney Pell's research on computer game playing Archived 2007-08-12 at the Wayback Machine.
  8. ^ "Metagame and General Game Playing". Metagame and General Game Playing. Archived from the original on 3 March 2001. Retrieved 27 March 2016.
  9. ^ Available: Universal Game Engine Archived 2012-11-03 at the Wayback Machine email to comp.ai.games by Jeff Mallett, 10-Dec-1998.
  10. ^ "UZH - z-Tree - Zurich Toolbox for Readymade Economic Experiments". www.ztree.uzh.ch. Archived from the original on 21 February 2016. Retrieved 17 February 2020.
  11. ^ Beckenkamp, Martin; Hennig-Schmidt, Heike; Maier-Rigaud, Frank P. (1 March 2007). "Cooperation in Symmetric and Asymmetric Prisoner's Dilemma Games". Social Science Research Network. SSRN 968942.
  12. ^ Genesereth, Michael; Love, Nathaniel; Pell, Barney (15 June 2005). "General Game Playing: Overview of the AAAI Competition". AI Magazine. 26 (2): 62. doi:10.1609/aimag.v26i2.1813. ISSN 2371-9621.
  13. ^ Schaul, Tom (7 February 2020). "schaul/py-vgdl". GitHub. Archived from the original on 11 June 2018. Retrieved 9 February 2020.
  14. ^ Vereecken, Ruben (2026-05-04), rubenvereecken/py-vgdl, retrieved 2026-05-29
  15. ^ Schaul, Tom (2013-08-17). "A video game description language for model-based or interactive learning". 2013 IEEE Conference on Computational Inteligence in Games (CIG): 1–8. doi:10.1109/CIG.2013.6633610.
  16. ^ "Science". AAAS. doi:10.1126/science.aar6404. Retrieved 2026-05-29.
  17. ^ "Science". AAAS. doi:10.1126/science.aav1175. Retrieved 2026-05-29.
  18. ^ "Science". AAAS. doi:10.1126/science.aar6404. Retrieved 2026-05-29.
  19. ^ a b Schrittwieser, Julian; Antonoglou, Ioannis; Hubert, Thomas; Simonyan, Karen; Sifre, Laurent; Schmitt, Simon; Guez, Arthur; Lockhart, Edward; Hassabis, Demis; Graepel, Thore; Lillicrap, Timothy; Silver, David (2020-12-24). "Mastering Atari, Go, chess and shogi by planning with a learned model". Nature. 588 (7839): 604–609. doi:10.1038/s41586-020-03051-4. ISSN 0028-0836.
  20. ^ a b Kowalski, Jakub; Mika, Maksymilian; Sutowicz, Jakub; Szykuła, Marek (2019-07-17). "Regular Boardgames". Proceedings of the AAAI Conference on Artificial Intelligence. 33 (01): 1699–1706. doi:10.1609/aaai.v33i01.33011699. ISSN 2374-3468.
  21. ^ a b Piette, Éric; Soemers, Dennis J. N. J.; Stephenson, Matthew; Sironi, Chiara F.; Winands, Mark H. M.; Browne, Cameron (2020-02-21), Ludii -- The Ludemic General Game System, arXiv, doi:10.48550/arXiv.1905.05013, arXiv:1905.05013, retrieved 2026-05-29
  22. ^ Topsakal, Oguzhan; Edell, Colby Jacob; Harper, Jackson Bailey (2024-07-11), Evaluating Large Language Models with Grid-Based Game Competitions: An Extensible LLM Benchmark and Leaderboard, arXiv, doi:10.48550/arXiv.2407.07796, arXiv:2407.07796, retrieved 2026-05-29
  23. ^ Hu, Lanxiang; Huo, Mingjia; Zhang, Yuxuan; Yu, Haoyang; Xing, Eric P.; Stoica, Ion; Rosing, Tajana; Jin, Haojian; Zhang, Hao (2025-06-03), lmgame-Bench: How Good are LLMs at Playing Games?, arXiv, doi:10.48550/arXiv.2505.15146, arXiv:2505.15146, retrieved 2026-05-29

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.