Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Neto, Izaias S. de Lima, Vieira, Marco A. A. de Aguiar, Tavares, Anderson R.
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:https://arxiv.org/abs/2412.14372
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866910752251576320
author Neto, Izaias S. de Lima
Vieira, Marco A. A. de Aguiar
Tavares, Anderson R.
author_facet Neto, Izaias S. de Lima
Vieira, Marco A. A. de Aguiar
Tavares, Anderson R.
contents Ludii is a Java general game system with a considerable number of board games, with an API for developing new agents and a game description language to create new games. To improve versatility and ease development, we provide Python interfaces for agent programming. This allows the use of Python modules to implement general game playing agents. As a means of enabling Python for creating Ludii agents, the interfaces are implemented using different Java libraries: jpy and Py4J. The main goal of this work is to determine which version is faster. To do so, we conducted a performance analysis of two different GGP algorithms, Minimax adapted to GGP and MCTS. The analysis was performed across several combinatorial games with varying depth, branching factor, and ply time. For reproducibility, we provide tutorials and repositories. Our analysis includes predictive models using regression, which suggest that jpy is faster than Py4J, however slower than a native Java Ludii agent, as expected.
format Preprint
id arxiv_https___arxiv_org_abs_2412_14372
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Python Agent in Ludii
Neto, Izaias S. de Lima
Vieira, Marco A. A. de Aguiar
Tavares, Anderson R.
Artificial Intelligence
Ludii is a Java general game system with a considerable number of board games, with an API for developing new agents and a game description language to create new games. To improve versatility and ease development, we provide Python interfaces for agent programming. This allows the use of Python modules to implement general game playing agents. As a means of enabling Python for creating Ludii agents, the interfaces are implemented using different Java libraries: jpy and Py4J. The main goal of this work is to determine which version is faster. To do so, we conducted a performance analysis of two different GGP algorithms, Minimax adapted to GGP and MCTS. The analysis was performed across several combinatorial games with varying depth, branching factor, and ply time. For reproducibility, we provide tutorials and repositories. Our analysis includes predictive models using regression, which suggest that jpy is faster than Py4J, however slower than a native Java Ludii agent, as expected.
title Python Agent in Ludii
topic Artificial Intelligence
url https://arxiv.org/abs/2412.14372