Abstract
We have developed a program called MUDoS (Maastricht University Domineering Solver) that solves Domineering positions in a very efficient way. It enables the solution of known positions (up to the \(10\times 10\) board) to be much quicker.
More importantly, it enables the solution of \(11\times 11\) Domineering, a board size that up till now was far out of the reach of previous Domineering solvers. The solution needed the investigation of 259,689,994,008 nodes, using almost half a year of computation time on a single simple desktop computer. The results show that under optimal play the first player wins \(11\times 11\) Domineering, irrespective whether Vertical or Horizontal starts.
In addition, several other new boards were solved. Using the convention that Vertical starts, the \(8\times 15\), \(11\times 9\), \(12\times 8\), \(12\times 15\), \(14\times 8\), and \(17\times 6\) boards are all won by Vertical, whereas the \(6\times 17\), \(8\times 12\), \(9\times 11\), and \(11\times 10\) boards are all won by Horizontal.
Access provided by Autonomous University of Puebla. Download conference paper PDF
Similar content being viewed by others
Keywords
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.
1 Introduction
Domineering is a two-player perfect-information game invented by Göran Andersson around 1973. It was popularized to the general public in an article by Martin Gardner [12]. It can be played on any subset of a square lattice, though mostly it is restricted to rectangular m \(\times \) n boards, where m denotes the number of rows and n the number of columns. The version introduced by Andersson and Gardner was the \(8\times 8\) board.
Play consists of the two players alternately placing a \(1\times 2\) tile (domino) on the board, where the first player may place the tile only in a vertical alignment, the second player only horizontally. The first player being unable to move loses the game, his opponent (who made the last move) being declared the winner. Since the board is gradually filled, i.e., Domineering is a converging game, the game always ends, and ties are impossible. With these rules the game belongs to the category of combinatorial games, for which a whole theory (the Combinatorial Game Theory, or CGT in short) has been developed.
Among combinatorial game theorists Domineering received quite some attention, but this was limited to rather small or irregular boards [1, 3, 4, 10, 14, 23]. Larger (rectangular) boards were solved using \(\alpha \)-\(\beta \) search [15], leading to solving all boards up to the standard \(8\times 8\) board [7], later extended to the \(9\times 9\) board [13, 17], and finally extended to larger boards up to \(10\times 10\) [8, 9].
2 Three Approaches
The following subsections give a rough characterization of the two main programs used to systematically solve Domineering positions so far, and of the program used to obtain the new results, as described in this paper.
2.1 A Brute-Force Appoach: Domi
The first systematic analysis of rectangular Domineering boards was performed by Breuker et al. [7, 13, 17]. They developed the program Domi, using a straightforward variant of the \(\alpha \)-\(\beta \) technique [15], enhanced with a transposition table. The algorithm did not use perfect domain knowledge for classifying positions as wins or losses and hence can be characterized as a pure brute-force approach. Transposition tables with 2M (\(2^{21}\)) entries were used with a two-level replacement scheme called TwoBig [6], in which each entry can store two table positions. Mirror symmetries are taken into account. The newest position is always stored, overwriting the less important position in terms of nodes investigated.
2.2 A Knowledge-Based Approach: Obsequi
A few years later Nathan Bullock published results on solving Domineering boards up to the \(10\times 10\) board [9]. His program Obsequi used a sophisticated evaluation function which can determine statically the winner at a shallower point in the search tree than Domi did. This allowed the elimination of large portions of the search space, resulting in much more efficient solving of Domineering boards. Obsequi used a transposition table (taking mirror symmetries into account) with \(2^{23}\) entries with either a two-level TwoBig replacement scheme or a one-level replacement scheme called FindFirst [8]. Also, a much better move-ordering heuristic was used, plus the use of a dominance relation to prune provably irrelevant moves. Since the main advantage of Bullock’s program is based on game-specific knowledge, we can characterize his approach as a knowledge-based approach.
2.3 A Knowledge-Intensive Approach: MUDoS
Uiterwijk continued using game-specific knowledge to an even more detailed extent. His program MUDoS incorporated deep knowledge of Domineering positions with known result. These knowledge rules are so intense, that it even enables solving many game boards without any search at all (i.e., investigating a single node, the empty board under consideration). This was called perfectly solving [18]. The most important feature of these knowledge rules is the number of safe moves that a player provably can reach in a position [19,20,21]. The transposition table used (again taking mirror symmetries into account) contained \(2^{26}\) entries, with a simple one-level Deep replacement scheme. Due to the heavy use of very knowledge-intense rules based on game-specific properties we can characterize his approach as a knowledge-intensive approach.
3 New Results
After almost half a year of computation time, \(11\times 11\) Domineering was solved. We give some data in Sect. 3.1. As a sidetrack, we solved several other new boards. Data are given in Sect. 3.2. An overview of updated combinatorial-game-theoretic values of Domineering boards is given in Sect. 3.3.
3.1 The Solution of \(11\times 11\) Domineering
The solution of \(11\times 11\) Domineering took 174 days and 15 h on a standard desktop computer (a HP with duo core Intel E8400 3.00 GHz CPU with a 64-bit Windows 7 operating system and 4 GB internal memory). The MUDoS program is written in C#.
The result is that the first player under optimal play wins the game. Since the board is square, this is irrespective of Vertical or Horizontal moving first.
To put the solution of the \(11\times 11\) board into perspective, we show in Table 1 the results and number of nodes investigated to solve square boards up to \(11\times 11\) by the three programs mentioned in the previous section.
For the result the investigation of 259,689,994,008 nodes was needed, with an average speed of 17,211 nodes/sec. While this is some ten times slower than Obsequi’s speed, this decrease in speed is by far compensated by the much higher pruning efficiency, as evidenced by the ratio’s of the number of nodes investigated by MUDoS and Obsequi. For the \(8\times 8\), \(9\times 9\) and \(10\times 10\) boards these are 1.19%, 0.30%, and 0.00038%, respectively. Of course the latest number is so low, since Obsequi solved the \(10\times 10\) board on a distributed network of several computers (no further details given), without memory sharing, by which transposition tables will be far less effective. But as a striking fact, whereas Obsequi needed several months of computation time on this network, MUDoS needs only 21 min on a single computer to solve the \(10\times 10\) board.
3.2 The Solution of New Other Domineering Boards
Besides \(11\times 11\) Domineering we were able to solve several other new Domineering boards. The results are given in Table 2.
The most notable results and their consequences are given below. We there use the notion of outcome class [1, 4, 10] of an m \(\times \) n board, denoted by [m \(\times \) n], where an outcome class is N, P, V, or H, where N stands for a Next player win (i.e., a win for the player to move), P for a Previous player win (i.e., a loss for the player to move), V for a Vertical win (irrespective of who starts), and H for a Horizontal win (irrespective of who starts).
3.2.1 Other Boards with Width or Height 11
Although the \(10\times 11\) board was already solved (Vertical wins), using the translational symmetry rules of Lachmann c.s. [16], and even perfectly solved [18], the \(11\times 10\) board was not. However, MUDoS solves it investigating just 1 node, showing that Horizontal wins.Footnote 1 As a result \([10\times 11]\) = V (and \([11\times 10]\) = H). Further, with some more work, we were able to solve the \(9\times 11\) board (Horizontal wins) and the \(11\times 9\) board (Vertical wins). Consequently, \([9\times 11]\) = H (and \([11\times 9]\) = V).
3.2.2 Boards with Width or Height 6
The \(6\times 17\) and \(17\times 6\) boards were also solved (wins for Horizontal and Vertical, respectively). Consequently, \([6\times 17]\) = H. Moreover, using the translational symmetry rules of Lachmann c.s. [16] and the facts that \([6\times 4]\) = N and [6 \(\times \) n] with \(n = 8\), 12, and 14 are H, it follows that \([6\times 21]\) (17 + 4) = N or H, and \([6\times 25]\) (17 + 8) = H, \([6\times 29]\) (17 + 12) = H, and \([6\times 31]\) (17 + 14) = H. Moreover, in [11] it was shown that [6 \(\times \) n] for \(n > 31\) = N or H for widths 33, 35, 37, 39, 43, 45, 47, 51, and 59. Using the result for \([6\times 17]\) all these values analogously are determined to be H, the only exception being width 35 (still N or H). This shows that the holes in the results for boards of height 6 have considerably been filled. The outcome classes for all 6 \(\times \) n boards are known now, the only exceptions being the \(6\times 18\), \(6\times 21\), \(6\times 23\), \(6\times 27\), and \(6\times 35\) boards, all five having outcome classes N or H, which means that Horizontal at least wins as first player. Of course the results for \([m\times 6]\) can similarly be updated, replacing H by V.
3.2.3 Boards with Width or Height 8
The \(8\times 12\) and \(12\times 8\) boards were also solved (wins for Horizontal and Vertical, respectively). Consequently, \([8\times 12]\) = H, but also, using the translational symmetry rules and the facts that \([8\times 10]\) and \([8\times 16]\) are H, it follows that \([8\times 22]\) (12 + 10) = H, \([8\times 24]\) (12 + 12) = H, and \([8\times 28]\) (12 + 16) = H. Moreover, since \([8\times 10]\) = H and all [8 \(\times \) n] for even n from 20–28 are H, it follows that all [8 \(\times \) n] with even \(n \ge 20\) are H. This makes the entries in the 8 \(\times \) n row completely regular for even n from \(n = 20\) onwards, in contrast to [11], were (in an irregular way) some of those were determined to be H, the others as N or H. We also were able to solve the \(14\times 8\) board (Vertical wins), but not the \(8\times 14\) board yet. It means that \([8\times 14]\) = N or H. This leaves the \(8\times 14\) and \(8\times 18\) boards as the only holes in this row for even width. Finally, the \(8\times 15\) (and \(12\times 15\)) board is trivially solved to be a Vertical win (so outcome class N or V), but the rotated \(15\times 8\) (and \(15\times 12\)) board could not yet be determined. Again, of course the results for \([m\times 8]\) can similarly be updated, replacing H by V, including that all \([m\times 8]\) with even \(m \ge 20\) are V.
3.3 Updated Table of CGT Values of Domineering
In Table 3 we give a complete updated overview of all results for solved Domineering boards, as outcome classes. The results are taken from [11] and includes results from [3, 4, 7, 9,10,11, 13, 16, 17].Footnote 2 In addition, our new results have been added. This table is also available at [22], where any future updates will be made public.
In this table the following notes apply: (1) the outcome classes for all \(n > 31\) are H, except that the outcome class for \(n = 35\) is N or H; (2) the outcome classes for all even \(n \ge 20\) are H; (3) the outcome classes are alternating H (even n) and N or H (odd n); (4)–(6): equivalent to notes (1)–(3) by replacing n with m and H with V.
For boards with one or both dimensions larger than 31, besides the results in the notes above, nothing is known about their outcome classes, except of course that m \(\times \) m boards have outcome classes N or P, that \(m\times 2km\) boards have outcome classes H, and that 2kn \(\times \) n boards have outcome classes V.
4 Conclusions and Future Work
As can be seen from the results it is clear that MUDoS is a very efficient Domineering solver. All boards solved before are solved in an equal amount (for the trivial boards) or far smaller (for the more complex boards) number of investigated nodes than by previous solvers.
The efficiency of our solver enabled the solution of the \(11\times 11\) Domineering board. The result indicates that the first player wins. Moreover, several new rather complex boards have been solved. Applying these together with the use of the translational symmetry rules updated the Domineering outcome class landscape considerably.
Regarding future work, foremost this condensed overview will be extended to a full publication. This will include a detailed description of MUDoS’ knowledge rules and heuristics employed. Moreover, the impact of the rules and heuristics on solving performance, separately and in combination, will be illlustrated with experiments.
As a follow-up we moreover intend as a last step to enhance the solving power of our Domineering program by incorporating knowledge from Combinatorial Game Theory into our solver. A preliminary experiment using endgame databases up to 16 squares filled with CGT values, combined with a very simplistic \(\alpha \)-\(\beta \) solver showed reductions up to 99% for boards up to \(7\times 7\) [2].
Notes
- 1.
We note that solving a board investigating a single node is not exactly the same as perfectly solving a board, since in the latter the board is solved using characteristics of the board solely, without generating the possible moves, whereas in the former the possible moves are generated, but immediately proven to contain at least one winning move or only losing moves.
- 2.
Although Drummond-Cole determined the outcome classes for \(8\times 26\) and \(26\times 8\) (H and V), these results were not included in his table of known outcome classes for Domineering [11].
References
Albert, M.H., Nowakowski, R.J., Wolfe, D.: Lessons in Play: An Introduction to Combinatorial Game Theory. A K Peters, Wellesley (2007)
Barton, M., Uiterwijk, J.W.H.M.: Combining combinatorial game theory with an \(\alpha \)-\(\beta \) solver for Domineering. In: Grootjen, F., Otworowska, M., Kwisthout, J. (eds.) BNAIC 2014 - Proceedings of the 26th Benelux Conference on Artificial Intelligence, pp. 9–16. Radboud University, Nijmegen (2014)
Berlekamp, E.R.: Blockbusting and Domineering. J. Comb. Theor. (Ser. A) 49, 67–116 (1988)
Berlekamp, E.R., Conway, J.H., Guy, R.K.: Winning Ways for Your Mathematical Plays. Academic Press, London (1982). 2nd edn. A K Peters, Wellesley, MA, in four volumes: vol. 1 (2001), vols. 2, 3 (2003), vol. 4 (2004)
Breuker, D.M.: Personal communication (2014)
Breuker, D.M., Uiterwijk, J.W.H.M., van den Herik, H.J.: Replacement schemes and two-level tables. ICCA J. 19, 175–180 (1996)
Breuker, D.M., Uiterwijk, J.W.H.M., van den Herik, H.J.: Solving 8 \(\times \) 8 Domineering. Theor. Comput. Sci. (Math Games) 230, 195–206 (2000)
Bullock, N.: Domineering: solving large combinatorial search spaces. M.Sc. thesis, University of Alberta (2002)
Bullock, N.: Domineering: solving large combinatorial search spaces. ICGA J. 25, 67–84 (2002)
Conway, J.H.: On Numbers and Games. Academic Press, London (1976)
Drummond-Cole, G.C.: An update on Domineering on rectangular boards. Integers 14, 1–13 (2014)
Gardner, M.: Mathematical games. Sci. Am. 230, 106–108 (1974)
van den Herik, H.J., Uiterwijk, J.W.H.M., van Rijswijck, J.: Games solved: now and in the future. Artif. Intell. 134, 277–311 (2002)
Kim, Y.: New values in Domineering. Theor. Comput. Sci. (Math Games) 156, 263–280 (1996)
Knuth, D.E., Moore, R.W.: An analysis of alpha-beta pruning. Artif. Intell. 6, 293–326 (1975)
Lachmann, M., Moore, C., Rapaport, I.: Who wins Domineering on rectangular boards? In: Nowakowski, R.J. (ed.) More Games of No Chance, vol. 42, pp. 307–315. Cambridge University Press, MSRI Publications, Cambridge (2002)
Uiterwijk, J.W.H.M., van den Herik, H.J.: The advantage of the initiative. Inf. Sci. 122, 43–58 (2000)
Uiterwijk, J.W.H.M.: Perfectly solving Domineering games. In: Cazenave, T., Winands, M.H.M., Iida, H. (eds.) Computer Games, Workshop on Computer Games, CGW at IJCAI 2013, Beijing, China, Revised Selected Papers, vol. 408, pp. 97–121. Communications in Computer and Information Science (2014)
Uiterwijk, J.W.H.M.: The impact of safe moves on perfectly solving Domineering boards. Part 1: analysis and experiments with 1-step safe moves. ICGA J. 37(2), 97–105 (2014)
Uiterwijk, J.W.H.M.: The impact of safe moves on perfectly solving Domineering boards. Part 2: analysis and experiments with multi-step safe moves. ICGA J. 37(3), 144–160 (2014)
Uiterwijk, J.W.H.M.: The impact of safe moves on perfectly solving Domineering boards. Part 3: theorems and conjectures. ICGA J. 37(4), 207–213 (2014)
Uiterwijk, J.W.H.M.: Updated game theoretic values for Domineering boards. https://dke.maastrichtuniversity.nl/jos.uiterwijk/?page_id=39
Wolfe, D.: Snakes in Domineering games. Theor. Comput. Sci. (Math Games) 119, 323–329 (1993)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2016 Springer International Publishing AG
About this paper
Cite this paper
Uiterwijk, J.W.H.M. (2016). 11 \(\times \) 11 Domineering Is Solved: The First Player Wins. In: Plaat, A., Kosters, W., van den Herik, J. (eds) Computers and Games. CG 2016. Lecture Notes in Computer Science(), vol 10068. Springer, Cham. https://doi.org/10.1007/978-3-319-50935-8_12
Download citation
DOI: https://doi.org/10.1007/978-3-319-50935-8_12
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-50934-1
Online ISBN: 978-3-319-50935-8
eBook Packages: Computer ScienceComputer Science (R0)