[Paper Review] Ludii -- The Ludemic General Game System
Ludii is a novel general game system that models games using 'ludemes'—high-level, human-readable game concepts—enabling efficient, scalable, and intuitive game description. It outperforms GDL in reasoning efficiency across all tested games, including complex ones like Chess and Go, and matches or exceeds RBG in performance while offering superior clarity, extensibility, and faster compilation.
While current General Game Playing (GGP) systems facilitate useful research in Artificial Intelligence (AI) for game-playing, they are often somewhat specialised and computationally inefficient. In this paper, we describe the "ludemic" general game system Ludii, which has the potential to provide an efficient tool for AI researchers as well as game designers, historians, educators and practitioners in related fields. Ludii defines games as structures of ludemes -- high-level, easily understandable game concepts -- which allows for concise and human-understandable game descriptions. We formally describe Ludii and outline its main benefits: generality, extensibility, understandability and efficiency. Experimentally, Ludii outperforms one of the most efficient Game Description Language (GDL) reasoners, based on a propositional network, in all games available in the Tiltyard GGP repository. Moreover, Ludii is also competitive in terms of performance with the more recently proposed Regular Boardgames (RBG) system, and has various advantages in qualitative aspects such as generality.
Motivation & Objective
- To address the inefficiency and poor human readability of existing General Game Playing (GGP) systems, particularly Game Description Language (GDL).
- To develop a general game system that supports a broad range of traditional strategy games, including those not covered by GDL or RBG.
- To enable efficient AI reasoning while maintaining clarity and extensibility for researchers, educators, and game designers.
- To support the Digital Ludeme Project’s goal of modeling the world’s traditional strategy games in a unified, analyzable digital database.
- To provide a scalable, extensible, and efficient alternative to GDL and RBG for AI research and game analysis.
Proposed method
- Define games using 'ludemes'—abstract, high-level game concepts such as 'piece', 'capture', 'win condition', and 'turn order'—to enable concise and human-readable game descriptions.
- Implement a formal, executable game description language based on ludemes, allowing for efficient state transition evaluation and reasoning.
- Compile ludeme-based descriptions into an efficient internal representation for fast game state evaluation and playouts.
- Use a single-core, 4GB RAM execution environment to benchmark performance against GDL and RBG across a range of games.
- Leverage a custom interpreter and compiler stack to support both human readability and high-performance AI reasoning.
- Ensure backward compatibility with existing GGP systems by supporting all games in the Tiltyard GGP repository and extending to historically significant games not previously modelable.
Experimental results
Research questions
- RQ1Can a ludemic game system based on high-level game concepts (ludemes) achieve superior reasoning efficiency compared to GDL?
- RQ2How does Ludii's performance compare to RBG, particularly in terms of playouts per second and compilation overhead?
- RQ3To what extent can Ludii model historically significant or complex games not supported by existing GGP systems?
- RQ4Does the use of ludemes improve the clarity, extensibility, and maintainability of game descriptions compared to first-order logic in GDL?
- RQ5Can Ludii support the full scope of games required for large-scale historical and cultural game analysis, such as the Digital Ludeme Project?
Key findings
- Ludii outperforms GDL in reasoning efficiency for all tested games, with speedups ranging from 2× to over 200×, especially in complex games like Chess and Gomoku.
- For standard 3×3 Tic-Tac-Toe, Ludii is over six times faster than GDL; for 15×15 Gomoku, it is nearly forty times faster.
- In games like Hex and Gomoku, Ludii outperforms even the RBG compiler, achieving 175,525 playouts per second in Yavalath and 43,129 in Tant Fant.
- Ludii compiles all over 100 included games in under 10 seconds, significantly faster than RBG’s compilation times, which can exceed 10 seconds per game.
- Ludii supports games not available in GDL or RBG, such as Alquerque (5×5), Oware, and Yavalath, demonstrating its generality and extensibility.
- The system’s performance advantage is attributed to its efficient internal representation and the use of ludemes, which reduce redundant computation and improve code clarity.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.