<?xml version="1.0" encoding="UTF-8" standalone="yes"?><oembed><version><![CDATA[1.0]]></version><provider_name><![CDATA[Chaos at the Sky]]></provider_name><provider_url><![CDATA[https://chaosatthesky.wordpress.com]]></provider_url><author_name><![CDATA[chaotic_iak]]></author_name><author_url><![CDATA[https://chaosatthesky.wordpress.com/author/chaoticiak/]]></author_url><title><![CDATA[Introduction to Combinatorial Game Theory, Part&nbsp;3]]></title><type><![CDATA[link]]></type><html><![CDATA[<p>Follow-up of <a href="https://chaosatthesky.wordpress.com/2015/01/02/intro-to-cgt-1/">the first part</a> and <a href="https://chaosatthesky.wordpress.com/2015/01/04/intro-to-cgt-2/">the second part</a>.</p>
<p><!--more--></p>
<p>Remember our discussion about impartial games and nimbers? Why do they matter? Well, a theorem called <a href="https://en.wikipedia.org/wiki/Sprague%E2%80%93Grundy_theorem">Sprague&mdash;Grundy theorem</a> states that <em>every impartial game is equivalent to a nimber</em>; that is, its value is a nimber. Got any terribly complicated impartial game? It&#8217;s actually just Nim in disguise. This theorem is very powerful to analyze most impartial games, allowing all sorts of results from Nim to be borrowed in, which is exactly what we&#8217;re going to do here with Monorail (also known as <a href="http://boardgamegeek.com/boardgame/1910/venice-connection">Venice Connection</a>). The rules of Monorail have been posted when I made <a href="https://chaosatthesky.wordpress.com/2014/12/08/the-genius-by-a-skymins-mind-7/">my post</a> a month or two ago; basically, you place tiles and attempt to produce a cycle using all tiles.</p>
<p>Before we start, let&#8217;s create a new game which we will call &#8220;Straight&#8221; for the lack of a better name. We have a board of an irregular shape, but the board is composed of squares and is gridded. (Basically you can cut off the board from a graph paper.) Some of the squares are initially marked. A move is to mark 1-3 squares that are contiguous and are in a straight line (horizontal/vertical), such that at least one of the new marked squares is <a href="https://chaosatthesky.wordpress.com/puzzles/terminology/#adj">orthogonally adjacent</a> to a previously marked square. Here&#8217;s an example board with the marked squares in dark blue and other squares in dark blue:</p>
<p><a href="https://chaosatthesky.files.wordpress.com/2015/01/straight0.png"><img loading="lazy" data-attachment-id="1652" data-permalink="https://chaosatthesky.wordpress.com/2015/01/08/intro-to-cgt-3/straight0/" data-orig-file="https://chaosatthesky.files.wordpress.com/2015/01/straight0.png" data-orig-size="195,131" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="straight0" data-image-description="" data-image-caption="" data-medium-file="https://chaosatthesky.files.wordpress.com/2015/01/straight0.png?w=195" data-large-file="https://chaosatthesky.files.wordpress.com/2015/01/straight0.png?w=195" src="https://chaosatthesky.files.wordpress.com/2015/01/straight0.png?w=195&#038;h=131" alt="straight0" width="195" height="131" class="aligncenter size-full wp-image-1652" srcset="https://chaosatthesky.files.wordpress.com/2015/01/straight0.png 195w, https://chaosatthesky.files.wordpress.com/2015/01/straight0.png?w=150&amp;h=101 150w" sizes="(max-width: 195px) 100vw, 195px" /></a></p>
<p>Here are several legal moves, marked in green:</p>
<p><a href="https://chaosatthesky.files.wordpress.com/2015/01/straight1.png"><img loading="lazy" data-attachment-id="1653" data-permalink="https://chaosatthesky.wordpress.com/2015/01/08/intro-to-cgt-3/straight1/" data-orig-file="https://chaosatthesky.files.wordpress.com/2015/01/straight1.png" data-orig-size="419,291" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="straight1" data-image-description="" data-image-caption="" data-medium-file="https://chaosatthesky.files.wordpress.com/2015/01/straight1.png?w=300" data-large-file="https://chaosatthesky.files.wordpress.com/2015/01/straight1.png?w=419" src="https://chaosatthesky.files.wordpress.com/2015/01/straight1.png?w=419&#038;h=291" alt="straight1" width="419" height="291" class="aligncenter size-full wp-image-1653" srcset="https://chaosatthesky.files.wordpress.com/2015/01/straight1.png 419w, https://chaosatthesky.files.wordpress.com/2015/01/straight1.png?w=150&amp;h=104 150w, https://chaosatthesky.files.wordpress.com/2015/01/straight1.png?w=300&amp;h=208 300w" sizes="(max-width: 419px) 100vw, 419px" /></a></p>
<p>And several illegal moves, marked in red:</p>
<p><a href="https://chaosatthesky.files.wordpress.com/2015/01/straight2.png"><img data-attachment-id="1654" data-permalink="https://chaosatthesky.wordpress.com/2015/01/08/intro-to-cgt-3/straight2/" data-orig-file="https://chaosatthesky.files.wordpress.com/2015/01/straight2.png" data-orig-size="419,291" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="straight2" data-image-description="" data-image-caption="" data-medium-file="https://chaosatthesky.files.wordpress.com/2015/01/straight2.png?w=300" data-large-file="https://chaosatthesky.files.wordpress.com/2015/01/straight2.png?w=419" src="https://chaosatthesky.files.wordpress.com/2015/01/straight2.png?w=1024&#038;h=711" alt="straight2"   class="aligncenter size-large wp-image-1654" srcset="https://chaosatthesky.files.wordpress.com/2015/01/straight2.png 419w, https://chaosatthesky.files.wordpress.com/2015/01/straight2.png?w=150&amp;h=104 150w, https://chaosatthesky.files.wordpress.com/2015/01/straight2.png?w=300&amp;h=208 300w" sizes="(max-width: 419px) 100vw, 419px" /></a></p>
<p>Note that this is an impartial game. Also note that as long as the board is connected and there is at least one marked square in the beginning, the whole board will eventually be filled. The player that cannot move (because the board is full) loses.</p>
<p>Let&#8217;s begin analyzing this game&#8230;</p>
<p>First, if the board is completely full, clearly the first player loses because it&#8217;s already full. The next simplest is when there is one empty square. Since we need a marked square and the board is connected, this empty square will be adjacent to some marked square, allowing the first player to mark it to win.</p>
<p>The next few simple games are two and three empty squares in a straight line. They are also trivially winning, as long as these squares are adjacent to some previously marked square. Note that we only need one marked square. In all cases, these positions are winning.</p>
<p><a href="https://chaosatthesky.files.wordpress.com/2015/01/straight3.png"><img loading="lazy" data-attachment-id="1655" data-permalink="https://chaosatthesky.wordpress.com/2015/01/08/intro-to-cgt-3/straight3/" data-orig-file="https://chaosatthesky.files.wordpress.com/2015/01/straight3.png" data-orig-size="259,67" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="straight3" data-image-description="" data-image-caption="" data-medium-file="https://chaosatthesky.files.wordpress.com/2015/01/straight3.png?w=259" data-large-file="https://chaosatthesky.files.wordpress.com/2015/01/straight3.png?w=259" src="https://chaosatthesky.files.wordpress.com/2015/01/straight3.png?w=259&#038;h=67" alt="straight3" width="259" height="67" class="aligncenter size-full wp-image-1655" srcset="https://chaosatthesky.files.wordpress.com/2015/01/straight3.png 259w, https://chaosatthesky.files.wordpress.com/2015/01/straight3.png?w=150&amp;h=39 150w" sizes="(max-width: 259px) 100vw, 259px" /></a></p>
<p>But what are their values? The full board is clearly <img src="https://s0.wp.com/latex.php?latex=%2A0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%2A0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%2A0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="*0" class="latex" />. The single empty square board is <img src="https://s0.wp.com/latex.php?latex=%2A1&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%2A1&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%2A1&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="*1" class="latex" />, as the only move is to leave it to a full board with is <img src="https://s0.wp.com/latex.php?latex=%2A0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%2A0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%2A0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="*0" class="latex" />. (Remember that <img src="https://s0.wp.com/latex.php?latex=%2A1+%3D+%5C%7B%2A0%5C%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%2A1+%3D+%5C%7B%2A0%5C%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%2A1+%3D+%5C%7B%2A0%5C%7D&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="*1 = &#92;{*0&#92;}" class="latex" />.) The double empty squares board is <img src="https://s0.wp.com/latex.php?latex=%2A2&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%2A2&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%2A2&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="*2" class="latex" />; we can mark one square, leaving a <img src="https://s0.wp.com/latex.php?latex=%2A1&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%2A1&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%2A1&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="*1" class="latex" />, or two squares, leaving a <img src="https://s0.wp.com/latex.php?latex=%2A0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%2A0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%2A0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="*0" class="latex" />. Similar with the triple empty squares giving <img src="https://s0.wp.com/latex.php?latex=%2A3&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%2A3&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%2A3&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="*3" class="latex" />.</p>
<p>What about four empty squares? Welcome to the first weirdness of the game!</p>
<p><a href="https://chaosatthesky.files.wordpress.com/2015/01/straight4.png"><img loading="lazy" data-attachment-id="1656" data-permalink="https://chaosatthesky.wordpress.com/2015/01/08/intro-to-cgt-3/straight4/" data-orig-file="https://chaosatthesky.files.wordpress.com/2015/01/straight4.png" data-orig-size="291,67" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="straight4" data-image-description="" data-image-caption="" data-medium-file="https://chaosatthesky.files.wordpress.com/2015/01/straight4.png?w=291" data-large-file="https://chaosatthesky.files.wordpress.com/2015/01/straight4.png?w=291" src="https://chaosatthesky.files.wordpress.com/2015/01/straight4.png?w=291&#038;h=67" alt="straight4" width="291" height="67" class="aligncenter size-full wp-image-1656" srcset="https://chaosatthesky.files.wordpress.com/2015/01/straight4.png 291w, https://chaosatthesky.files.wordpress.com/2015/01/straight4.png?w=150&amp;h=35 150w" sizes="(max-width: 291px) 100vw, 291px" /></a></p>
<p>The left position is <em>losing</em>. The only available moves are <img src="https://s0.wp.com/latex.php?latex=%2A3%2C+%2A2%2C+%2A1&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%2A3%2C+%2A2%2C+%2A1&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%2A3%2C+%2A2%2C+%2A1&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="*3, *2, *1" class="latex" />, and thus since it&#8217;s missing <img src="https://s0.wp.com/latex.php?latex=%2A0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%2A0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%2A0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="*0" class="latex" />, its value is <img src="https://s0.wp.com/latex.php?latex=%2A0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%2A0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%2A0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="*0" class="latex" />. Remember how <img src="https://s0.wp.com/latex.php?latex=%5C%7B%2A3%2C+%2A2%2C+%2A1%5C%7D+%3D+%2A0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%5C%7B%2A3%2C+%2A2%2C+%2A1%5C%7D+%3D+%2A0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%5C%7B%2A3%2C+%2A2%2C+%2A1%5C%7D+%3D+%2A0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="&#92;{*3, *2, *1&#92;} = *0" class="latex" />. The right position is <em>winning</em>; indeed, its value is as we expected, <img src="https://s0.wp.com/latex.php?latex=%2A4&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%2A4&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%2A4&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="*4" class="latex" />, since it has the additional available move of marking the two middle squares to leave <img src="https://s0.wp.com/latex.php?latex=%2A1+%2B+%2A1+%3D+%2A0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%2A1+%2B+%2A1+%3D+%2A0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%2A1+%2B+%2A1+%3D+%2A0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="*1 + *1 = *0" class="latex" />.</p>
<p>&#8230;got confused? Try digesting it more slowly. The left position is losing, as it is <img src="https://s0.wp.com/latex.php?latex=%5C%7B%2A3%2C+%2A2%2C+%2A1%5C%7D+%3D+%2A0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%5C%7B%2A3%2C+%2A2%2C+%2A1%5C%7D+%3D+%2A0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%5C%7B%2A3%2C+%2A2%2C+%2A1%5C%7D+%3D+%2A0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="&#92;{*3, *2, *1&#92;} = *0" class="latex" />.</p>
<p><a href="https://chaosatthesky.files.wordpress.com/2015/01/straight5.png"><img loading="lazy" data-attachment-id="1657" data-permalink="https://chaosatthesky.wordpress.com/2015/01/08/intro-to-cgt-3/straight5/" data-orig-file="https://chaosatthesky.files.wordpress.com/2015/01/straight5.png" data-orig-size="323,259" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="straight5" data-image-description="" data-image-caption="" data-medium-file="https://chaosatthesky.files.wordpress.com/2015/01/straight5.png?w=300" data-large-file="https://chaosatthesky.files.wordpress.com/2015/01/straight5.png?w=323" src="https://chaosatthesky.files.wordpress.com/2015/01/straight5.png?w=323&#038;h=259" alt="straight5" width="323" height="259" class="aligncenter size-full wp-image-1657" srcset="https://chaosatthesky.files.wordpress.com/2015/01/straight5.png 323w, https://chaosatthesky.files.wordpress.com/2015/01/straight5.png?w=150&amp;h=120 150w, https://chaosatthesky.files.wordpress.com/2015/01/straight5.png?w=300&amp;h=241 300w" sizes="(max-width: 323px) 100vw, 323px" /></a></p>
<p>But the right position is winning, as it is <img src="https://s0.wp.com/latex.php?latex=%5C%7B%2A1%2B%2A2%2C+%2A1%2B%2A1%2C+%2A1%2C+%2A2%2C+%2A1%5C%7D+%3D+%5C%7B%2A3%2C+%2A0%2C+%2A1%2C+%2A2%2C+%2A1%5C%7D+%3D+%2A4&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%5C%7B%2A1%2B%2A2%2C+%2A1%2B%2A1%2C+%2A1%2C+%2A2%2C+%2A1%5C%7D+%3D+%5C%7B%2A3%2C+%2A0%2C+%2A1%2C+%2A2%2C+%2A1%5C%7D+%3D+%2A4&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%5C%7B%2A1%2B%2A2%2C+%2A1%2B%2A1%2C+%2A1%2C+%2A2%2C+%2A1%5C%7D+%3D+%5C%7B%2A3%2C+%2A0%2C+%2A1%2C+%2A2%2C+%2A1%5C%7D+%3D+%2A4&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="&#92;{*1+*2, *1+*1, *1, *2, *1&#92;} = &#92;{*3, *0, *1, *2, *1&#92;} = *4" class="latex" />.</p>
<p><a href="https://chaosatthesky.files.wordpress.com/2015/01/straight6.png"><img data-attachment-id="1658" data-permalink="https://chaosatthesky.wordpress.com/2015/01/08/intro-to-cgt-3/straight6/" data-orig-file="https://chaosatthesky.files.wordpress.com/2015/01/straight6.png" data-orig-size="483,259" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="straight6" data-image-description="" data-image-caption="" data-medium-file="https://chaosatthesky.files.wordpress.com/2015/01/straight6.png?w=300" data-large-file="https://chaosatthesky.files.wordpress.com/2015/01/straight6.png?w=483" src="https://chaosatthesky.files.wordpress.com/2015/01/straight6.png?w=1024&#038;h=549" alt="straight6"   class="aligncenter size-large wp-image-1658" srcset="https://chaosatthesky.files.wordpress.com/2015/01/straight6.png 483w, https://chaosatthesky.files.wordpress.com/2015/01/straight6.png?w=150&amp;h=80 150w, https://chaosatthesky.files.wordpress.com/2015/01/straight6.png?w=300&amp;h=161 300w" sizes="(max-width: 483px) 100vw, 483px" /></a></p>
<p>That&#8217;s more or less everything required! Simply carefully break down every move, compute its value, and find the minimum excluded value to find the original board&#8217;s value.</p>
<p>Note the second position above (the <img src="https://s0.wp.com/latex.php?latex=%2A4&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%2A4&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%2A4&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="*4" class="latex" /> one), and among its choices, see the one that separates into <img src="https://s0.wp.com/latex.php?latex=%2A1%2B%2A1&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%2A1%2B%2A1&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%2A1%2B%2A1&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="*1+*1" class="latex" />. With nimbers, we can clearly see that they add up to <img src="https://s0.wp.com/latex.php?latex=%2A0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%2A0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%2A0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="*0" class="latex" />. But sometimes the original position makes it more obvious: they are two identical shapes! So certainly they equate to the same value, summing up to <img src="https://s0.wp.com/latex.php?latex=%2A0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%2A0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%2A0&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="*0" class="latex" />. In winning strategy terms, this is &#8220;play symmetrically; whatever your opponent plays in one part, copy it in the other part&#8221;. Thus you can see how the following position is winning, by simply finding a single move that breaks the rest into pairs of identical pieces:</p>
<p><a href="https://chaosatthesky.files.wordpress.com/2015/01/straight7.png"><img loading="lazy" data-attachment-id="1659" data-permalink="https://chaosatthesky.wordpress.com/2015/01/08/intro-to-cgt-3/straight7/" data-orig-file="https://chaosatthesky.files.wordpress.com/2015/01/straight7.png" data-orig-size="163,195" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="straight7" data-image-description="" data-image-caption="" data-medium-file="https://chaosatthesky.files.wordpress.com/2015/01/straight7.png?w=163" data-large-file="https://chaosatthesky.files.wordpress.com/2015/01/straight7.png?w=163" src="https://chaosatthesky.files.wordpress.com/2015/01/straight7.png?w=163&#038;h=195" alt="straight7" width="163" height="195" class="aligncenter size-full wp-image-1659" srcset="https://chaosatthesky.files.wordpress.com/2015/01/straight7.png 163w, https://chaosatthesky.files.wordpress.com/2015/01/straight7.png?w=125&amp;h=150 125w" sizes="(max-width: 163px) 100vw, 163px" /></a></p>
<p>Evaluating the value is harder, but sticking with the same principle, we can try searching for moves that break into pairs of identical pieces, except for some piece whose value we already know. Of course, we cannot always get such move, and sometimes we need to look for pretty much all moves to determine that some value can or cannot be obtained.</p>
<p>Also note that the value is never more than the number of squares. This is not a coincidence and can be proven by strong induction.</p>
<p>With that, we&#8217;ll do one more board:</p>
<p><a href="https://chaosatthesky.files.wordpress.com/2015/01/straight8.png"><img loading="lazy" data-attachment-id="1660" data-permalink="https://chaosatthesky.wordpress.com/2015/01/08/intro-to-cgt-3/straight8/" data-orig-file="https://chaosatthesky.files.wordpress.com/2015/01/straight8.png" data-orig-size="131,163" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="straight8" data-image-description="" data-image-caption="" data-medium-file="https://chaosatthesky.files.wordpress.com/2015/01/straight8.png?w=131" data-large-file="https://chaosatthesky.files.wordpress.com/2015/01/straight8.png?w=131" src="https://chaosatthesky.files.wordpress.com/2015/01/straight8.png?w=131&#038;h=163" alt="straight8" width="131" height="163" class="aligncenter size-full wp-image-1660" /></a></p>
<p>You might be familiar with the shape; indeed, this is the exact Monorail board that I suggested in the original discussion linked above. As it turns out, the left L-part has value <img src="https://s0.wp.com/latex.php?latex=%2A6&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%2A6&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%2A6&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="*6" class="latex" /> as one can move in it to reach all of <img src="https://s0.wp.com/latex.php?latex=%2A0%2C+%2A1%2C+%5Cldots%2C+%2A5&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%2A0%2C+%2A1%2C+%5Cldots%2C+%2A5&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%2A0%2C+%2A1%2C+%5Cldots%2C+%2A5&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="*0, *1, &#92;ldots, *5" class="latex" /> positions.</p>
<p><a href="https://chaosatthesky.files.wordpress.com/2015/01/straight9.png"><img data-attachment-id="1661" data-permalink="https://chaosatthesky.wordpress.com/2015/01/08/intro-to-cgt-3/straight9/" data-orig-file="https://chaosatthesky.files.wordpress.com/2015/01/straight9.png" data-orig-size="643,186" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="straight9" data-image-description="" data-image-caption="" data-medium-file="https://chaosatthesky.files.wordpress.com/2015/01/straight9.png?w=300" data-large-file="https://chaosatthesky.files.wordpress.com/2015/01/straight9.png?w=643" src="https://chaosatthesky.files.wordpress.com/2015/01/straight9.png?w=1024&#038;h=296" alt="straight9"   class="aligncenter size-large wp-image-1661" srcset="https://chaosatthesky.files.wordpress.com/2015/01/straight9.png 643w, https://chaosatthesky.files.wordpress.com/2015/01/straight9.png?w=150&amp;h=43 150w, https://chaosatthesky.files.wordpress.com/2015/01/straight9.png?w=300&amp;h=87 300w" sizes="(max-width: 643px) 100vw, 643px" /></a></p>
<p>However, <strong>the d-part has value <img src="https://s0.wp.com/latex.php?latex=%2A2&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%2A2&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%2A2&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="*2" class="latex" />!</strong> Yes, I made a mistake in the original analysis. (I think. Someone please verify? I got the d-part is <img src="https://s0.wp.com/latex.php?latex=%5C%7B%2A0%2C+%2A0%2C+%2A0%2C+%2A1%2C+%2A4%2C+%2A4%2C+%2A5%2C+%2A5%2C+%2A5%2C+%2A5%2C+%2A6%2C+%2A6%5C%7D+%3D+%2A2&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%5C%7B%2A0%2C+%2A0%2C+%2A0%2C+%2A1%2C+%2A4%2C+%2A4%2C+%2A5%2C+%2A5%2C+%2A5%2C+%2A5%2C+%2A6%2C+%2A6%5C%7D+%3D+%2A2&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%5C%7B%2A0%2C+%2A0%2C+%2A0%2C+%2A1%2C+%2A4%2C+%2A4%2C+%2A5%2C+%2A5%2C+%2A5%2C+%2A5%2C+%2A6%2C+%2A6%5C%7D+%3D+%2A2&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="&#92;{*0, *0, *0, *1, *4, *4, *5, *5, *5, *5, *6, *6&#92;} = *2" class="latex" />.) Thus the value of the original board is <img src="https://s0.wp.com/latex.php?latex=%2A6%2B%2A2+%3D+%2A4&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%2A6%2B%2A2+%3D+%2A4&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%2A6%2B%2A2+%3D+%2A4&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="*6+*2 = *4" class="latex" />, and by using Nim strategy, the player to move wins by playing on <img src="https://s0.wp.com/latex.php?latex=%2A6&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%2A6&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%2A6&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="*6" class="latex" /> to reduce it to <img src="https://s0.wp.com/latex.php?latex=%2A2&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002" srcset="https://s0.wp.com/latex.php?latex=%2A2&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002 1x, https://s0.wp.com/latex.php?latex=%2A2&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002&#038;zoom=4.5 4x" alt="*2" class="latex" />.</p>
<p>Of course, in Monorail, the first player was the one that forced the above configuration and now it&#8217;s second player&#8217;s turn, so the first player made a fatal mistake of playing that move. But again, the reason I suggested this move was more psychological than logical. The fact that you know exactly how to respond on any opponent&#8217;s mistake also helps.</p>
<p>Then, another game for <a href="https://www.youtube.com/watch?v=aoA9SsD51no#t=1m17s">Jinho versus Hyunmin</a>. The track is completely determined at this point, and so we convert to a Straight position:</p>
<p><a href="https://chaosatthesky.files.wordpress.com/2015/01/straight10.png"><img loading="lazy" data-attachment-id="1662" data-permalink="https://chaosatthesky.wordpress.com/2015/01/08/intro-to-cgt-3/straight10/" data-orig-file="https://chaosatthesky.files.wordpress.com/2015/01/straight10.png" data-orig-size="227,99" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="straight10" data-image-description="" data-image-caption="" data-medium-file="https://chaosatthesky.files.wordpress.com/2015/01/straight10.png?w=227" data-large-file="https://chaosatthesky.files.wordpress.com/2015/01/straight10.png?w=227" src="https://chaosatthesky.files.wordpress.com/2015/01/straight10.png?w=227&#038;h=99" alt="straight10" width="227" height="99" class="aligncenter size-full wp-image-1662" srcset="https://chaosatthesky.files.wordpress.com/2015/01/straight10.png 227w, https://chaosatthesky.files.wordpress.com/2015/01/straight10.png?w=150&amp;h=65 150w" sizes="(max-width: 227px) 100vw, 227px" /></a></p>
<p>I haven&#8217;t completely evaluated the above. Anyone interested on figuring it out? I know when Hyunmin claimed the win (1:25), it was actually a loss (a win for player to move, Jinho).</p>
<p><a href="https://chaosatthesky.files.wordpress.com/2015/01/straight11.png"><img loading="lazy" data-attachment-id="1663" data-permalink="https://chaosatthesky.wordpress.com/2015/01/08/intro-to-cgt-3/straight11/" data-orig-file="https://chaosatthesky.files.wordpress.com/2015/01/straight11.png" data-orig-size="545,161" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="straight11" data-image-description="" data-image-caption="" data-medium-file="https://chaosatthesky.files.wordpress.com/2015/01/straight11.png?w=300" data-large-file="https://chaosatthesky.files.wordpress.com/2015/01/straight11.png?w=545" src="https://chaosatthesky.files.wordpress.com/2015/01/straight11.png?w=545&#038;h=161" alt="straight11" width="545" height="161" class="aligncenter size-full wp-image-1663" srcset="https://chaosatthesky.files.wordpress.com/2015/01/straight11.png 545w, https://chaosatthesky.files.wordpress.com/2015/01/straight11.png?w=150&amp;h=44 150w, https://chaosatthesky.files.wordpress.com/2015/01/straight11.png?w=300&amp;h=89 300w" sizes="(max-width: 545px) 100vw, 545px" /></a></p>
<p>That&#8217;s pretty much all I have about Monorail and Straight at the moment. I might write more, but it would be about some other impartial game and interesting observations from it.</p>
]]></html><thumbnail_url><![CDATA[https://chaosatthesky.files.wordpress.com/2015/01/straight0.png?fit=440%2C330]]></thumbnail_url><thumbnail_width><![CDATA[195]]></thumbnail_width><thumbnail_height><![CDATA[131]]></thumbnail_height></oembed>