e01.org

Game complexity

Combinatorial game theory measures game complexity in several ways: #State-space complexity (the number of legal game positions from the initial position) #Game tree size (total number of possible games) #Decision complexity (number of leaf nodes in the smallest decision tree for initial position) #Game-tree complexity (number of leaf nodes in the smallest full-width decision tree for initial position) #Computational complexity (asymptotic difficulty of a game as it grows arbitrarily large) These measures involve understanding the game positions, possible outcomes, and computational complexity of various game scenarios.

Combinatorial game theory measures game complexity in several ways: State-space complexity (the number of legal game positions from the initial position) Game tree size (total number of possible games) Decision complexity (number of leaf nodes in the smallest decision tree for initial position) Game-tree complexity (number of leaf nodes in the smallest full-width decision tree for initial position) Computational complexity (asymptotic difficulty of a game as it grows arbitrarily large) These measures involve understanding the game positions, possible outcomes, and computational complexity of various game scenarios. ==Measures of game complexity== ==Example: tic-tac-toe (noughts and crosses)== For tic-tac-toe, a simple upper bound for the size of the state space is 3 9 = 19,683. (There are three states for each of the nine cells.) This count includes many illegal positions, such as a position with five crosses and no noughts, or a position in which both players have a row of three. A more careful count, removing these illegal positions, gives 5,478. And when rotations and reflections of positions are considered identical, there are only 765 essentially different positions. To bound the game tree, there are 9 possible initial moves, 8 possible responses, and so on, so that there are at most 9! or 362,880 total games. However, games may take less than 9 moves to resolve, and an exact enumeration gives 255,168 possible games. When rotations and reflections of positions are considered the same, there are only 26,830 possible games. The computational complexity of tic-tac-toe depends on how it is generalized. A natural generalization is to m,n,k-games: played on an m by n board with winner being the first player to get k in a row. This game can be solved in DSPACE(mn) by searching the entire game tree. This places it in the important complexity class PSPACE; with more work, it can be shown to be PSPACE-complete. ==Complexities of some well-known games== Due to the large size of game complexities, this table gives the ceiling of their logarithm to base 10. (In other words, the number of digits). All of the following numbers should be considered with caution: seemingly minor changes to the rules of a game can change the numbers (which are often rough estimates anyway) by tremendous factors, which might easily be much greater than the numbers shown. ==Notes== ==References== ==See also== Go and mathematics Solved game Solving chess Shannon number list of NP-complete games and puzzles list of PSPACE-complete games and puzzles ==External links== David Eppstein's Computational Complexity of Games and Puzzles

References

  1. When this is too hard to calculate, an upper bound can often be computed by also counting (some) illegal positions (positions that can never arise in the course of a game). === Game tree size === . · 1790550000.0
  2. Robert Briesemeister. Analysis and Implementation of the Game OnTop . · 1790550000.0
  3. Mark H.M. Winands. Informed Search in Complex Games . Maastricht University, Maastricht, The Netherlands . 2004. · 1790550000.0
  4. Programming a Computer for Pla . · 1790550000.0
  5. Diederik Wentink. Analysis and Implementation of the game Gipf . 2001. · 1790550000.0
  6. Witter, R.T. (2021). Backgammon Is Hard. In: Du, DZ., Du, D., Wu, C., Xu, D. (eds) Combinatorial Optimization and Applications. COCOA 2021. Lecture Notes in Computer Science(), vol 13135. Springer, Ch . · 1790550000.0
  7. Victor Allis. Searching for Solutions in Games and Artificial Intelligence . University of Limbu . 1994. · 1790550000.0
  8. Computer Chinese Chess . March 2004. · 1790550000.0
  9. Chorus, Pascal. Implementing a Computer Player for Abalone Using Alpha-Beta and Monte-Carlo Search . · 1790550000.0
  10. Joosten, B. Creating a Havannah Playing Agent . retrieved 29 March 2012 · 1790550000.0
  11. Kevin Moesker. Txixt: Theory, Analysis, and Implementation . 2009. · 1790550000.0
  12. T, Brian. Btsan/generate_tictactoe . GitHub . 2018-10-20. retrieved 2020-04-08 · 1586300400.0
  13. dunno, believed to be EXPTIME-complete |- |Quoridor |style="text-align:right;"|81 |style="text-align:right;"|42 |style="text-align:right;"|162 |style="text-align:right;"|91 |style="t . · 1790550000.0
  14. Cathleen Heyden. Implementing a Computer Player for Carcassonne . 2. · 1790550000.0
  15. Kloetzer, Julien. helios2.mi.parisdescartes.fr . · 1790550000.0
  16. A Knowledge-Based Approach of the Game of Amazons . Universiteit Maastricht, Institute for Knowledge and Agent T . 2001. · 1790550000.0
  17. F.C. Schadd. Monte-Carlo Search Techniques in the Modern Board Game Thurn and Taxis . 2009. · 1790550000.0
  18. Combinatorics of Go . 2007. · 1790550000.0
  19. Number of legal Go positions . 2016. · 1790550000.0
  20. Statistics on the length of a go game . · 1790550000.0
  21. Christ-Jan Cox. Analysis and Implementation of the Game Arimaa . 2006. · 1790550000.0
  22. David Jian Wu. Move Ranking and Evaluation in the Game of Arimaa . 2011. · 1790550000.0
  23. Orman, Hilarie K. msri.org . · 1790550000.0
  24. Brian Haskin. A Look at the Arimaa Branching Factor . 2006. · 1790550000.0
  25. A.F.C. Arts. Competitive Play in Stratego . Maastricht . 2010. · 1790550000.0
  26. Infinite Combos in MTG: 39 Awesome Combos to Try . · 1790550000.0
  27. John Tromp. John's Connect Four Playground . 2010. · 1790550000.0
  28. Edelkamp, Stefan, and Peter Kissmann. “Symbolic Classification of General Two-Player Games.” KI 2008: Advances in Artificial Intelligence, edited by Andreas R. Dengel et al., vol. 5243, Springer Berli . · 1790550000.0
  29. Schaeffer, Jonathan. Game over: Black to play and draw in checkers . · 1790550000.0
  30. Generalization is unclear |- |Qubic |style="text-align:right;"|64 |style="text-align:right;"|30 |style="text-align:right;"|34 |style="text-align:right;"|20 |style="text-align:right;"|54.2 |style= . · 1790550000.0
  31. Best Play in Fanorona leads to Draw . 2008. · 1790550000.0
  32. dunno, but in EXPTIME |- |Tablut |style="text-align:right;"|81 |style="text-align:right;"|27 |style="text-align:right;"| |style="text-align:right;"| |style="text-align:right;"| |style="t . · 1790550000.0
source: e01 Encyclopedia · licence: CC BY-SA 4.0 · page · source revision

Cite this

"Game complexity". 1790619905. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1377305033

JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy

Save to pass ·