This is the current revision of this page, as edited by Hstofe(talk | contribs) at 20:57, 28 June 2024(Add new connect 4 result.). The present address (URL) is a permanent link to this version.
Revision as of 20:57, 28 June 2024 by Hstofe(talk | contribs)(Add new connect 4 result.)
A solved game is a game whose outcome (win, lose or draw) can be correctly predicted from any position, assuming that both players play perfectly.
This concept is usually applied to abstract strategy games, and especially to games with full information and no element of chance;
solving such a game may use combinatorial game theory and/or computer assistance.
Prove whether the first player will win, lose or draw from the initial position, given perfect play on both sides. This can be a non-constructive proof (possibly involving a strategy-stealing argument) that need not actually determine any details of the perfect play.
Provide an algorithm that secures a win for one player, or a draw for either, against any possible play by the opponent, from the beginning of the game.
Provide an algorithm that can produce perfect play for both players from any position, even if imperfect play has already occurred on one or both sides.
Despite their name, many game theorists believe that "ultra-weak" proofs are the deepest, most interesting and valuable. "Ultra-weak" proofs require a scholar to reason about the abstract properties of the game, and show how these properties lead to certain outcomes if perfect play is realized.[citation needed]
By contrast, "strong" proofs often proceed by brute force—using a computer to exhaustively search a game tree to figure out what would happen if perfect play were realized. The resulting proof gives an optimal strategy for every possible position on the board. However, these proofs are not as helpful in understanding deeper reasons why some games are solvable as a draw, and other, seemingly very similar games are solvable as a win.
Given the rules of any two-person game with a finite number of positions, one can always trivially construct a minimax algorithm that would exhaustively traverse the game tree. However, since for many non-trivial games such an algorithm would require an infeasible amount of time to generate a move in a given position, a game is not considered to be solved weakly or strongly unless the algorithm can be run by existing hardware in a reasonable time. Many algorithms rely on a huge pre-generated database and are effectively nothing more.
As a simple example of a strong solution, the game of tic-tac-toe is easily solvable as a draw for both players with perfect play (a result manually determinable). Games like nim also admit a rigorous analysis using combinatorial game theory.
Whether a game is solved is not necessarily the same as whether it remains interesting for humans to play. Even a strongly solved game can still be interesting if its solution is too complex to be memorized; conversely, a weakly solved game may lose its attraction if the winning strategy is simple enough to remember (e.g., Maharajah and the Sepoys). An ultra-weak solution (e.g., Chomp or Hex on a sufficiently large board) generally does not affect playability.
In game theory, perfect play is the behavior or strategy of a player that leads to the best possible outcome for that player regardless of the response by the opponent. Perfect play for a game is known when the game is solved.[1] Based on the rules of a game, every possible final position can be evaluated (as a win, loss or draw). By backward reasoning, one can recursively evaluate a non-final position as identical to the position that is one move away and best valued for the player whose move it is. Thus a transition between positions can never result in a better evaluation for the moving player, and a perfect move in a position would be a transition between positions that are equally evaluated. As an example, a perfect player in a drawn position would always get a draw or win, never a loss. If there are multiple options with the same outcome, perfect play is sometimes considered the fastest method leading to a good result, or the slowest method leading to a bad result.
Perfect play can be generalized to non-perfect information games, as the strategy that would guarantee the highest minimal expected outcome regardless of the strategy of the opponent. As an example, the perfect strategy for rock paper scissors would be to randomly choose each of the options with equal (1/3) probability. The disadvantage in this example is that this strategy will never exploit non-optimal strategies of the opponent, so the expected outcome of this strategy versus any strategy will always be equal to the minimal expected outcome.
Although the optimal strategy of a game may not (yet) be known, a game-playing computer might still benefit from solutions of the game from certain endgame positions (in the form of endgame tablebases), which will allow it to play perfectly after some point in the game. Computer chess programs are well known for doing this.
The variant of Oware allowing game ending "grand slams" was strongly solved by Henri Bal and John Romein at the Vrije Universiteit in Amsterdam, Netherlands (2002). Either player can force the game into a draw.
The game of Connect Four has been solved Solved first by James D. Allen on October 1, 1988, and independently by Victor Allis on October 16, 1988.[3] The first player can force a win. Strongly solved by John Tromp's 8-ply database[4] (Feb 4, 1995). Weakly solved for all boardsizes where width+height is at most 15 (as well as 8×8 in late 2015)[3] (Feb 18, 2006). Solved for all boardsizes where width+height equals 16 on May 22, 2024.[5]
Most variants solved by Geoffrey Irving, Jeroen Donkers and Jos Uiterwijk (2000) except Kalah (6/6). The (6/6) variant was solved by Anders Carstensen (2011). Strong first-player advantage was proven in most cases.[8][9]
Weakly solved by humans, but proven by computers.[citation needed] (Dakon is, however, not identical to Ohvalhu, the game which actually had been observed by de Voogt)[citation needed]
Strongly solved by Jason Doucette (2001).[14] The game is a draw. There are only two unique first moves if you discard mirrored positions. One forces the draw, and the other gives the opponent a forced win in 15 moves.
Strongly solved by Johannes Laire in 2009, and weakly solved by Ali Elabridi in 2017.[20] It is a win for the blue pieces (Cardinal Richelieu's men, or, the enemy).[21]
Trivially strongly solvable because of the small game tree.[22] The game is a draw if no mistakes are made, with no mistake possible on the opening move.
This 8×8 variant of draughts was weakly solved on April 29, 2007, by the team of Jonathan Schaeffer. From the standard starting position, both players can guarantee a draw with perfect play.[24] Checkers has a search space of 5×1020 possible game positions.[25] The number of calculations involved was 1014, which were done over a period of 18 years. The process involved from 200 desktop computers at its peak down to around 50.[26]
Weakly solved in 2023 by Hiroki Takizawa, a researcher at Preferred Networks.[29] From the standard starting position on an 8x8 board, a perfect play by both players will result in a draw. Othello is the largest game solved to date, with a search space of 1028 possible game positions.
Fully solving chess remains elusive, and it is speculated that the complexity of the game may preclude it ever being solved. Through retrograde computer analysis, endgame tablebases (strong solutions) have been found for all three- to seven-piece endgames, counting the two kings as pieces.
The 5×5 board was weakly solved for all opening moves in 2002.[32] The 7×7 board was weakly solved in 2015.[33] Humans usually play on a 19×19 board, which is over 145 orders of magnitude more complex than 7×7.[34]
A strategy-stealing argument (as used by John Nash) shows that all square board sizes cannot be lost by the first player. Combined with a proof of the impossibility of a draw, this shows that the game is a first player win (so it is ultra-weak solved).[citation needed] On particular board sizes, more is known: it is strongly solved by several computers for board sizes up to 6×6.[citation needed] Weak solutions are known for board sizes 7×7 (using a swapping strategy), 8×8, and 9×9;[citation needed] in the 8×8 case, a weak solution is known for all opening moves.[35] Strongly solving Hex on an N×N board is unlikely as the problem has been shown to be PSPACE-complete.[citation needed] If Hex is played on an N×(N + 1) board then the player who has the shorter distance to connect can always win by a simple pairing strategy, even with the disadvantage of playing second.[citation needed]
All endgame positions with two through seven pieces were solved, as well as positions with 4×4 and 5×3 pieces where each side had one king or fewer, positions with five men versus four men, positions with five men versus three men and one king, and positions with four men and one king versus four men. The endgame positions were solved in 2007 by Ed Gilbert of the United States. Computer analysis showed that it was highly likely to end in a draw if both players played perfectly.[36][better source needed]
It is trivial to show that the second player can never win; see strategy-stealing argument. Almost all cases have been solved weakly for k ≤ 4. Some results are known for k = 5. The games are drawn for k ≥ 8.[citation needed]
^ abcAllis, Louis Victor (1994-09-23). Searching for Solutions in Games and Artificial Intelligence (PhD thesis). Maastricht: Rijksuniversiteit Limburg. ISBN90-9007488-0.
^Gasser, Ralph (1996). "Solving Nine Men's Morris". In Nowakowski, Richard (ed.). Games of No Chance(PDF). Vol. 29. Cambridge: Cambridge University Press. pp. 101–113. ISBN9780521574112. Archived from the original(PDF) on 2015-07-24. Retrieved 2022-01-03.
^Wágner, János & Virág, István (March 2001). "Solving Renju"(PDF). Széchenyi Egyetem - University of Győr. p. 30. Archived(PDF) from the original on 24 April 2024. Retrieved 24 April 2024.{{cite web}}: CS1 maint: date and year (link)
^"首期喆理围棋沙龙举行 李喆7路盘最优解具有里程碑意义_下棋想赢怕输_新浪博客". blog.sina.com.cn. (which says the 7x7 solution is only weakly solved and it's still under research, 1. the correct komi is 9 (4.5 stone); 2. there are multiple optimal trees - the first 3 moves are unique - but within the first 7 moves there are 5 optimal trees; 3. There are many ways to play that don't affect the result)
^P. Henderson, B. Arneson, and R. Hayward, [webdocs.cs.ualberta.ca/~hayward/papers/solve8.pdf Solving 8×8 Hex ], Proc. IJCAI-09 505-510 (2009) Retrieved 29 June 2010.