Abstract
This paper presents a statistical approach for the decomposition of games in the General Game Playing framework. General game players can drastically decrease game search cost if they hold a decomposed version of the game. Previous works on decomposition rely on syntactical structures, which can be missing from the game description, or on the disjunctive normal form of the rules, which is very costly to compute. We offer an approach to decompose single or multi-player games which can handle the different classes of compound games described in Game Description Language (parallel games, serial games, multiple games). Our method is based on a statistical analysis of relations between actions and fluents. We tested our program on 597 games. Given a timeout of 1 h and few playouts (1k), our method successfully provides an expert-like decomposition for 521 of them. With a 1 min timeout and 5k playouts, it provides a decomposition for 434 of them.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
Notes
- 1.
In Asteroids the player must drive a small spaceship (in up to 50 steps) to an asteroid and stop on it. If the ship stops before reaching the destination, the game ends with the score 0.
- 2.
Chinook is composed of two games of Checkers disputed on the white cells and the black cells of the same board.
- 3.
At each turn a player chooses a Tictactoe grid from two to place one of his marks. The goal is to win in both grids.
- 4.
The goal of Snake is to move, for 50 steps, a snake that grows steadily without biting its tail.
- 5.
Factoring Turtle Brain is a series of LightsOn games where the player has to turn on 4 lights: each lamp goes out gradually while he lights up the others.
- 6.
Sukoshi is about creating a path by aligning ordered integers. In the multiple version only one grid counts for the score, the others are useless.
- 7.
In Nim each player takes in turn any number of matches in one of 4 stacks. Whoever no longer has a match to pick loses.
- 8.
Positive fluent
and negative fluent
are represented by the same node in the dependency graph.
- 9.
In Connect Four players drop colored tokens from the top into a seven-column, six-row vertically suspended grid. The goal is to align 4 tokens.
- 10.
Rainbow is a puzzle that consists in coloring a map such that no adjacent regions have the same color.
- 11.
Four game of LightsOn are played in parallel by a single player who chooses in which subgame he wishes to act on each turn. The player gets 100 points if he wins any of the 4 subgames.
- 12.
We excluded GDL-II descriptions using the sees predicate.
- 13.
These data are available upon request to the main author.
- 14.
Note that an expert-like decomposition may not equal a correct decomposition. For example, a human expert would like to decompose Nine Board Tictactoe. However such a decomposed game would be difficult to solve.
- 15.
The goal of Queens or Max-Knights is to place a given number of queens or knights on a chessboard so that no chessman threatens another.
- 16.
Point Grab is played in 30 steps. At each step, 2 players have the choice between different useless actions or grab a point a or a point b. If both player choose the same point, nobody wins.
- 17.
Smallest is a game played in a maximum of 25 steps. At each step, four player choose simultaneously a number. The player with the strictly smallest one wins 5 points.
- 18.
Roshambo consists of 10 rounds of rock/paper/scissors/well.
- 19.
Beat Mania is a 2 player game. The first player loose blocks from 3 different positions and the other must catch them. Each missed or caught block earns points to the corresponding player.
- 20.
We do not test Double Crisscross 2 which is not available in repositories.
References
Berlekamp, E., Conway, J., Guy, R.: Winning Ways for your Mathematical Plays, vol. 2. Academic, Cambridge (1982)
Blum, A., Furst, M.L.: Fast planning through planning graph analysis. Artif. Intell. 90(1–2), 281–300 (1997)
Cerexhe, T., Rajaratnam, D., Saffidine, A., Thielscher, M.: A systematic solution to the (de-)composition problem in general game playing. In: Proceedings of ECAI, pp. 1–6 (2014). http://cse.unsw.edu.au/~mit/Papers/ECAI14.pdf
Genesereth, M.R., Love, N., Pell, B.: General game playing: overview of the AAAI competition. AI Mag. 26(2), 62–72 (2005). http://aaaipress.org/ojs/index.php/aimagazine/article/download/1813/1711
Günther, M.: Decomposition of single player games. Master’s thesis, TU-Dresden (2007). http://www.inf.tu-dresden.de/content/institutes/ki/cl/study/assignments/download/beleg_guenther_subgame_detection.pdf
Günther, M., Schiffel, S., Thielscher, M.: Factoring general games. In: Proceedings of the IJCAI-09 Workshop on General Game Playing (GIGA 2009), pp. 27–33 (2009). http://www.general-game-playing.de/downloads/GIGA09_factoring_general_games.pdf
Hufschmitt, A., Vittaut, J.-N., Méhat, J.: A general approach of game description decomposition for general game playing. In: Cazenave, T., Winands, M.H.M., Edelkamp, S., Schiffel, S., Thielscher, M., Togelius, J. (eds.) CGW/GIGA -2016. CCIS, vol. 705, pp. 165–177. Springer, Cham (2017). https://doi.org/10.1007/978-3-319-57969-6_12. http://giga16.ru.is/giga16-paper3.pdf
Love, N., Hinrichs, T., Haley, D., Schkufza, E., Genesereth, M.: General game playing: game description language specification. Technical report LG-2006-01, Stanford University (2008)
Schkufza, E., Love, N., Genesereth, M.: Propositional automata and cell automata: representational frameworks for discrete dynamic systems. In: Wobcke, W., Zhang, M. (eds.) AI 2008. LNCS (LNAI), vol. 5360, pp. 56–66. Springer, Heidelberg (2008). https://doi.org/10.1007/978-3-540-89378-3_6
Vittaut, J.N.: LeJoueur: un programme de General Game Playing pour les jeux à information incomplète et/ou imparfaite. Ph.D. thesis, Université Paris 8 (2017)
Vittaut, J.N., Méhat, J.: Fast instantiation of GGP game descriptions using prolog with tabling. In: Proceedings of ECAI, pp. 1121–1122 (2014)
Zhao, D.: Decomposition of multi-player games. Master’s thesis, TU-Dresden (2009). http://www.inf.tu-dresden.de/content/institutes/ki/cl/study/assignments/download/dengji_zhao_master_thesis.pdf
Zhao, D., Schiffel, S., Thielscher, M.: Decomposition of multi-player games. In: Nicholson, A., Li, X. (eds.) AI 2009. LNCS (LNAI), vol. 5866, pp. 475–484. Springer, Heidelberg (2009). https://doi.org/10.1007/978-3-642-10439-8_48. http://cgi.cse.unsw.edu.au/~mit/Papers/AI09b.pdf
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2019 Springer Nature Switzerland AG
About this paper
Cite this paper
Hufschmitt, A., Vittaut, JN., Jouandeau, N. (2019). Statistical GGP Game Decomposition. In: Cazenave, T., Saffidine, A., Sturtevant, N. (eds) Computer Games. CGW 2018. Communications in Computer and Information Science, vol 1017. Springer, Cham. https://doi.org/10.1007/978-3-030-24337-1_4
Download citation
DOI: https://doi.org/10.1007/978-3-030-24337-1_4
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-24336-4
Online ISBN: 978-3-030-24337-1
eBook Packages: Computer ScienceComputer Science (R0)