with Dr. Brown. For managing diffs.

Brown_Ladha_QueensGame.tex 63KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259
  1. \documentclass[11pt]{article}
  2. \usepackage[dvipsnames]{xcolor}
  3. \usepackage{keyval}
  4. \usepackage{diagram}
  5. \usepackage{geometry}
  6. \usepackage{amssymb}
  7. \usepackage{amsmath}
  8. \usepackage{enumerate}
  9. \usepackage{subcaption}
  10. \usepackage{sectsty}
  11. \usepackage{float}
  12. \usepackage{graphicx}
  13. %\usepackage{subfig}
  14. \usepackage{bm}
  15. \usepackage{rotating}
  16. \usepackage[LSBC3,T1]{fontenc}
  17. \usepackage{chessboard}
  18. \newcommand{\ds}{\displaystyle}
  19. \newcommand{\qed}{\mbox{$\Box$}\vspace{\baselineskip}}
  20. \newtheorem{theorem}{Theorem}[section]
  21. \newtheorem{proposition}[theorem]{Proposition}
  22. \newtheorem{conjecture}[theorem]{Conjecture}
  23. \newtheorem{corollary}[theorem]{Corollary}
  24. \newtheorem{ques}[theorem]{Question}
  25. \newtheorem{definition}[theorem]{Definition}
  26. %\newtheorem{fact}[theorem]{Fact}
  27. %\newtheorem{claim}[theorem]{Claim}
  28. \newenvironment{proof}{\noindent {\bf Proof:}}{{\qed}}
  29. \title{Exploring mod 2 $n$-queens games}
  30. \author{Tricia Muldoon Brown\\
  31. \textit{Georgia Southern University}
  32. \and
  33. Abrahim Ladha\footnote{This material is based upon work supported by the National Science Foundation under grant no. DUE-0856593.}\\
  34. \textit{Georgia Institute of Technology}
  35. }
  36. \date{}
  37. \begin{document}
  38. \maketitle
  39. \begin{abstract}
  40. We introduce a two player game on an $n\times n$ chessboard where queens are placed by alternating turns on a chessboard square whose availability is determined by the parity of the number of queens already on the board which can attack that square. The game is explored as well as its variations and complexity.
  41. \end{abstract}
  42. \setboolean{piececounter}{false}
  43. \setboolean{showcomputer}{false}
  44. \section{Introduction}
  45. The $n$-queens problem is the challenge of placing $n$ queens on an $n$ by $n$ chessboard such that none are attacking each other. This puzzle originated as the $8$-queens problem, played on a standard $8\times 8$ chessboard, and was proposed by Bezzel~\cite{Bezzel} in 1848. The $8$-queens problem and the more general $n$-queens problem attracted the interest of notable mathematicians of that time. In 1850, Nauck~\cite{Nauck} was the first to publish all 92 solutions for the standard $8\times 8$ chessboard and in 1874 Pauls~\cite{Pauls, Pauls_2} gives the first set of solutions for the general $n$-queens problem published in two articles.
  46. The problem of finding more solutions in various dimensions has continued to hold the interest of mathematicians and computer scientists. Solutions sets have been found using graph theory, magic squares, Latin squares, and group theory, among other techniques. (See a survey paper by Bell and and Stevens~\cite{Bell_Stevens} for more details.) In a brute force approach, solution sets for a given $n$ can be found use the backtracking algorithm; a standard technique taught in computer science classes. In more modern times, a player can even find mobile apps to test his or her ability to find solutions on $8\times 8$ or other dimensional boards.
  47. In this paper, we look at a game variant of the $n$-queens problem that can be played on chessboards of varying dimensions, although here, we limit our focus to square chessboards. The basic version of the $n$-queens game is described by Noon~\cite{Noon}, who, observing that not all placements of queens will lead to a full solutions with $n$ queens, suggests a two player game where each player successively places queens in non-attacking positions. The first player who cannot place a queen loses the game. In the next section, we introduce a modification of this $n$-queens game. Sections~\ref{Complete} and~\ref{Locked} explore two states a game board may take. Then Section~\ref{Alternate} discusses alternate versions of the game, while Section~\ref{Graph} looks at the complexity of the game. Open questions are given throughout.
  48. \section{The mod 2 \textit{n}-queens game}
  49. First, we describe a variation of the $n$-queens game. For any game, a player should consider the motivation of his or her opponent. In particular, in a game involving placing a queen on a chessboard when is that queen safe from attack, that is, would it be a good move for an enemy queen to attack this piece? If you place a queen on a square that cannot be attacked by any queen, clearly it is safe. However, if you place your queen on a square that may be attacked by exactly one queen, the enemy queen can attack your piece while remaining safe on the square after your piece is taken. Continuing along these lines, what if you place your queen on a square that may be attacked by exactly two queens? Neither of the enemy queens would wish to attack first because then she would be vulnerable to the other. Hence, you could safely hold this square. Next, consider placing your queen on a square that may be attacked by exactly three queens. Any one of these enemy queens has incentive to attack, because after she claims the square, the remaining two queens are once again at a stalemate. Therefore, it would not be wise to place your queen on the square in that case. We see that for any number of queens on the board, the safety of a square is determined by the parity of the number of queens which may attack that square, so we propose the following additional rule to the two-player $n$-queens game.
  50. \begin{quote}
  51. Rule: Let every non-occupied square take on a value given by the number of queens who are directly attacking that square. If the value is congruent to zero modulo two, then the square is open and a queen may be placed on it. If the value is congruent to one modulo two the square is closed and we may not place a queen on that square.
  52. \end{quote}
  53. Of course this rule implies squares with an even number of attacking queens are open and with an odd number of attacking queens are closed. Play continues as before until a losing player cannot place another queen on the board. We will refer to this game as the \textbf{mod 2 $\bm{n}$-queens game}.
  54. This rule opens up the possibility for more play compared to Noon's original $n$-queens game. Figure~\ref{gradient_board} shows an example of a set of queens played an $8\times 8$ chessboard. This figure uses a gradient to indicate the number of queens attacking each square on the chessboard, with white indicating an open square and darker shades indicating an increasing number of queens attacking that square.
  55. \begin{figure}
  56. \begin{subfigure}[t]{.46\textwidth}
  57. \centering
  58. \definecolor{mybgcolor}{RGB}{255,255,255}
  59. \definecolor{mygridcolor}{RGB}{0,0,0}
  60. \definecolor{myhighlightcolor}{RGB}{102,102,102}
  61. \definecolor{gray1}{RGB}{204,204,204}
  62. \definecolor{gray2}{RGB}{153,153,153}
  63. \setchessboard{boardfontencoding=LSBC3,
  64. vlabel=false,
  65. hlabel=false,
  66. showmover = false,
  67. maxfield = h8,
  68. boardfontsize=30pt,
  69. boardfontfamily=skaknew,
  70. pgfstyle=border,
  71. color=mygridcolor,
  72. linewidth=0.5pt,
  73. markboard,
  74. pgfstyle=color,
  75. color=mybgcolor,
  76. backboard,
  77. color=myhighlightcolor,
  78. backregions={c8-d8,c6-c6,d5-d5,f5-f5,a4-a4,d2-d2,g2-g2},
  79. color=gray1,
  80. backregions={h1-h6,h8-h8,f6-f8,d6-e6,a8-b8,a6-a6,e5-e5,c4-d4,f4-f4,h4-h4,a3-c3,e3-g3,b2-c2,e2-f2,a1-b1,g1-g1,d7-d7,g5-g5},
  81. color=gray2,
  82. backregions={a7-c7,e7-e8,g6-g8,h7-h7,g4-g4,c1-d1,a5-c5,e4-e4,d3-d3,a2-a2},
  83. addblack={qa8,qd7,qc2,qg5},
  84. }
  85. \makeatletter
  86. \let\color@endgroupORI\color@endgroup
  87. \def\color@endgroup{\color@endgroupORI\pgfsetfillopacity{1}}
  88. \def\cfss@whitefieldmaskcolor{\pgfsetfillopacity{0}\color{white}}
  89. \def\cfss@blackfieldmaskcolor{\pgfsetfillopacity{0}\color{black}}
  90. \def\cfss@whitefieldcolor{\pgfsetfillopacity{0}\color{white}}
  91. \def\cfss@blackfieldcolor{\pgfsetfillopacity{0}\color{black}}
  92. \makeatother
  93. \scalebox{.5}{
  94. \chessboard}
  95. %\includegraphics[scale=.40, trim=0 0 0in 0]{gradient_board.png}
  96. \caption{A chessboard with a gradient indicating attacking queens.}
  97. \label{gradient_board}
  98. \end{subfigure}
  99. \qquad
  100. \begin{subfigure}[t]{.46\textwidth}
  101. \centering
  102. \definecolor{mybgcolor}{RGB}{255,255,255}
  103. \definecolor{mygridcolor}{RGB}{0,0,0}
  104. \definecolor{myhighlightcolor}{RGB}{102,102,102}
  105. \definecolor{gray1}{RGB}{204,204,204}
  106. \definecolor{gray2}{RGB}{153,153,153}
  107. \setchessboard{boardfontencoding=LSBC3,
  108. vlabel=false,
  109. hlabel=false,
  110. showmover = false,
  111. maxfield = h8,
  112. boardfontsize=30pt,
  113. boardfontfamily=skaknew,
  114. pgfstyle=border,
  115. color=mygridcolor,
  116. linewidth=0.5pt,
  117. markboard,
  118. pgfstyle=color,
  119. color=mybgcolor,
  120. backboard,
  121. color=gray1,
  122. backregions={h1-h6,h8-h8,f6-f8,d6-e6,a8-b8,a6-a6,e5-e5,c4-d4,f4-f4,h4-h4,a3-c3,e3-g3,b2-c2,e2-f2,a1-b1,g1-g1,d7-d7,g5-g5,c8-d8,c6-c6,d5-d5,f5-f5,a4-a4,d2-d2,g2-g2},
  123. addblack={qa8,qd7,qc2,qg5},
  124. }
  125. \makeatletter
  126. \let\color@endgroupORI\color@endgroup
  127. \def\color@endgroup{\color@endgroupORI\pgfsetfillopacity{1}}
  128. \def\cfss@whitefieldmaskcolor{\pgfsetfillopacity{0}\color{white}}
  129. \def\cfss@blackfieldmaskcolor{\pgfsetfillopacity{0}\color{black}}
  130. \def\cfss@whitefieldcolor{\pgfsetfillopacity{0}\color{white}}
  131. \def\cfss@blackfieldcolor{\pgfsetfillopacity{0}\color{black}}
  132. \makeatother
  133. \scalebox{.5}{
  134. \chessboard}
  135. %\includegraphics[scale=.40, trim=0in 0in 0in 0in]{mod2_gradient.png}
  136. \caption{A chessboard with a mod two gradient indicating attacking queens.}
  137. \label{mod2_gradient}
  138. \end{subfigure}
  139. \caption{}
  140. \end{figure}
  141. With the new rule, we are able to simplify this illustration as well as open up more squares on the board.
  142. Figure~\ref{mod2_gradient} illustrates the same configuration of queen with a now much simpler and more open gradient given by the mod 2 $n$-queens game. We note, in traditional play, placing another queen will only cause squares to become progressively darker in the gradient, but once a square is closed it remains closed. The mod 2 $n$-queens game is much more dynamic. Squares may easily change from open to closed and vice versa as the game progresses.
  143. There are other differences between this version of the game and the original $n$-queens game. For one, the order of the placement of the queens now matters as the parity of a square may change throughout the game. Next, the maximum number of moves in the game increases. A maximum of $n^2$ queens can be placed to fill the board with the new rule, whereas the original game could have at most $n$ queens.
  144. Before exploring the game play, we define three game states for any arrangement of queens upon a square chessboard created by a mod 2 $n$-queens game. We call such chessboards complete, unlocked, and locked as follows:
  145. \begin{definition}
  146. Given an arrangement of queens upon a chessboard, the chessboard is \textbf{complete} if all $n^2$ square are covered by queens. The chessboard is \textbf{unlocked} if it has less than $n^2$ queens placed on it, and there exist empty open squares in which a queen may be placed. Finally, the chessboard is \textbf{locked} if it has less than $n^2$ queens, but no legal moves remain.
  147. \end{definition}
  148. Finally, before we look at some complete chessboards, let us review some chessboard terminology. Each square on a $n\times n$ chessboard will be indexed by an \textbf{ordered pair} $(i,j)$ where $1\leq i \leq n$ indicates the row numbered from top to bottom and $1\leq j \leq n$ indicates the column numbered from left to right. The \textbf{$\bm{k}$-sum diagonal} is the diagonal running from left to right and bottom to top in which the sum of the indices of each square is $k$ for some integer $1\leq k \leq 2n$. The \textbf{$\bm{k}$-difference diagonal} is the diagonal running from left to right and top to bottom in which the difference of the indices of each square is $k$ for some integer $-(n-1) \leq k \leq n-1$. The $(n+1)$-sum diagonal is known as the \textbf{main sum diagonal}, and similarly the $0$-difference diagonal is called the \textbf{main difference diagonal}.
  149. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  150. \section{Complete Chessboards}\label{Complete}
  151. We begin our exploration of the mod 2 $n$-queens games by considering complete chessboards. By definition, we know that a complete chessboard contains $n^2$ queens, so we ask, given an $n\times n$ chessboard is it always possible to achieve a complete chessboard state through legal play?
  152. In the case where the size of the board is odd, the answer is yes.
  153. \begin{proposition}\label{odd_complete}
  154. If $n$ is an odd positive integer, the $n\times n$ chessboard has a complete solution of $n^2$ queens.
  155. \end{proposition}
  156. \begin{proof} Thinking inductively, a $1\times 1$ chessboard may be filled with one queen. In the next case, if we want to fill a $3\times 3$ board we need to fill the top two rows and left two columns with queens as well as the $1\times 1$ board in the lower right corner. More generally, to fill a $n\times n$ board we need to fill the top two rows, the left two columns, and a $(n-2)\times (n-2)$ board in the lower right corner. Looking at the game position where queens have filled the first two rows and the first two columns of the chessboard as illustrated in Figure~\ref{unlocked_11} in the case $n=11$, we observe that every uncovered square on this chessboard can be attacked by an even number of queens.
  157. \begin{figure}[ht]
  158. \centering
  159. \definecolor{mybgcolor}{RGB}{255,255,255}
  160. \definecolor{mygridcolor}{RGB}{0,0,0}
  161. \definecolor{myhighlightcolor}{RGB}{139,137,137}
  162. \setchessboard{boardfontencoding=LSBC3,
  163. vlabel=false,
  164. hlabel=false,
  165. showmover = false,
  166. maxfield = k11,
  167. boardfontsize=30pt,
  168. boardfontfamily=skaknew,
  169. pgfstyle=border,
  170. color=mygridcolor,
  171. linewidth=0.5pt,
  172. markboard,
  173. pgfstyle=color,
  174. color=mybgcolor,
  175. backboard,
  176. color=myhighlightcolor,
  177. backregions={a1-a11,b1-b11,c10-k10,c11-k11},
  178. addblack={qa1,qa2,qa3,qa4,qa5,qa6,qa7,qa8,qa9,qa10,qa11,
  179. qb1,qb2,qb3,qb4,qb5,qb6,qb7,qb8,qb9,qb10,qb11,
  180. qc10,qd10,qe10,qf10,qg10,qh10,qi10,qj10,qk10,
  181. qc11,qd11,qe11,qf11,qg11,qh11,qi11,qj11,qk11},
  182. }
  183. \makeatletter
  184. \let\color@endgroupORI\color@endgroup
  185. \def\color@endgroup{\color@endgroupORI\pgfsetfillopacity{1}}
  186. \def\cfss@whitefieldmaskcolor{\pgfsetfillopacity{0}\color{white}}
  187. \def\cfss@blackfieldmaskcolor{\pgfsetfillopacity{0}\color{black}}
  188. \def\cfss@whitefieldcolor{\pgfsetfillopacity{0}\color{white}}
  189. \def\cfss@blackfieldcolor{\pgfsetfillopacity{0}\color{black}}
  190. \makeatother
  191. \scalebox{.5}{
  192. \chessboard
  193. }
  194. % \begin{diagram}[11x11]
  195. % \specialdiagnum{}
  196. % \selectelchfont{fs}
  197. % \pieces{sDa{1}, sDa{2}, sDa{3}, sDa{4}, sDa{5}, sDa{6}, sDa{7}, sDa{8}, sDa{9}, sDa{10}, sDa{11}, sDb{1}, sDb{2}, sDb{3}, sDb{4}, sDb{5}, sDb{6}, sDb{7}, sDb{8}, sDb{9}, sDb{10}, sDb{11}, sDc{11}, sDd{11}, sDe{11}, sDf{11}, sDg{11}, sDh{11}, sDi{11}, sDj{11}, sDk{11}, sDc{10}, sDd{10}, sDe{10}, sDf{10}, sDg{10}, sDh{10}, sDi{10}, sDj{10}, sDk{10}}
  198. % \end{diagram}
  199. \vspace{-15pt}
  200. \caption{An unlocked $11\times 11$ chessboard}
  201. \label{unlocked_11}
  202. \end{figure}
  203. Specifically, each square can be attacked vertically, horizontally, and along the difference diagonal by exactly two queens on each line. Squares to left or on the main diagonal are attacked by four more queens on the sum diagonal, squares on the $n+2$ sum diagonal are attacked by exactly two more queens, and all other squares are attacked by zero more queens. Therefore game play from the chessboard with queens in this starting configuration is equivalent to the game play on a $(n-2)\times(n-2)$ board with no queens. Because we can proceed inductively to a $1\times 1$ board, now we only need to show that this starting board can be obtained from a sequence of legal game moves.
  204. Begin by filling the upper left corner of a $n\times n$ chessboard with the eight queens in the sequence given by Figure~\ref{unlocked_3}. In the following steps, we will successively fill in the next four squares from the first two rows and column. We proceed as listed in the steps below and illustrated in Figures~\ref{odd_step1} and~\ref{odd_step2} for an increasing integer $k$ where $1\leq k \leq \frac{n-3}{2}$.
  205. \begin{itemize}
  206. \item[] Step 1: Place a queen in square $(2,2k+2)$ and then in square $(1, 2k+2)$.
  207. \item[] Step 2: Place a queen in square $(2k+2, 1)$ and then in square $(2k+2,2)$.
  208. \item[] Step 3: Place a queen in square $(1,2k+3)$ and then in square $(2, 2k+3)$.
  209. \item[] Step 4: Place a queen in square $(2k+3, 2)$ and then in square $(2k+3,1)$.
  210. \end{itemize}
  211. \begin{figure}[ht]
  212. \centering
  213. \begin{subfigure}{.33\textwidth}
  214. \definecolor{mybgcolor}{RGB}{255,255,255}
  215. \definecolor{mygridcolor}{RGB}{0,0,0}
  216. \definecolor{myhighlightcolor}{RGB}{139,137,137}
  217. \setchessboard{boardfontencoding=LSBC3,
  218. vlabel=false,
  219. hlabel=false,
  220. showmover = false,
  221. maxfield = g7,
  222. boardfontsize=30pt,
  223. boardfontfamily=skaknew,
  224. pgfstyle=border,
  225. color=mygridcolor,
  226. linewidth=0.5pt,
  227. markboard,
  228. pgfstyle=color,
  229. color=mybgcolor,
  230. backboard,
  231. color=myhighlightcolor,
  232. backregions={a1-a4, b1-b3, c3-c3, d7-d7,d2-d2, e5-e7, e1-e1, f6-f7, f4-f4, g6-g7, g3-g3},
  233. }
  234. \makeatletter
  235. \let\color@endgroupORI\color@endgroup
  236. \def\color@endgroup{\color@endgroupORI\pgfsetfillopacity{1}}
  237. \def\cfss@whitefieldmaskcolor{\pgfsetfillopacity{0}\color{white}}
  238. \def\cfss@blackfieldmaskcolor{\pgfsetfillopacity{0}\color{black}}
  239. \def\cfss@whitefieldcolor{\pgfsetfillopacity{0}\color{white}}
  240. \def\cfss@blackfieldcolor{\pgfsetfillopacity{0}\color{black}}
  241. \makeatother
  242. \scalebox{.5}{
  243. \chessboard[pgfstyle=text,
  244. text=1,
  245. markregions={a7-a7},
  246. text=2,
  247. markregions={b5-b5},
  248. text=3,
  249. markregions={b6-b6},
  250. text=4,
  251. markregions={c6-c6},
  252. text=5,
  253. markregions={a6-a6},
  254. text=6,
  255. markregions={a5-a5},
  256. text=7,
  257. markregions={c7-c7},
  258. text=8,
  259. markregions={b7-b7}]
  260. }
  261. %
  262. % \begin{diagram}[7x7]
  263. % \specialdiagnum{}
  264. % \selectelchfont{fs}
  265. % \fieldtext{{\textbf{1}}a{7}, {\textbf{2}}b5, {\textbf{3}}b{6}, {\textbf{4}}c{6}, {\textbf{5}}a{6}, {\textbf{6}}a5, {\textbf{7}}c{7}, {\textbf{8}}b{7}}
  266. % \end{diagram}
  267. \vspace{-15pt}
  268. \caption{Place the first eight queens.}
  269. \label{unlocked_3}
  270. \end{subfigure}
  271. \qquad
  272. \begin{subfigure}{.4\textwidth}
  273. \centering
  274. \definecolor{mybgcolor}{RGB}{255,255,255}
  275. \definecolor{mygridcolor}{RGB}{0,0,0}
  276. \definecolor{myhighlightcolor}{RGB}{139,137,137}
  277. \setchessboard{boardfontencoding=LSBC3,
  278. vlabel=false,
  279. hlabel=false,
  280. showmover = false,
  281. maxfield = g7,
  282. boardfontsize=30pt,
  283. boardfontfamily=skaknew,
  284. pgfstyle=border,
  285. color=mygridcolor,
  286. linewidth=0.5pt,
  287. markboard,
  288. pgfstyle=color,
  289. color=mybgcolor,
  290. backboard,
  291. color=myhighlightcolor,
  292. backregions={a1-a2, b1-b1, c1-c1, f7-f7, g5-g7, a5-a7, b5-b7, c7-c7, c6-c6},
  293. addblack={qa7, qb5, qb6, qc6, qa6, qa5, qc7, qb7},
  294. }
  295. \makeatletter
  296. \let\color@endgroupORI\color@endgroup
  297. \def\color@endgroup{\color@endgroupORI\pgfsetfillopacity{1}}
  298. \def\cfss@whitefieldmaskcolor{\pgfsetfillopacity{0}\color{white}}
  299. \def\cfss@blackfieldmaskcolor{\pgfsetfillopacity{0}\color{black}}
  300. \def\cfss@whitefieldcolor{\pgfsetfillopacity{0}\color{white}}
  301. \def\cfss@blackfieldcolor{\pgfsetfillopacity{0}\color{black}}
  302. \makeatother
  303. \scalebox{.5}{
  304. \chessboard[pgfstyle=text,
  305. text=1,
  306. markregions={d6-d6},
  307. text=2,
  308. markregions={d7-d7},
  309. text=3,
  310. markregions={a4-a4},
  311. text=4,
  312. markregions={b4-b4},
  313. text=5,
  314. markregions={e7-e7},
  315. text=6,
  316. markregions={e6-e6},
  317. text=7,
  318. markregions={b3-b3},
  319. text=8,
  320. markregions={a3-a3}]
  321. }
  322. % \begin{diagram}[7x7]
  323. % \specialdiagnum{}
  324. % \selectelchfont{fs}
  325. % \pieces{sDa{7}, sDa{6}, sDa{5}, sDb{5}, sDb{6}, sDb{7}, sDc{6}, sDc{7}}
  326. % \fieldtext{{\textbf{1}}d{6}, {\textbf{2}}d7, {\textbf{3}}a{4}, {\textbf{4}}b{4}, {\textbf{5}}e{7}, {\textbf{6}}e6, {\textbf{7}}b{3}, {\textbf{8}}a{3}}
  327. % \end{diagram}
  328. \vspace{-15pt}
  329. \caption{Place the next eight queens.}
  330. \label{odd_step1}
  331. \end{subfigure}
  332. \qquad
  333. \begin{subfigure}{.4\textwidth}
  334. \centering
  335. \definecolor{mybgcolor}{RGB}{255,255,255}
  336. \definecolor{mygridcolor}{RGB}{0,0,0}
  337. \definecolor{myhighlightcolor}{RGB}{139,137,137}
  338. \setchessboard{boardfontencoding=LSBC3,
  339. vlabel=false,
  340. hlabel=false,
  341. showmover = false,
  342. maxfield = g7,
  343. boardfontsize=30pt,
  344. boardfontfamily=skaknew,
  345. pgfstyle=border,
  346. color=mygridcolor,
  347. linewidth=0.5pt,
  348. markboard,
  349. pgfstyle=color,
  350. color=mybgcolor,
  351. backboard,
  352. color=myhighlightcolor,
  353. backregions={a3-a7, b3-b7, c7-e7, c6-e6},
  354. addblack={qa7, qb5, qb6, qc6, qa6, qa5, qc7, qb7, qd6, qd7, qb4, qa4, qe7, qe6, qb3, qa3},
  355. }
  356. \makeatletter
  357. \let\color@endgroupORI\color@endgroup
  358. \def\color@endgroup{\color@endgroupORI\pgfsetfillopacity{1}}
  359. \def\cfss@whitefieldmaskcolor{\pgfsetfillopacity{0}\color{white}}
  360. \def\cfss@blackfieldmaskcolor{\pgfsetfillopacity{0}\color{black}}
  361. \def\cfss@whitefieldcolor{\pgfsetfillopacity{0}\color{white}}
  362. \def\cfss@blackfieldcolor{\pgfsetfillopacity{0}\color{black}}
  363. \makeatother
  364. \scalebox{.5}{
  365. \chessboard[pgfstyle=text,
  366. text=1,
  367. markregions={f6-f6},
  368. text=2,
  369. markregions={f7-f7},
  370. text=3,
  371. markregions={a2-a2},
  372. text=4,
  373. markregions={b2-b2},
  374. text=5,
  375. markregions={g7-g7},
  376. text=6,
  377. markregions={g6-g6},
  378. text=7,
  379. markregions={b1-b1},
  380. text=8,
  381. markregions={a1-a1}]
  382. }
  383. % \begin{diagram}[7x7]
  384. % \specialdiagnum{}
  385. % \selectelchfont{fs}
  386. % \pieces{sDa{7}, sDa{6}, sDa{5}, sDb{5}, sDb{6}, sDb{7}, sDc{6}, sDc{7}, sDa3, sDa4, sDb3, sDb4, sDd7, sDd6, sDe7, sDe6}
  387. % \fieldtext{{\textbf{1}}f{6}, {\textbf{2}}f7, {\textbf{3}}a{2}, {\textbf{4}}b{2}, {\textbf{5}}g{7}, {\textbf{6}}g6, {\textbf{7}}b{1}, {\textbf{8}}a{1}}
  388. % \end{diagram}
  389. \vspace{-15pt}
  390. \caption{Place the final eight queens.}
  391. \label{odd_step2}
  392. \end{subfigure}
  393. \caption{Steps in the construction of a complete board for $n$ odd.}
  394. \label{XX}
  395. \end{figure}
  396. Once this process is finished, we repeat on the $(n-2)\times (n-2)$ chessboard until we have reduced to the one empty square in the lower right corner which can then be filled with a queen.
  397. \end{proof}
  398. Not all chessboards, however, will have complete solutions.
  399. \begin{proposition}\label{even_not_complete}
  400. If $n$ is an even positive integer, the $n\times n$ chessboard does not have a complete solution of $n^2$ queens.
  401. \end{proposition}
  402. \begin{proof}
  403. \noindent Suppose to the contrary, that there is an open square in which to place $(n^2)^{\hbox{th}}$ queen on a $n\times n$ chessboard, and further suppose that square is on the outer edge of the chessboard. Each square on the edge has $n-1$ queens attacking along the horizontal line and $n-1$ queens attacking along the vertical line. If we chose a corner square, it only has one diagonal containing $n-1$ attacking queens. As you move from a corner square along the edge, the larger diagonal decreases by one and the lesser diagonal increases by one which always keeps the sum of the diagonals of a square on the edge equal to $n-1$. Thus, the open square cannot be one of the squares on the edge of the chessboard because the number of attacking queens is $(n - 1) + (n - 1) + (n - 1) \equiv_2 1$. Thus we can assume the outer ring is filled with queens, so we remove this ring without changing the parity of the chessboard, as each square in the middle is attacked by exactly eight queens from the outer ring. We are left with $(n-2)\times(n-2)$ chessboard. As $n-2$ is still even, we repeat, removing the outer rings, until we are left with the contradiction, a $2\times 2$ chessboard which cannot be filled with four queens.
  404. \end{proof}
  405. Although we cannot have a complete solution in the case of an even length chessboard, we can identify a locked solution that comes close.
  406. \begin{proposition}\label{even_complete}
  407. If $n$ is an even positive integer, $n^2-2$ queens can be placed legally on a $n\times n$ chessboard.
  408. \end{proposition}
  409. One such construction could follow similarly to the odd case by applying induction and filling the topmost two rows and leftmost two columns, so we leave it to the reader. This case is interesting, however, and we pose the following question.
  410. \begin{ques}
  411. Is the solution of $n^2-2$ queens on an $n\times n$ chessboard for $n$ an even positive integer a maximal locked solution?
  412. \end{ques}
  413. Empirical data and a computer simulation for $n=4$ suggest that the answer is yes. However, with our modest computational power the program could run the simulation for $n=4$ in eleven minutes but it would take approximately 22 years to run for $n=6$, so verifying computationally was not an option.
  414. In the next section, we consider locked chessboards.
  415. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  416. \section{Locked Chessboards}\label{Locked}
  417. Another interesting game state is a locked chessboard. For strategy reasons, a player would be interested to know of locked solutions in order to lead an opponent into such a solution or avoid them himself. For small $n=1, 2$ or $3$, there is a simple first-player win strategy, that is, placing only one queen as seen in Figures~\ref{locked_2} and \ref{locked_3}.
  418. \begin{figure}[H]
  419. \centering
  420. \begin{subfigure}[t]{.46\textwidth}
  421. \centering
  422. \vspace{-10pt}
  423. \definecolor{mybgcolor}{RGB}{255,255,255}
  424. \definecolor{mygridcolor}{RGB}{0,0,0}
  425. \definecolor{myhighlightcolor}{RGB}{139,137,137}
  426. \setchessboard{boardfontencoding=LSBC3,
  427. vlabel=false,
  428. hlabel=false,
  429. showmover = false,
  430. maxfield = b2,
  431. boardfontsize=30pt,
  432. boardfontfamily=skaknew,
  433. pgfstyle=border,
  434. color=mygridcolor,
  435. linewidth=0.5pt,
  436. markboard,
  437. pgfstyle=color,
  438. color=mybgcolor,
  439. backboard,
  440. color=myhighlightcolor,
  441. backregions={a1-b2},
  442. addblack={qa2},
  443. }
  444. \makeatletter
  445. \let\color@endgroupORI\color@endgroup
  446. \def\color@endgroup{\color@endgroupORI\pgfsetfillopacity{1}}
  447. \def\cfss@whitefieldmaskcolor{\pgfsetfillopacity{0}\color{white}}
  448. \def\cfss@blackfieldmaskcolor{\pgfsetfillopacity{0}\color{black}}
  449. \def\cfss@whitefieldcolor{\pgfsetfillopacity{0}\color{white}}
  450. \def\cfss@blackfieldcolor{\pgfsetfillopacity{0}\color{black}}
  451. \makeatother
  452. \scalebox{.5}{
  453. \chessboard
  454. }
  455. %\begin{diagram}[2x2]
  456. %\specialdiagnum{}
  457. %\selectelchfont{fs}
  458. %\pieces{sDa{2}}
  459. %\end{diagram}
  460. \vspace{-15pt}
  461. \caption{A locked $2\times 2$ chessboard}
  462. \label{locked_2}
  463. \end{subfigure}
  464. \qquad
  465. \begin{subfigure}[t]{.46\textwidth}
  466. \centering
  467. \vspace{-10pt}
  468. \definecolor{mybgcolor}{RGB}{255,255,255}
  469. \definecolor{mygridcolor}{RGB}{0,0,0}
  470. \definecolor{myhighlightcolor}{RGB}{139,137,137}
  471. \setchessboard{boardfontencoding=LSBC3,
  472. vlabel=false,
  473. hlabel=false,
  474. showmover = false,
  475. maxfield = c3,
  476. boardfontsize=30pt,
  477. boardfontfamily=skaknew,
  478. pgfstyle=border,
  479. color=mygridcolor,
  480. linewidth=0.5pt,
  481. markboard,
  482. pgfstyle=color,
  483. color=mybgcolor,
  484. backboard,
  485. color=myhighlightcolor,
  486. backregions={a1-c3},
  487. addblack={qb2},
  488. }
  489. \makeatletter
  490. \let\color@endgroupORI\color@endgroup
  491. \def\color@endgroup{\color@endgroupORI\pgfsetfillopacity{1}}
  492. \def\cfss@whitefieldmaskcolor{\pgfsetfillopacity{0}\color{white}}
  493. \def\cfss@blackfieldmaskcolor{\pgfsetfillopacity{0}\color{black}}
  494. \def\cfss@whitefieldcolor{\pgfsetfillopacity{0}\color{white}}
  495. \def\cfss@blackfieldcolor{\pgfsetfillopacity{0}\color{black}}
  496. \makeatother
  497. \scalebox{.5}{
  498. \chessboard
  499. }
  500. %\begin{diagram}[3x3]
  501. %\specialdiagnum{}
  502. %\selectelchfont{fs}
  503. %\pieces{sDb{2}}
  504. %\end{diagram}
  505. \vspace{-15pt}
  506. \caption{A locked $3\times 3$ chessboard}
  507. \label{locked_3}
  508. \end{subfigure}
  509. %\caption{Examples of even-sized and odd-sized locked boards}
  510. \end{figure}
  511. Of course, these small examples cannot be generalized and locked boards with only one queen do not exist for $n>3$. We now look at a more complex locked chessboard. Again, as we did for complete boards, we separate the chessboards into two classes by their even or odd lengths.
  512. Consider the chessboards where queens fill the top row and leftmost column for $n$ odd or almost fill the top row and leftmost column for $n$ even. These game positions are illustrated in Figure~\ref{general_locked}.
  513. \begin{figure}[H]
  514. \centering
  515. \begin{subfigure}[t]{.46\textwidth}
  516. \centering
  517. \vspace{-10pt}
  518. \definecolor{mybgcolor}{RGB}{255,255,255}
  519. \definecolor{mygridcolor}{RGB}{0,0,0}
  520. \definecolor{myhighlightcolor}{RGB}{139,137,137}
  521. \setchessboard{boardfontencoding=LSBC3,
  522. vlabel=false,
  523. hlabel=false,
  524. showmover = false,
  525. maxfield = k11,
  526. boardfontsize=30pt,
  527. boardfontfamily=skaknew,
  528. pgfstyle=border,
  529. color=mygridcolor,
  530. linewidth=0.5pt,
  531. markboard,
  532. pgfstyle=color,
  533. color=mybgcolor,
  534. backboard,
  535. color=myhighlightcolor,
  536. backregions={a1-k11},
  537. addblack={qa1,qa2,qa3,qa4,qa5,qa6,qa7,qa8,qa9,qa10,qa11
  538. ,qb11,qc11,qd11,qe11,qf11,qg11,qh11,qi11,qj11,qk11},
  539. }
  540. \makeatletter
  541. \let\color@endgroupORI\color@endgroup
  542. \def\color@endgroup{\color@endgroupORI\pgfsetfillopacity{1}}
  543. \def\cfss@whitefieldmaskcolor{\pgfsetfillopacity{0}\color{white}}
  544. \def\cfss@blackfieldmaskcolor{\pgfsetfillopacity{0}\color{black}}
  545. \def\cfss@whitefieldcolor{\pgfsetfillopacity{0}\color{white}}
  546. \def\cfss@blackfieldcolor{\pgfsetfillopacity{0}\color{black}}
  547. \makeatother
  548. \scalebox{.5}{
  549. \chessboard
  550. }
  551. %\begin{diagram}[11x11]
  552. %\specialdiagnum{}
  553. %\selectelchfont{fs}
  554. %\pieces{sDa{1}, sDa{2}, sDa{3}, sDa{4}, sDa{5}, sDa{6}, sDa{7}, sDa{8}, sDa{9}, sDa{10}, sDa{11}, sDb{11}, sDc{11}, sDd{11}, sDe{11}, sDf{11}, sDg{11}, sDh{11}, sDi{11}, sDj{11}, sDk{11}}
  555. %\end{diagram}
  556. \vspace{-15pt}
  557. \caption{A locked $11\times 11$ chessboard}
  558. \label{locked_11}
  559. \end{subfigure}
  560. \qquad
  561. \begin{subfigure}[t]{.48\textwidth}
  562. \centering
  563. \vspace{-10pt}
  564. \definecolor{mybgcolor}{RGB}{255,255,255}
  565. \definecolor{mygridcolor}{RGB}{0,0,0}
  566. \definecolor{myhighlightcolor}{RGB}{139,137,137}
  567. \setchessboard{boardfontencoding=LSBC3,
  568. vlabel=false,
  569. hlabel=false,
  570. showmover = false,
  571. maxfield = l12,
  572. boardfontsize=30pt,
  573. boardfontfamily=skaknew,
  574. pgfstyle=border,
  575. color=mygridcolor,
  576. linewidth=0.5pt,
  577. markboard,
  578. pgfstyle=color,
  579. color=mybgcolor,
  580. backboard,
  581. color=myhighlightcolor,
  582. backregions={a1-l12},
  583. addblack={ql1,qa2,qa3,qa4,qa5,qa6,qa7,qa8,qa9,qa10,qa11
  584. ,qb12,qc12,qd12,qe12,qf12,qg12,qh12,qi12,qj12,qk12},
  585. }
  586. \makeatletter
  587. \let\color@endgroupORI\color@endgroup
  588. \def\color@endgroup{\color@endgroupORI\pgfsetfillopacity{1}}
  589. \def\cfss@whitefieldmaskcolor{\pgfsetfillopacity{0}\color{white}}
  590. \def\cfss@blackfieldmaskcolor{\pgfsetfillopacity{0}\color{black}}
  591. \def\cfss@whitefieldcolor{\pgfsetfillopacity{0}\color{white}}
  592. \def\cfss@blackfieldcolor{\pgfsetfillopacity{0}\color{black}}
  593. \makeatother
  594. \scalebox{.5}{
  595. \chessboard
  596. }
  597. %\begin{diagram}[12x12]
  598. %\specialdiagnum{}
  599. %\selectelchfont{fs}
  600. %\pieces{sDa{2}, sDa{3}, sDa{4}, sDa{5}, sDa{6}, sDa{7}, sDa{8}, sDa{9}, sDa{10}, sDa{11}, sDb{12}, sDc{12}, sDd{12}, sDe{12}, sDf{12}, sDg{12}, sDh{12}, sDi{12}, sDj{12}, sDk{12}, sDl{1}}
  601. %\end{diagram}
  602. \vspace{-15pt}
  603. \caption{A locked $12\times 12$ chessboard}
  604. \label{locked_12}
  605. \end{subfigure}
  606. \caption{Examples of even-sized and odd-sized locked boards}
  607. \label{general_locked}
  608. \end{figure}
  609. \begin{proposition}\label{odd_locked}
  610. For $n$ an odd positive integer, the chessboard with queens exactly on squares in the set $\{(1,i), (i,1) | 1\leq i \leq n\}$ is a legal, locked game position.
  611. \end{proposition}
  612. \begin{proof}
  613. \noindent We need to check that this board is locked as well as check that the queens can be placed in this configuration by a legal set of game moves. First we confirm that an odd number of queens attack every uncovered square. Observe that every unoccupied square has exactly one queen which can attack vertically and exactly one queen that can attack horizontally. On the positive diagonal, if the uncovered square is on or to the left of the main sum diagonal exactly two queens can attack along the positive diagonal. However, if the uncovered square is the right of the main diagonal, no queens can attack along the positive diagonal. Further every empty square can be attacked by exactly one queen on the difference diagonal, so all uncovered square are attacked by either exactly five or exactly three queens and hence the board is locked.
  614. Next, we need to show that this game board can arise from a sequence of legal placements of queens onto the board. First consider the case where $n=3$. Figure~\ref{locked_n=3} illustrates a sequence of five moves to lock a $3\times 3$ chessboard by playing queens on the first row and column.
  615. \begin{figure}[ht]
  616. \centering
  617. \hspace{-58pt}
  618. \begin{subfigure}[t]{.11\textwidth}
  619. %\vspace{-10pt}
  620. %\centering
  621. \definecolor{mybgcolor}{RGB}{255,255,255}
  622. \definecolor{mygridcolor}{RGB}{0,0,0}
  623. \definecolor{myhighlightcolor}{RGB}{139,137,137}
  624. \setchessboard{boardfontencoding=LSBC3,
  625. vlabel=false,
  626. hlabel=false,
  627. showmover = false,
  628. maxfield = c3,
  629. boardfontsize=30pt,
  630. boardfontfamily=skaknew,
  631. pgfstyle=border,
  632. color=mygridcolor,
  633. linewidth=0.5pt,
  634. markboard,
  635. pgfstyle=color,
  636. color=mybgcolor,
  637. backboard,
  638. color=myhighlightcolor,
  639. backregions={a1-a3,b2-c2,b1-b3},
  640. addblack={qa2},
  641. }
  642. \makeatletter
  643. \let\color@endgroupORI\color@endgroup
  644. \def\color@endgroup{\color@endgroupORI\pgfsetfillopacity{1}}
  645. \def\cfss@whitefieldmaskcolor{\pgfsetfillopacity{0}\color{white}}
  646. \def\cfss@blackfieldmaskcolor{\pgfsetfillopacity{0}\color{black}}
  647. \def\cfss@whitefieldcolor{\pgfsetfillopacity{0}\color{white}}
  648. \def\cfss@blackfieldcolor{\pgfsetfillopacity{0}\color{black}}
  649. \makeatother
  650. \scalebox{.65}{
  651. \chessboard
  652. }
  653. %\begin{diagram}[3x3]
  654. %\specialdiagnum{}
  655. %\selectelchfont{fs}
  656. %\pieces{sDa{2}}
  657. %\fieldtext{oa1, oa3, ob1, ob2, ob3, ec1, oc2, ec3}
  658. %\end{diagram}
  659. \vspace{-15pt}
  660. %\caption{Step 1}
  661. %\label{n=3_Step1}
  662. \end{subfigure}
  663. \qquad
  664. %\qquad
  665. \begin{subfigure}[t]{.11\textwidth}
  666. %\centering
  667. %\vspace{-10pt}
  668. \definecolor{mybgcolor}{RGB}{255,255,255}
  669. \definecolor{mygridcolor}{RGB}{0,0,0}
  670. \definecolor{myhighlightcolor}{RGB}{139,137,137}
  671. \setchessboard{boardfontencoding=LSBC3,
  672. vlabel=false,
  673. hlabel=false,
  674. showmover = false,
  675. maxfield = c3,
  676. boardfontsize=30pt,
  677. boardfontfamily=skaknew,
  678. pgfstyle=border,
  679. color=mygridcolor,
  680. linewidth=0.5pt,
  681. markboard,
  682. pgfstyle=color,
  683. color=mybgcolor,
  684. backboard,
  685. color=myhighlightcolor,
  686. backregions={a2-a2,c3-c3,b1-c1},
  687. addblack={qa2,qc3},
  688. }
  689. \makeatletter
  690. \let\color@endgroupORI\color@endgroup
  691. \def\color@endgroup{\color@endgroupORI\pgfsetfillopacity{1}}
  692. \def\cfss@whitefieldmaskcolor{\pgfsetfillopacity{0}\color{white}}
  693. \def\cfss@blackfieldmaskcolor{\pgfsetfillopacity{0}\color{black}}
  694. \def\cfss@whitefieldcolor{\pgfsetfillopacity{0}\color{white}}
  695. \def\cfss@blackfieldcolor{\pgfsetfillopacity{0}\color{black}}
  696. \makeatother
  697. \scalebox{.65}{
  698. \chessboard
  699. }
  700. %\begin{diagram}[3x3]
  701. %\specialdiagnum{}
  702. %\selectelchfont{fs}
  703. %\pieces{sDa{2}, sDc{3}}
  704. %\fieldtext{ea1, ea3, ob1, eb2, eb3, oc1, ec2}
  705. %\end{diagram}
  706. \vspace{-15pt}
  707. %\caption{Step 2}
  708. %\label{n=3_Step2}
  709. \end{subfigure}
  710. \qquad
  711. %\qquad
  712. \begin{subfigure}[t]{.11\textwidth}
  713. %\centering
  714. %\vspace{-10pt}
  715. \definecolor{mybgcolor}{RGB}{255,255,255}
  716. \definecolor{mygridcolor}{RGB}{0,0,0}
  717. \definecolor{myhighlightcolor}{RGB}{139,137,137}
  718. \setchessboard{boardfontencoding=LSBC3,
  719. vlabel=false,
  720. hlabel=false,
  721. showmover = false,
  722. maxfield = c3,
  723. boardfontsize=30pt,
  724. boardfontfamily=skaknew,
  725. pgfstyle=border,
  726. color=mygridcolor,
  727. linewidth=0.5pt,
  728. markboard,
  729. pgfstyle=color,
  730. color=mybgcolor,
  731. backboard,
  732. color=myhighlightcolor,
  733. backregions={a1-a3,b2-b2,c3-c3},
  734. addblack={qa2,qc3,qa1},
  735. }
  736. \makeatletter
  737. \let\color@endgroupORI\color@endgroup
  738. \def\color@endgroup{\color@endgroupORI\pgfsetfillopacity{1}}
  739. \def\cfss@whitefieldmaskcolor{\pgfsetfillopacity{0}\color{white}}
  740. \def\cfss@blackfieldmaskcolor{\pgfsetfillopacity{0}\color{black}}
  741. \def\cfss@whitefieldcolor{\pgfsetfillopacity{0}\color{white}}
  742. \def\cfss@blackfieldcolor{\pgfsetfillopacity{0}\color{black}}
  743. \makeatother
  744. \scalebox{.65}{
  745. \chessboard
  746. }
  747. %\begin{diagram}[3x3]
  748. %\specialdiagnum{}
  749. %\selectelchfont{fs}
  750. %\pieces{sDa{2}, sDc{3}, sDa{1}}
  751. %\fieldtext{oa3, eb1, ob2, eb3, ec1, ec2}
  752. %\end{diagram}
  753. \vspace{-15pt}
  754. %\caption{Step 3}
  755. %\label{n=3_Step3}
  756. \end{subfigure}
  757. \qquad
  758. %\qquad
  759. \begin{subfigure}[t]{.11\textwidth}
  760. %\centering
  761. %\vspace{-10pt}
  762. \definecolor{mybgcolor}{RGB}{255,255,255}
  763. \definecolor{mygridcolor}{RGB}{0,0,0}
  764. \definecolor{myhighlightcolor}{RGB}{139,137,137}
  765. \setchessboard{boardfontencoding=LSBC3,
  766. vlabel=false,
  767. hlabel=false,
  768. showmover = false,
  769. maxfield = c3,
  770. boardfontsize=30pt,
  771. boardfontfamily=skaknew,
  772. pgfstyle=border,
  773. color=mygridcolor,
  774. linewidth=0.5pt,
  775. markboard,
  776. pgfstyle=color,
  777. color=mybgcolor,
  778. backboard,
  779. color=myhighlightcolor,
  780. backregions={a1-a2,b3-c3,c2-c2,b1-b1},
  781. addblack={qa2,qc3,qa1,qb3},
  782. }
  783. \makeatletter
  784. \let\color@endgroupORI\color@endgroup
  785. \def\color@endgroup{\color@endgroupORI\pgfsetfillopacity{1}}
  786. \def\cfss@whitefieldmaskcolor{\pgfsetfillopacity{0}\color{white}}
  787. \def\cfss@blackfieldmaskcolor{\pgfsetfillopacity{0}\color{black}}
  788. \def\cfss@whitefieldcolor{\pgfsetfillopacity{0}\color{white}}
  789. \def\cfss@blackfieldcolor{\pgfsetfillopacity{0}\color{black}}
  790. \makeatother
  791. \scalebox{.65}{
  792. \chessboard
  793. }
  794. %\begin{diagram}[3x3]
  795. %\specialdiagnum{}
  796. %\selectelchfont{fs}
  797. %\pieces{sDa{2}, sDc{3}, sDa{1}, sDb{3}}
  798. %\fieldtext{ea3, ob1, eb2, ec1, oc2}
  799. %\end{diagram}
  800. \vspace{-15pt}
  801. %\caption{Step 4}
  802. %\label{n=3_Step4}
  803. \end{subfigure}
  804. \qquad
  805. %\qquad
  806. \begin{subfigure}[t]{.11\textwidth}
  807. %\centering
  808. %\vspace{-10pt}
  809. \definecolor{mybgcolor}{RGB}{255,255,255}
  810. \definecolor{mygridcolor}{RGB}{0,0,0}
  811. \definecolor{myhighlightcolor}{RGB}{139,137,137}
  812. \setchessboard{boardfontencoding=LSBC3,
  813. vlabel=false,
  814. hlabel=false,
  815. showmover = false,
  816. maxfield = c3,
  817. boardfontsize=30pt,
  818. boardfontfamily=skaknew,
  819. pgfstyle=border,
  820. color=mygridcolor,
  821. linewidth=0.5pt,
  822. markboard,
  823. pgfstyle=color,
  824. color=mybgcolor,
  825. backboard,
  826. color=myhighlightcolor,
  827. backregions={a1-c3},
  828. addblack={qa2,qc3,qa1,qb3, qa3},
  829. }
  830. \makeatletter
  831. \let\color@endgroupORI\color@endgroup
  832. \def\color@endgroup{\color@endgroupORI\pgfsetfillopacity{1}}
  833. \def\cfss@whitefieldmaskcolor{\pgfsetfillopacity{0}\color{white}}
  834. \def\cfss@blackfieldmaskcolor{\pgfsetfillopacity{0}\color{black}}
  835. \def\cfss@whitefieldcolor{\pgfsetfillopacity{0}\color{white}}
  836. \def\cfss@blackfieldcolor{\pgfsetfillopacity{0}\color{black}}
  837. \makeatother
  838. \scalebox{.65}{
  839. \chessboard
  840. }
  841. %\begin{diagram}[3x3]
  842. %\specialdiagnum{}
  843. %\selectelchfont{fs}
  844. %\pieces{sDa{2}, sDc{3}, sDa{1}, sDb{3}, sDa{3}}
  845. %\fieldtext{ob1, ob2, oc1, oc2}
  846. %\end{diagram}
  847. \vspace{-15pt}
  848. %\caption{Step 5}
  849. %\label{n=3_Step5}
  850. \end{subfigure}
  851. \caption{A sequence of game positions to create a locked $3\times 3$ chessboard}
  852. \label{locked_n=3}
  853. \end{figure}
  854. We want to extend the game play in Figure~\ref{locked_n=3} to occur in a chessboard of any size. Our strategy will be to repeat the first four moves of Figure~\ref{locked_n=3} for the next two vacant squares in the first row and the corresponding two vacant squares in the first column. Suppose we wish to fill the four squares from the set $\{(1,i), (1,i+1), (i,1), (i+1,1)\}$ with queens. In each stage will fill two squares in column one and two squares in row one, so the total number of queens attacking either horizontally or vertically must be even and further there are no queens which can attack from either of the two diagonals. Squares $(i,1)$ and $(1, i+1)$ are not on a line vertically, horizontally, or diagonally, so a queen can be placed on each of these squares. The remaining squares $(i+1,1)$ and $(1,i)$ can be attacked by both queens that were just played and also are not on a line with each other vertically, horizontally, or diagonally. We can fill these squares with queens. After repeating this process $\frac{n-1}{2}$ times, each square in the first row and first column, except the square in the upper left corner, contains a queen. As the square in the upper left can be attacked by all $2(n-1)$ queens on the board, we can place the final queen in this position and hence lock the board.
  855. \end{proof}
  856. We can find a locked board in the case where $n$ is even as well.
  857. \begin{proposition}
  858. For $n$ an even positive integer and $n>2$, the chessboard with queens on squares in the set $\{(1,i), (i,1) | 2\leq i \leq n-1\} \cup \{(n,n)\}$ is a legal, locked game position.
  859. \end{proposition}
  860. The proof is similar to that of Proposition~\ref{odd_locked}, so we leave to the reader to check that this chessboard is locked and arises from a sequence of legal game moves.
  861. We can now make the following observation:
  862. %\begin{fact}
  863. \begin{corollary}
  864. When $n$ is an odd positive integer, at most $2n -1$ queens are needed to lock the board, and
  865. %\end{corollary}
  866. %\begin{corollary}
  867. when $n$ is an even positive integer, at most $2n-3$ queens are needed to lock the board.
  868. \end{corollary}
  869. %\end{fact}
  870. This corollary gives an upper bound on the number of queens need to lock an even or odd chessboard, but is this bound strict? We know for very small values of $n$ the chessboard can be locked with fewer queens, but what about larger values? We pose the next question.
  871. \begin{ques}
  872. What is the minimum number of queens needed to lock a $n\times n$ chessboard?
  873. \end{ques}
  874. Next, we will look at different versions of the game with alternate rules and the connections between them.
  875. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  876. \section{In the Alternate Universe}\label{Alternate}
  877. Thus far, we have seen that there is a difference in outcomes for chessboards with even and odd length. We wish to modify the rules of the game to look at an alternative version of the game where queens can be placed on squares that are attacked by an \textit{odd} number of queens and cannot be placed on squares attacked by an even number of queens. We will call such a game an \textbf{alternate universe mod 2 $\bm{n}$-queens game}.
  878. The first observation is that generally this cannot happen as an empty board has no squares attacked by an odd number of queens. So we will modify the rules again to start with one queen already on the board before we commence play. %From a strategy standpoint, in this alternate universe game a new queen cannot be placed unless she is ``covered" by an odd number of queens.
  879. A second way to play the game would be to start with $n^2$ queens on the board and try to remove the queens one by one following the rule that a queen may be removed as long as she can be attacked by an even number of queens. We call such a game an \textbf{complementary mod 2 $\bm{n}$-queens game}. The relationship between alternate universe, complementary games, and standard mod 2 $n$-queens games is dependent on the size of the chessboard.
  880. \begin{proposition}
  881. When $n$ is an even positive integer, the alternate universe mod 2 $n$-queens games are in bijection with complementary mod 2 $n$-queens games.
  882. \end{proposition}
  883. \begin{proof} Earlier we saw that if an even length chessboard is fully covered with queens, each square is attacked by an odd number of queens. The initial step for both games in the same. We place one queen in the alternate universe and remove one queen from the same square in the full complementary game. While playing the complementary game, queens can only be removed if the number of queens attacking is even and hence because of the parity of the board, it means the number of empty squares ``attacking" must be odd. By taking the complement of the board, removing queens to make empty squares, and placing queens on otherwise empty squares, we can go back and forth from the complementary game to the alternate universe game.
  884. \end{proof}
  885. We note that the alternate universe game on the odd length chessboards does not have the same relationship. In fact, we have the following:
  886. \begin{proposition}
  887. When $n$ is an odd positive integer, the complementary mod 2 $n$-queens games are in bijection with standard mod 2 $n$-queens games.
  888. \end{proposition}
  889. \begin{proof} In this case, the beginning parity for every square on a complementary game board is even. We obtain the bijection by placing a queen in the same square of the standard game from which we removed it in the complementary game.
  890. \end{proof}
  891. Thus for each case, even or odd length chessboard, there is really only two different games to be played, standard and alternate universe, as the complementary game can be completely reconstructed from one of the other two games.
  892. We conclude this section with an open-ended question.
  893. \begin{ques}
  894. What other $n$-queens games can be played on a $n\times n$ chessboard? In particular, how could we adapt play for a \textbf{mod k $\bm{n}$-queens game}?
  895. \end{ques}
  896. In the next section we will discuss the complexity of the game and give examples of a game tree and a graph created from this tree.
  897. % For all three types of play and all chessboard sizes we have the following theorem used in the proof of Proposition~\ref{even_complete}.
  898. % \begin{theorem}\label{n2-1}
  899. % If a valid game board has $n^2-1$ queens, the $n^2$ queen may always be placed on the board.
  900. % \end{theorem}
  901. %
  902. % In particular, we have the following corollary mentioned in Section~\ref{Complete}.
  903. %
  904. % \begin{corollary}
  905. % The maximum number of queens which may be played on a $n\times n$ chessboard with even length in $n^2-2$.
  906. % \end{corollary}
  907. %
  908. % To prove Theorem~\ref{n2-1} consider the moves leading up to a filled board and backtrack so there are four empty squares on the chessboard. The claim is that if we can place the last three queens, then we will also always be able to place the fourth and final queen.
  909. %
  910. % \begin{proof}
  911. % Suppose we have a $n\times n$ chessboard for $n\geq 4$ that has had $n^2-4$ queens placed on the board, each by valid moves in either the standard or alternate modulo two game. Now consider squares that are attacked by the maximum number of queens. While each square might not be attacked by the same number of queens, the parity of the squares is the same, all even or all odd. Let $m>>0$ be any number which represent that parity. Depending on the relationship with each other, the four empty squares can be attacked by values between $m$ and $m-3$. There are several cases to consider.
  912. % \begin{enumerate}
  913. % \item Suppose all four squares are pairwise knight's moves away from each other, that is, no pair lies on the same line and thus cannot attack each other. Each square is therefore attacked by $m$ queens and either all can be placed since placing a queen won't change the parity, or none can be placed.
  914. %
  915. % \item Now, let two queens be on a line and the other two be pairwise knight's moves away. The collinear queens are attacked by $m-1$ queens and the other two are attacked by the maximum number of queens $m$. Because $m$ and $m-1$ cannot both be even or odd, we may either place only the two non-collinear queens or exactly one of the other queens. In neither case, could we end up with $n^2-1$ queens on the board.
  916. %
  917. % \item In this case, let one queen be pairwise knight's moves away from the other three and thus is attacked by $m$ queens. The other three queens may each be able to attack both of the others and hence be attacked by $m-2$ queens or one queen may be able to attack both while the other two cannot attack each other. In the former case, the parity of all four queens is the same, so either we can place no queens or we may place exactly two, that is, the disjoint queen and exactly one of the other three connected queens. Once we have placed that second queen the remaining empty spaces are now attacked by $m-1$ queens and therefore are not open squares. The latter case is similar, if we can place the disconnected queen, then we must place the second queen between the other two open squares so both are then attacked by $m-1$ queens. On the other hand, if we cannot place the disconnected queen then we can place only two of the other three queens, that is, place one queen and the parity of both of the other two connected squares is $m-1$, choosing either one closes the other.
  918. %
  919. % \item In the final, most complicated case, suppose all the queens are collinear with at least one other queen. There are several scenarios to consider.
  920. % \begin{enumerate}
  921. % \item First,...
  922. %
  923. % \end{enumerate}
  924. % \end{enumerate}
  925. %
  926. % \end{proof}
  927. \section{Game Trees, Graphs, and Complexity}\label{Graph}
  928. Chess and other games played with chess pieces are complex games. We will discuss several standard measures of complexity of a game for the mod 2 $n$-queens game. A \textbf{game tree} is the rooted tree whose root is the empty board and whose leaves are locked or complete boards such that the directed paths from the root to a leaf display all possible games. Figure~\ref{game_tree} shows the first three levels of the game tree in the case where $n=3$.
  929. %\begin{figure}[ht]
  930. %\hspace{-18pt}
  931. %\includegraphics[scale=.55]{gametree.png}
  932. %\caption{Partial game tree for $n=3$}
  933. %\label{game_tree}
  934. %\end{figure}
  935. \begin{figure}[ht]
  936. \hspace{18pt}
  937. \begin{tikzpicture}[
  938. every node/.style = {shape=circle, draw}
  939. level 1/.style={shape=circle, draw,sibling distance=16em},
  940. level 2/.style={sibling distance=2em}, %the pairs
  941. level 3/.style={sibling distance=0.4em}, %the group of fives
  942. level 4/.style={sibling distance=3em}
  943. every node/.style = {shape=circle, draw}]
  944. \node[shape=circle, fill=black,scale=0.3,draw] {}
  945. child { node[shape=circle, fill=black,scale=0.3, draw] {}
  946. child { node[shape=circle, fill=black,scale=0.3, draw] {}
  947. child { node[shape=circle, fill=black,scale=0.3, draw] {} }
  948. child { node[shape=circle, fill=black,scale=0.3, draw] {} }
  949. child { node[shape=circle, fill=black,scale=0.3, draw] {} }
  950. child { node[shape=circle, fill=black,scale=0.3, draw] {} }
  951. child { node[shape=circle, fill=black,scale=0.3, draw] {} }
  952. }
  953. child { node[shape=circle, fill=black,scale=0.3, draw] {}
  954. child { node[shape=circle, fill=black,scale=0.3, draw] {} }
  955. child { node[shape=circle, fill=black,scale=0.3, draw] {} }
  956. child { node[shape=circle, fill=black,scale=0.3, draw] {} }
  957. child { node[shape=circle, fill=black,scale=0.3, draw] {} }
  958. child { node[shape=circle, fill=black,scale=0.3, draw] {} }
  959. }
  960. }
  961. child { node[shape=circle, fill=black,scale=0.3, draw] {}
  962. child { node[shape=circle, fill=black,scale=0.3, draw] {}
  963. child { node[shape=circle, fill=black,scale=0.3, draw] {} }
  964. child { node[shape=circle, fill=black,scale=0.3, draw] {} }
  965. child { node[shape=circle, fill=black,scale=0.3, draw] {} }
  966. child { node[shape=circle, fill=black,scale=0.3, draw] {} }
  967. child { node[shape=circle, fill=black,scale=0.3, draw] {} }
  968. }
  969. child { node[shape=circle, fill=black,scale=0.3, draw] {}
  970. child { node[shape=circle, fill=black,scale=0.3, draw] {} }
  971. child { node[shape=circle, fill=black,scale=0.3, draw] {} }
  972. child { node[shape=circle, fill=black,scale=0.3, draw] {} }
  973. child { node[shape=circle, fill=black,scale=0.3, draw] {} }
  974. child { node[shape=circle, fill=black,scale=0.3, draw] {} }
  975. }
  976. }
  977. child { node[shape=circle, fill=black,scale=0.3, draw] {}
  978. child { node[shape=circle, fill=black,scale=0.3, draw] {}
  979. child { node[shape=circle, fill=black,scale=0.3, draw] {} }
  980. child { node[shape=circle, fill=black,scale=0.3, draw] {} }
  981. child { node[shape=circle, fill=black,scale=0.3, draw] {} }
  982. child { node[shape=circle, fill=black,scale=0.3, draw] {} }
  983. child { node[shape=circle, fill=black,scale=0.3, draw] {} }
  984. }
  985. child { node[shape=circle, fill=black,scale=0.3, draw] {}
  986. child { node[shape=circle, fill=black,scale=0.3, draw] {} }
  987. child { node[shape=circle, fill=black,scale=0.3, draw] {} }
  988. child { node[shape=circle, fill=black,scale=0.3, draw] {} }
  989. child { node[shape=circle, fill=black,scale=0.3, draw] {} }
  990. child { node[shape=circle, fill=black,scale=0.3, draw] {} }
  991. }
  992. }
  993. child { node[shape=circle, fill=black,scale=0.3, draw] {}
  994. child { node[shape=circle, fill=black,scale=0.3, draw] {}
  995. child { node[shape=circle, fill=black,scale=0.3, draw] {} }
  996. child { node[shape=circle, fill=black,scale=0.3, draw] {} }
  997. child { node[shape=circle, fill=black,scale=0.3, draw] {} }
  998. child { node[shape=circle, fill=black,scale=0.3, draw] {} }
  999. child { node[shape=circle, fill=black,scale=0.3, draw] {} }
  1000. }
  1001. child { node[shape=circle, fill=black,scale=0.3, draw] {}
  1002. child { node[shape=circle, fill=black,scale=0.3, draw] {} }
  1003. child { node[shape=circle, fill=black,scale=0.3, draw] {} }
  1004. child { node[shape=circle, fill=black,scale=0.3, draw] {} }
  1005. child { node[shape=circle, fill=black,scale=0.3, draw] {} }
  1006. child { node[shape=circle, fill=black,scale=0.3, draw] {} }
  1007. }
  1008. }
  1009. child { node[shape=circle, fill=white,scale=0.3, draw] {} }
  1010. child { node[shape=circle, fill=black,scale=0.3, draw] {}
  1011. child { node[shape=circle, fill=black,scale=0.3, draw] {}
  1012. child { node[shape=circle, fill=black,scale=0.3, draw] {} }
  1013. child { node[shape=circle, fill=black,scale=0.3, draw] {} }
  1014. child { node[shape=circle, fill=black,scale=0.3, draw] {} }
  1015. child { node[shape=circle, fill=black,scale=0.3, draw] {} }
  1016. child { node[shape=circle, fill=black,scale=0.3, draw] {} }
  1017. }
  1018. child { node[shape=circle, fill=black,scale=0.3, draw] {}
  1019. child { node[shape=circle, fill=black,scale=0.3, draw] {} }
  1020. child { node[shape=circle, fill=black,scale=0.3, draw] {} }
  1021. child { node[shape=circle, fill=black,scale=0.3, draw] {} }
  1022. child { node[shape=circle, fill=black,scale=0.3, draw] {} }
  1023. child { node[shape=circle, fill=black,scale=0.3, draw] {} }
  1024. }
  1025. }
  1026. child { node[shape=circle, fill=black,scale=0.3, draw] {}
  1027. child { node[shape=circle, fill=black,scale=0.3, draw] {}
  1028. child { node[shape=circle, fill=black,scale=0.3, draw] {} }
  1029. child { node[shape=circle, fill=black,scale=0.3, draw] {} }
  1030. child { node[shape=circle, fill=black,scale=0.3, draw] {} }
  1031. child { node[shape=circle, fill=black,scale=0.3, draw] {} }
  1032. child { node[shape=circle, fill=black,scale=0.3, draw] {} }
  1033. }
  1034. child { node[shape=circle, fill=black,scale=0.3, draw] {}
  1035. child { node[shape=circle, fill=black,scale=0.3, draw] {} }
  1036. child { node[shape=circle, fill=black,scale=0.3, draw] {} }
  1037. child { node[shape=circle, fill=black,scale=0.3, draw] {} }
  1038. child { node[shape=circle, fill=black,scale=0.3, draw] {} }
  1039. child { node[shape=circle, fill=black,scale=0.3, draw] {} }
  1040. }
  1041. }
  1042. child { node[shape=circle, fill=black,scale=0.3, draw] {}
  1043. child { node[shape=circle, fill=black,scale=0.3, draw] {}
  1044. child { node[shape=circle, fill=black,scale=0.3, draw] {} }
  1045. child { node[shape=circle, fill=black,scale=0.3, draw] {} }
  1046. child { node[shape=circle, fill=black,scale=0.3, draw] {} }
  1047. child { node[shape=circle, fill=black,scale=0.3, draw] {} }
  1048. child { node[shape=circle, fill=black,scale=0.3, draw] {} }
  1049. }
  1050. child { node[shape=circle, fill=black,scale=0.3, draw] {}
  1051. child { node[shape=circle, fill=black,scale=0.3, draw] {} }
  1052. child { node[shape=circle, fill=black,scale=0.3, draw] {} }
  1053. child { node[shape=circle, fill=black,scale=0.3, draw] {} }
  1054. child { node[shape=circle, fill=black,scale=0.3, draw] {} }
  1055. child { node[shape=circle, fill=black,scale=0.3, draw] {} }
  1056. }
  1057. }
  1058. child { node[shape=circle, fill=black,scale=0.3, draw] {}
  1059. child { node[shape=circle, fill=black,scale=0.3, draw] {}
  1060. child { node[shape=circle, fill=black,scale=0.3, draw] {} }
  1061. child { node[shape=circle, fill=black,scale=0.3, draw] {} }
  1062. child { node[shape=circle, fill=black,scale=0.3, draw] {} }
  1063. child { node[shape=circle, fill=black,scale=0.3, draw] {} }
  1064. child { node[shape=circle, fill=black,scale=0.3, draw] {} }
  1065. }
  1066. child { node[shape=circle, fill=black,scale=0.3, draw] {}
  1067. child { node[shape=circle, fill=black,scale=0.3, draw] {} }
  1068. child { node[shape=circle, fill=black,scale=0.3, draw] {} }
  1069. child { node[shape=circle, fill=black,scale=0.3, draw] {} }
  1070. child { node[shape=circle, fill=black,scale=0.3, draw] {} }
  1071. child { node[shape=circle, fill=black,scale=0.3, draw] {} }
  1072. }
  1073. }
  1074. ;
  1075. \end{tikzpicture}
  1076. \caption{Partial game tree for $n=3$}
  1077. \label{game_tree}
  1078. \end{figure}
  1079. Because there are $n^2$ squares on the board, we can get an upper bound for the number of leaf nodes or \textbf{game tree size} at $n^2!$.
  1080. Many of the game boards represented by these nodes are identical or symmetric by rotation or reflection. In fact, any given game board has up to eight symmetric boards. To simplify the structure of this tree, we propose to combine nodes describing boards which are equivalent by symmetry. In this case, we have fewer nodes, but the tree has become a graph. Figure~\ref{fullgraph} shows the full graph for $n = 3$. This graph is still quite large even for smallest non-trivial value for $n$.
  1081. % \\\\
  1082. %\begin{figure}[ht]
  1083. %\hspace{90pt}
  1084. %\includegraphics[scale=.6]{ShortGraph}
  1085. %\caption{XXXXX}
  1086. %\label{shortgraph}
  1087. %\end{figure}
  1088. %\begin{center}
  1089. \begin{sidewaysfigure}[ht]
  1090. %\hspace{20pt}
  1091. \includegraphics[scale=.7]{ChessGraph.pdf}
  1092. \caption{Game graph for $n=3$}
  1093. \label{fullgraph}
  1094. \end{sidewaysfigure}
  1095. %\end{center}
  1096. %Observe that that the first node is the empty board, the last board is the full board, and each of the solid nodes correspond to a locked board.
  1097. % There is exactly 5 nodes that branch from each, and (?) nodes from those. We observe that this graph has symmetric properties, but is not quite symmetric due to the dead ends. Where do these dead ends come from to prevent a perfect symmetry? We now attempt to play alternate game starting with a full board, and then tracing backwards. This is what the tree looks like
  1098. % \\\\insert tree\\\\
  1099. % The regular tree fits just fine inside of here, and it has been highlighted. There are all sorts of nodes that spawn off to the sides of this board, and then quickly die. We do not continue these traces because they are illegal boards in the forwards game. To continue those nodes would make this graph that of the board of anarchy, of which this is a subset of. The dead end nodes in figure (eh?) exist here as well, but they are illegal. In the regular graph, the boards inverse does not appear in the graph because they are illegal. axiom/lemma/conjecture/thing A legal incomplete boards inverse (has inverse been defined?) will also be legal. A legal locked boards inverse will be illegal. (is there a legal parity? illegal locked and unlocked boards inverse have what legal parity?)
  1100. %
  1101. %
  1102. %Let $x$ be some incomplete board for some $n$. We can take $x$, and fit it inside any board of m such that $m \geq n$ This implies that you can fit the entire solution trace (from the empty board, to a board of $n^2$-queens) inside an empty board of $m$. Then every trace on n will fit inside m. Some traces on m will even include traces of n. This implies that the entire graph of some n will fit inside the graph of some m. As m and n get infinitely large, more and more of the tree of $m$ will be of the tree of $n$. We propose, as a conjecture, the relationships between the graphs of $m$ and $n$
  1103. We are also interested in the complexity of the game. Because, for some $n$, all possible squares may be filled, we have a finite set of $n^2$ squares; any subset of which could be filled with queens. This set of all subsets of $n^2$ elements is the power set which has size of $2^{n^2}$. Since defining rules for the board limits the number of game boards, $2^{n^2}$ is the upper bound for the \textbf{state-space complexity} or number of legal game positions. Therefore we have a complexity $O(2^{n^2})$ and this game is in EXPTIME.
  1104. We conclude with one final question.
  1105. \begin{ques}
  1106. Clearly, the upper bounds for the game tree size and the state-space complexity are not firm for all $n$. Can these be improved?
  1107. \end{ques}
  1108. \newcommand{\journal}[6]{{\sc #1,} #2, {\it #3} {\bf #4} (#5), #6.}
  1109. \newcommand{\book}[4]{{\sc #1,} ``#2,'' #3, #4.}
  1110. \newcommand{\bookf}[5]{{\sc #1,} ``#2,'' #3, #4, #5.}
  1111. \newcommand{\thesis}[4]{{\sc #1,} ``#2,'' Doctoral dissertation, #3, #4.}
  1112. \newcommand{\masters}[4]{{\sc #1,} ``#2,'' Thesis, #3, #4.}
  1113. \newcommand{\springer}[4]{{\sc #1,} ``#2,'' Lecture Notes in Math.,
  1114. Vol.\ #3, Springer-Verlag, Berlin, #4.}
  1115. \newcommand{\preprint}[3]{{\sc #1,} #2, preprint #3.}
  1116. \newcommand{\progress}[2]{{\sc #1,} #2, work in progress.}
  1117. \newcommand{\archive}[3]{{\sc #1,} #2, {\bf #3}.}
  1118. \newcommand{\unpublished}[1]{{\sc #1,} unpublished.}
  1119. \newcommand{\unpublisheddate}[2]{{\sc #1,} unpublished #2.}
  1120. \newcommand{\preparation}[2]{{\sc #1,} #2, in preparation.}
  1121. \newcommand{\appear}[3]{{\sc #1,} #2, to appear in {\it #3}.}
  1122. \newcommand{\submitted}[4]{{\sc #1,} #2, submitted to {\it #3}, #4.}
  1123. \newcommand{\AdvancesinMathematics}{Adv.\ Math.}
  1124. \newcommand{\DiscreteComputationalGeometry}{Discrete Comput.\ Geom.}
  1125. \newcommand{\DiscreteMath}{Discrete Math.}
  1126. \newcommand{\EuropeanJournalofCombinatorics}{European J.\ Combin.}
  1127. \newcommand{\JCTA}{J.\ Combin.\ Theory Ser.\ A}
  1128. \newcommand{\JCTB}{J.\ Combin.\ Theory Ser.\ B}
  1129. \newcommand{\JournalofAlgebraicCombinatorics}{J.\ Algebraic Combin.}
  1130. \newcommand{\communication}[1]{{\sc #1,} personal communication.}
  1131. \newcommand{\website}[2]{{\sc #1}, #2.}
  1132. \newcommand{\collection}[9]{{\sc #1,} #2,
  1133. in {\it #3} (#4), {\it #5},
  1134. #6, #7, #8, #9.}
  1135. \begin{thebibliography}{99}
  1136. \bibitem{Bell_Stevens}
  1137. \journal{J.\ Bell and B.\ Stevens}{A survey of known results and research areas for $n$-queens}{Discrete Math.}{309}{2009}{no. 1, pp. 1-31}
  1138. \bibitem{Bezzel}
  1139. \journal{M.\ Bezzel}{Proposal of 8-queens problem}{Berliner Schachzeitung}{3}{1848}{p. 363. (Submitted under the author name ``Schachfreund")}
  1140. \bibitem{Nauck}
  1141. \journal{F.\ Nauck}{Briefwechseln mit allen f\"ur alle}{Illustrirte Zeitung}{377}{1850}{no. 15, p. 182}
  1142. \bibitem{Noon}
  1143. \masters{H.\ Noon}{Surreal Numbers and the N-Queens Game}{Bennington College}{2002}
  1144. \bibitem{Pauls}
  1145. \journal{E.\ Pauls}{Das Maximalproblem der Damen auf dem Schachbrete}{Deutsche Schachzeitung. Organ f\"ur das Gasammte Schachleben }{29}{1874}{no. 5, pp. 129-134}
  1146. \bibitem{Pauls_2}
  1147. \journal{E.\ Pauls}{Das Maximalproblem der Damen auf dem Schachbrete,II}{Deutsche Schachzeitung. Organ f\"ur das Gasammte Schachleben}{29}{1874}{no. 9, pp. 257-267}
  1148. \end{thebibliography}
  1149. \end{document}