Skip to main content

Statistical GGP Game Decomposition

  • Conference paper
  • First Online:
Computer Games (CGW 2018)

Part of the book series: Communications in Computer and Information Science ((CCIS,volume 1017))

Included in the following conference series:

  • 485 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

Notes

  1. 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. 2.

    Chinook is composed of two games of Checkers disputed on the white cells and the black cells of the same board.

  3. 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. 4.

    The goal of Snake is to move, for 50 steps, a snake that grows steadily without biting its tail.

  5. 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. 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. 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. 8.

    Positive fluent and negative fluent are represented by the same node in the dependency graph.

  9. 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. 10.

    Rainbow is a puzzle that consists in coloring a map such that no adjacent regions have the same color.

  11. 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. 12.

    We excluded GDL-II descriptions using the sees predicate.

  13. 13.

    These data are available upon request to the main author.

  14. 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. 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. 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. 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. 18.

    Roshambo consists of 10 rounds of rock/paper/scissors/well.

  19. 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. 20.

    We do not test Double Crisscross 2 which is not available in repositories.

References

  1. Berlekamp, E., Conway, J., Guy, R.: Winning Ways for your Mathematical Plays, vol. 2. Academic, Cambridge (1982)

    MATH  Google Scholar 

  2. Blum, A., Furst, M.L.: Fast planning through planning graph analysis. Artif. Intell. 90(1–2), 281–300 (1997)

    Article  Google Scholar 

  3. 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

  4. 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

    Google Scholar 

  5. 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

  6. 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

  7. 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

    Chapter  Google Scholar 

  8. 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)

    Google Scholar 

  9. 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

    Chapter  Google Scholar 

  10. 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)

    Google Scholar 

  11. Vittaut, J.N., Méhat, J.: Fast instantiation of GGP game descriptions using prolog with tabling. In: Proceedings of ECAI, pp. 1121–1122 (2014)

    Google Scholar 

  12. 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

  13. 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

    Chapter  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Aline Hufschmitt .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2019 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

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)

Publish with us

Policies and ethics