about summary refs log tree commit diff stats
path: root/html/chessboard.mu.html
diff options
context:
space:
mode:
Diffstat (limited to 'html/chessboard.mu.html')
-rw-r--r--html/chessboard.mu.html116
1 files changed, 58 insertions, 58 deletions
diff --git a/html/chessboard.mu.html b/html/chessboard.mu.html
index ddc76c22..4d77517e 100644
--- a/html/chessboard.mu.html
+++ b/html/chessboard.mu.html
@@ -68,7 +68,7 @@ if ('onhashchange' in window) {
 <span id="L4" class="LineNr">  4 </span><span class="muRecipe">def</span> <a href='chessboard.mu.html#L4'>main</a> [
 <span id="L5" class="LineNr">  5 </span>  <span class="Constant">local-scope</span>
 <span id="L6" class="LineNr">  6 </span>  open-console  <span class="Comment"># take control of screen, keyboard and mouse</span>
-<span id="L7" class="LineNr">  7 </span>  <a href='081print.mu.html#L33'>clear-screen</a> <span class="Constant">0/screen</span>  <span class="Comment"># non-scrolling app</span>
+<span id="L7" class="LineNr">  7 </span>  <a href='081print.mu.html#L46'>clear-screen</a> <span class="Constant">0/screen</span>  <span class="Comment"># non-scrolling app</span>
 <span id="L8" class="LineNr">  8 </span>
 <span id="L9" class="LineNr">  9 </span>  <span class="Comment"># The chessboard function takes keyboard and screen objects as 'ingredients'.</span>
 <span id="L10" class="LineNr"> 10 </span>  <span class="Comment">#</span>
@@ -95,10 +95,10 @@ if ('onhashchange' in window) {
 <span id="L31" class="LineNr"> 31 </span><span class="Constant">]</span>
 <span id="L32" class="LineNr"> 32 </span>  ]
 <span id="L33" class="LineNr"> 33 </span>  run [
-<span id="L34" class="LineNr"> 34 </span>  <span class="Conceal">¦</span> <a href='081print.mu.html#L4'>screen</a>:&amp;:<a href='081print.mu.html#L4'>screen</a>, <a href='084console.mu.html#L23'>console</a>:&amp;:<a href='084console.mu.html#L23'>console</a> <span class="Special">&lt;-</span> <a href='chessboard.mu.html#L69'>chessboard</a> <a href='081print.mu.html#L4'>screen</a>:&amp;:<a href='081print.mu.html#L4'>screen</a>, <a href='084console.mu.html#L23'>console</a>:&amp;:<a href='084console.mu.html#L23'>console</a>
+<span id="L34" class="LineNr"> 34 </span>  <span class="Conceal">¦</span> <a href='081print.mu.html#L16'>screen</a>:&amp;:<a href='081print.mu.html#L16'>screen</a>, <a href='084console.mu.html#L23'>console</a>:&amp;:<a href='084console.mu.html#L23'>console</a> <span class="Special">&lt;-</span> <a href='chessboard.mu.html#L69'>chessboard</a> <a href='081print.mu.html#L16'>screen</a>:&amp;:<a href='081print.mu.html#L16'>screen</a>, <a href='084console.mu.html#L23'>console</a>:&amp;:<a href='084console.mu.html#L23'>console</a>
 <span id="L35" class="LineNr"> 35 </span>  <span class="Conceal">¦</span> <span class="Comment"># icon for the cursor</span>
 <span id="L36" class="LineNr"> 36 </span>  <span class="Conceal">¦</span> cursor-icon:char <span class="Special">&lt;-</span> copy <span class="Constant">9251/␣</span>
-<span id="L37" class="LineNr"> 37 </span>  <span class="Conceal">¦</span> <a href='081print.mu.html#L4'>screen</a> <span class="Special">&lt;-</span> print <a href='081print.mu.html#L4'>screen</a>, cursor-icon
+<span id="L37" class="LineNr"> 37 </span>  <span class="Conceal">¦</span> <a href='081print.mu.html#L16'>screen</a> <span class="Special">&lt;-</span> print <a href='081print.mu.html#L16'>screen</a>, cursor-icon
 <span id="L38" class="LineNr"> 38 </span>  ]
 <span id="L39" class="LineNr"> 39 </span>  screen-should-contain [
 <span id="L40" class="LineNr"> 40 </span>  <span class="Comment">#            1         2         3         4         5         6         7         8         9         10        11</span>
@@ -130,37 +130,37 @@ if ('onhashchange' in window) {
 <span id="L66" class="LineNr"> 66 </span>
 <span id="L67" class="LineNr"> 67 </span><span class="muData">type</span> <a href='chessboard.mu.html#L67'>board</a> = &amp;:@:&amp;:@:char  <span class="Comment"># a 2-D array of arrays of characters</span>
 <span id="L68" class="LineNr"> 68 </span>
-<span id="L69" class="LineNr"> 69 </span><span class="muRecipe">def</span> <a href='chessboard.mu.html#L69'>chessboard</a> <a href='081print.mu.html#L4'>screen</a>:&amp;:<a href='081print.mu.html#L4'>screen</a>, <a href='084console.mu.html#L23'>console</a>:&amp;:<a href='084console.mu.html#L23'>console</a><span class="muRecipe"> -&gt; </span><a href='081print.mu.html#L4'>screen</a>:&amp;:<a href='081print.mu.html#L4'>screen</a>, <a href='084console.mu.html#L23'>console</a>:&amp;:<a href='084console.mu.html#L23'>console</a> [
+<span id="L69" class="LineNr"> 69 </span><span class="muRecipe">def</span> <a href='chessboard.mu.html#L69'>chessboard</a> <a href='081print.mu.html#L16'>screen</a>:&amp;:<a href='081print.mu.html#L16'>screen</a>, <a href='084console.mu.html#L23'>console</a>:&amp;:<a href='084console.mu.html#L23'>console</a><span class="muRecipe"> -&gt; </span><a href='081print.mu.html#L16'>screen</a>:&amp;:<a href='081print.mu.html#L16'>screen</a>, <a href='084console.mu.html#L23'>console</a>:&amp;:<a href='084console.mu.html#L23'>console</a> [
 <span id="L70" class="LineNr"> 70 </span>  <span class="Constant">local-scope</span>
 <span id="L71" class="LineNr"> 71 </span>  <span class="Constant">load-ingredients</span>
 <span id="L72" class="LineNr"> 72 </span>  <a href='chessboard.mu.html#L67'>board</a>:<a href='chessboard.mu.html#L67'>board</a> <span class="Special">&lt;-</span> <a href='chessboard.mu.html#L180'>initial-position</a>
 <span id="L73" class="LineNr"> 73 </span>  <span class="Comment"># hook up stdin</span>
 <span id="L74" class="LineNr"> 74 </span>  stdin-in:&amp;:<a href='075channel.mu.html#L43'>source</a>:char, stdin-out:&amp;:<a href='075channel.mu.html#L47'>sink</a>:char <span class="Special">&lt;-</span> <a href='075channel.mu.html#L51'>new-channel</a> <span class="Constant">10/capacity</span>
-<span id="L75" class="LineNr"> 75 </span>  start-running <a href='084console.mu.html#L73'>send-keys-to-channel</a>, <a href='084console.mu.html#L23'>console</a>, stdin-out, <a href='081print.mu.html#L4'>screen</a>
+<span id="L75" class="LineNr"> 75 </span>  start-running <a href='084console.mu.html#L73'>send-keys-to-channel</a>, <a href='084console.mu.html#L23'>console</a>, stdin-out, <a href='081print.mu.html#L16'>screen</a>
 <span id="L76" class="LineNr"> 76 </span>  <span class="Comment"># buffer lines in stdin</span>
 <span id="L77" class="LineNr"> 77 </span>  buffered-stdin-in:&amp;:<a href='075channel.mu.html#L43'>source</a>:char, buffered-stdin-out:&amp;:<a href='075channel.mu.html#L47'>sink</a>:char <span class="Special">&lt;-</span> <a href='075channel.mu.html#L51'>new-channel</a> <span class="Constant">10/capacity</span>
 <span id="L78" class="LineNr"> 78 </span>  start-running <a href='075channel.mu.html#L408'>buffer-lines</a>, stdin-in, buffered-stdin-out
 <span id="L79" class="LineNr"> 79 </span>  <span class="Delimiter">{</span>
-<span id="L80" class="LineNr"> 80 </span>  <span class="Conceal">¦</span> print <a href='081print.mu.html#L4'>screen</a>, <span class="Constant">[Stupid text-mode chessboard. White pieces in uppercase; black pieces in lowercase. No checking for legal moves.</span>
+<span id="L80" class="LineNr"> 80 </span>  <span class="Conceal">¦</span> print <a href='081print.mu.html#L16'>screen</a>, <span class="Constant">[Stupid text-mode chessboard. White pieces in uppercase; black pieces in lowercase. No checking for legal moves.</span>
 <span id="L81" class="LineNr"> 81 </span><span class="Constant">]</span>
-<span id="L82" class="LineNr"> 82 </span>  <span class="Conceal">¦</span> <a href='081print.mu.html#L721'>cursor-to-next-line</a> <a href='081print.mu.html#L4'>screen</a>
-<span id="L83" class="LineNr"> 83 </span>  <span class="Conceal">¦</span> <a href='chessboard.mu.html#L144'>print-board</a> <a href='081print.mu.html#L4'>screen</a>, <a href='chessboard.mu.html#L67'>board</a>
-<span id="L84" class="LineNr"> 84 </span>  <span class="Conceal">¦</span> <a href='081print.mu.html#L721'>cursor-to-next-line</a> <a href='081print.mu.html#L4'>screen</a>
-<span id="L85" class="LineNr"> 85 </span>  <span class="Conceal">¦</span> print <a href='081print.mu.html#L4'>screen</a>, <span class="Constant">[Type in your <a href='chessboard.mu.html#L229'>move</a> as &lt;from square&gt;-&lt;to square&gt;. For example: 'a2-a4'. Then press &lt;enter&gt;.</span>
+<span id="L82" class="LineNr"> 82 </span>  <span class="Conceal">¦</span> <a href='081print.mu.html#L752'>cursor-to-next-line</a> <a href='081print.mu.html#L16'>screen</a>
+<span id="L83" class="LineNr"> 83 </span>  <span class="Conceal">¦</span> <a href='chessboard.mu.html#L144'>print-board</a> <a href='081print.mu.html#L16'>screen</a>, <a href='chessboard.mu.html#L67'>board</a>
+<span id="L84" class="LineNr"> 84 </span>  <span class="Conceal">¦</span> <a href='081print.mu.html#L752'>cursor-to-next-line</a> <a href='081print.mu.html#L16'>screen</a>
+<span id="L85" class="LineNr"> 85 </span>  <span class="Conceal">¦</span> print <a href='081print.mu.html#L16'>screen</a>, <span class="Constant">[Type in your <a href='chessboard.mu.html#L229'>move</a> as &lt;from square&gt;-&lt;to square&gt;. For example: 'a2-a4'. Then press &lt;enter&gt;.</span>
 <span id="L86" class="LineNr"> 86 </span><span class="Constant">]</span>
-<span id="L87" class="LineNr"> 87 </span>  <span class="Conceal">¦</span> <a href='081print.mu.html#L721'>cursor-to-next-line</a> <a href='081print.mu.html#L4'>screen</a>
-<span id="L88" class="LineNr"> 88 </span>  <span class="Conceal">¦</span> print <a href='081print.mu.html#L4'>screen</a> <span class="Constant">[Hit 'q' to exit.</span>
+<span id="L87" class="LineNr"> 87 </span>  <span class="Conceal">¦</span> <a href='081print.mu.html#L752'>cursor-to-next-line</a> <a href='081print.mu.html#L16'>screen</a>
+<span id="L88" class="LineNr"> 88 </span>  <span class="Conceal">¦</span> print <a href='081print.mu.html#L16'>screen</a> <span class="Constant">[Hit 'q' to exit.</span>
 <span id="L89" class="LineNr"> 89 </span><span class="Constant">]</span>
 <span id="L90" class="LineNr"> 90 </span>  <span class="Conceal">¦</span> <span class="Delimiter">{</span>
-<span id="L91" class="LineNr"> 91 </span>  <span class="Conceal">¦</span> <span class="Conceal">¦</span> <a href='081print.mu.html#L721'>cursor-to-next-line</a> <a href='081print.mu.html#L4'>screen</a>
-<span id="L92" class="LineNr"> 92 </span>  <span class="Conceal">¦</span> <span class="Conceal">¦</span> <a href='081print.mu.html#L4'>screen</a> <span class="Special">&lt;-</span> print <a href='081print.mu.html#L4'>screen</a>, <span class="Constant">[move: ]</span>
-<span id="L93" class="LineNr"> 93 </span>  <span class="Conceal">¦</span> <span class="Conceal">¦</span> m:&amp;:<a href='chessboard.mu.html#L229'>move</a>, quit:bool, error:bool <span class="Special">&lt;-</span> <a href='chessboard.mu.html#L238'>read-move</a> buffered-stdin-in, <a href='081print.mu.html#L4'>screen</a>
+<span id="L91" class="LineNr"> 91 </span>  <span class="Conceal">¦</span> <span class="Conceal">¦</span> <a href='081print.mu.html#L752'>cursor-to-next-line</a> <a href='081print.mu.html#L16'>screen</a>
+<span id="L92" class="LineNr"> 92 </span>  <span class="Conceal">¦</span> <span class="Conceal">¦</span> <a href='081print.mu.html#L16'>screen</a> <span class="Special">&lt;-</span> print <a href='081print.mu.html#L16'>screen</a>, <span class="Constant">[move: ]</span>
+<span id="L93" class="LineNr"> 93 </span>  <span class="Conceal">¦</span> <span class="Conceal">¦</span> m:&amp;:<a href='chessboard.mu.html#L229'>move</a>, quit:bool, error:bool <span class="Special">&lt;-</span> <a href='chessboard.mu.html#L238'>read-move</a> buffered-stdin-in, <a href='081print.mu.html#L16'>screen</a>
 <span id="L94" class="LineNr"> 94 </span>  <span class="Conceal">¦</span> <span class="Conceal">¦</span> <span class="muControl">break-if</span> quit, <span class="Constant">+quit</span>
 <span id="L95" class="LineNr"> 95 </span>  <span class="Conceal">¦</span> <span class="Conceal">¦</span> buffered-stdin-in <span class="Special">&lt;-</span> <a href='075channel.mu.html#L312'>clear</a> buffered-stdin-in  <span class="Comment"># cleanup after error. todo: test this?</span>
 <span id="L96" class="LineNr"> 96 </span>  <span class="Conceal">¦</span> <span class="Conceal">¦</span> <span class="muControl">loop-if</span> error
 <span id="L97" class="LineNr"> 97 </span>  <span class="Conceal">¦</span> <span class="Delimiter">}</span>
 <span id="L98" class="LineNr"> 98 </span>  <span class="Conceal">¦</span> <a href='chessboard.mu.html#L67'>board</a> <span class="Special">&lt;-</span> <a href='chessboard.mu.html#L537'>make-move</a> <a href='chessboard.mu.html#L67'>board</a>, m
-<span id="L99" class="LineNr"> 99 </span>  <span class="Conceal">¦</span> <a href='081print.mu.html#L4'>screen</a> <span class="Special">&lt;-</span> <a href='081print.mu.html#L33'>clear-screen</a> <a href='081print.mu.html#L4'>screen</a>
+<span id="L99" class="LineNr"> 99 </span>  <span class="Conceal">¦</span> <a href='081print.mu.html#L16'>screen</a> <span class="Special">&lt;-</span> <a href='081print.mu.html#L46'>clear-screen</a> <a href='081print.mu.html#L16'>screen</a>
 <span id="L100" class="LineNr">100 </span>  <span class="Conceal">¦</span> <span class="muControl">loop</span>
 <span id="L101" class="LineNr">101 </span>  <span class="Delimiter">}</span>
 <span id="L102" class="LineNr">102 </span><span class="Constant">  +quit</span>
@@ -205,7 +205,7 @@ if ('onhashchange' in window) {
 <span id="L141" class="LineNr">141 </span>  <span class="Delimiter">}</span>
 <span id="L142" class="LineNr">142 </span>]
 <span id="L143" class="LineNr">143 </span>
-<span id="L144" class="LineNr">144 </span><span class="muRecipe">def</span> <a href='chessboard.mu.html#L144'>print-board</a> <a href='081print.mu.html#L4'>screen</a>:&amp;:<a href='081print.mu.html#L4'>screen</a>, <a href='chessboard.mu.html#L67'>board</a>:<a href='chessboard.mu.html#L67'>board</a><span class="muRecipe"> -&gt; </span><a href='081print.mu.html#L4'>screen</a>:&amp;:<a href='081print.mu.html#L4'>screen</a> [
+<span id="L144" class="LineNr">144 </span><span class="muRecipe">def</span> <a href='chessboard.mu.html#L144'>print-board</a> <a href='081print.mu.html#L16'>screen</a>:&amp;:<a href='081print.mu.html#L16'>screen</a>, <a href='chessboard.mu.html#L67'>board</a>:<a href='chessboard.mu.html#L67'>board</a><span class="muRecipe"> -&gt; </span><a href='081print.mu.html#L16'>screen</a>:&amp;:<a href='081print.mu.html#L16'>screen</a> [
 <span id="L145" class="LineNr">145 </span>  <span class="Constant">local-scope</span>
 <span id="L146" class="LineNr">146 </span>  <span class="Constant">load-ingredients</span>
 <span id="L147" class="LineNr">147 </span>  row:num <span class="Special">&lt;-</span> copy<span class="Constant"> 7</span>  <span class="Comment"># start printing from the top of the board</span>
@@ -216,29 +216,29 @@ if ('onhashchange' in window) {
 <span id="L152" class="LineNr">152 </span>  <span class="Conceal">¦</span> <span class="muControl">break-if</span> done?
 <span id="L153" class="LineNr">153 </span>  <span class="Conceal">¦</span> <span class="Comment"># print rank number as a legend</span>
 <span id="L154" class="LineNr">154 </span>  <span class="Conceal">¦</span> rank:num <span class="Special">&lt;-</span> add row,<span class="Constant"> 1</span>
-<span id="L155" class="LineNr">155 </span>  <span class="Conceal">¦</span> print <a href='081print.mu.html#L4'>screen</a>, rank
-<span id="L156" class="LineNr">156 </span>  <span class="Conceal">¦</span> print <a href='081print.mu.html#L4'>screen</a>, <span class="Constant">[ | ]</span>
+<span id="L155" class="LineNr">155 </span>  <span class="Conceal">¦</span> print <a href='081print.mu.html#L16'>screen</a>, rank
+<span id="L156" class="LineNr">156 </span>  <span class="Conceal">¦</span> print <a href='081print.mu.html#L16'>screen</a>, <span class="Constant">[ | ]</span>
 <span id="L157" class="LineNr">157 </span>  <span class="Conceal">¦</span> <span class="Comment"># print each square in the row</span>
 <span id="L158" class="LineNr">158 </span>  <span class="Conceal">¦</span> col:num <span class="Special">&lt;-</span> copy<span class="Constant"> 0</span>
 <span id="L159" class="LineNr">159 </span>  <span class="Conceal">¦</span> <span class="Delimiter">{</span>
 <span id="L160" class="LineNr">160 </span>  <span class="Conceal">¦</span> <span class="Conceal">¦</span> done?:bool <span class="Special">&lt;-</span> equal col:num,<span class="Constant"> 8</span>
-<span id="L161" class="LineNr">161 </span>  <span class="Conceal">¦</span> <span class="Conceal">¦</span> <span class="muControl">break-if</span> done?:bool
+<span id="L161" class="LineNr">161 </span>  <span class="Conceal">¦</span> <span class="Conceal">¦</span> <span class="muControl">break-if</span> done?
 <span id="L162" class="LineNr">162 </span>  <span class="Conceal">¦</span> <span class="Conceal">¦</span> f:&amp;:@:char <span class="Special">&lt;-</span> index *board, col
 <span id="L163" class="LineNr">163 </span>  <span class="Conceal">¦</span> <span class="Conceal">¦</span> c:char <span class="Special">&lt;-</span> index *f, row
-<span id="L164" class="LineNr">164 </span>  <span class="Conceal">¦</span> <span class="Conceal">¦</span> print <a href='081print.mu.html#L4'>screen</a>, c
-<span id="L165" class="LineNr">165 </span>  <span class="Conceal">¦</span> <span class="Conceal">¦</span> print <a href='081print.mu.html#L4'>screen</a>, space
+<span id="L164" class="LineNr">164 </span>  <span class="Conceal">¦</span> <span class="Conceal">¦</span> print <a href='081print.mu.html#L16'>screen</a>, c
+<span id="L165" class="LineNr">165 </span>  <span class="Conceal">¦</span> <span class="Conceal">¦</span> print <a href='081print.mu.html#L16'>screen</a>, space
 <span id="L166" class="LineNr">166 </span>  <span class="Conceal">¦</span> <span class="Conceal">¦</span> col <span class="Special">&lt;-</span> add col,<span class="Constant"> 1</span>
 <span id="L167" class="LineNr">167 </span>  <span class="Conceal">¦</span> <span class="Conceal">¦</span> <span class="muControl">loop</span>
 <span id="L168" class="LineNr">168 </span>  <span class="Conceal">¦</span> <span class="Delimiter">}</span>
 <span id="L169" class="LineNr">169 </span>  <span class="Conceal">¦</span> row <span class="Special">&lt;-</span> subtract row,<span class="Constant"> 1</span>
-<span id="L170" class="LineNr">170 </span>  <span class="Conceal">¦</span> <a href='081print.mu.html#L721'>cursor-to-next-line</a> <a href='081print.mu.html#L4'>screen</a>
+<span id="L170" class="LineNr">170 </span>  <span class="Conceal">¦</span> <a href='081print.mu.html#L752'>cursor-to-next-line</a> <a href='081print.mu.html#L16'>screen</a>
 <span id="L171" class="LineNr">171 </span>  <span class="Conceal">¦</span> <span class="muControl">loop</span>
 <span id="L172" class="LineNr">172 </span>  <span class="Delimiter">}</span>
 <span id="L173" class="LineNr">173 </span>  <span class="Comment"># print file letters as legend</span>
-<span id="L174" class="LineNr">174 </span>  print <a href='081print.mu.html#L4'>screen</a>, <span class="Constant">[  +----------------]</span>
-<span id="L175" class="LineNr">175 </span>  <a href='081print.mu.html#L721'>cursor-to-next-line</a> <a href='081print.mu.html#L4'>screen</a>
-<span id="L176" class="LineNr">176 </span>  print <a href='081print.mu.html#L4'>screen</a>, <span class="Constant">[    a b c d e f g h]</span>
-<span id="L177" class="LineNr">177 </span>  <a href='081print.mu.html#L721'>cursor-to-next-line</a> <a href='081print.mu.html#L4'>screen</a>
+<span id="L174" class="LineNr">174 </span>  print <a href='081print.mu.html#L16'>screen</a>, <span class="Constant">[  +----------------]</span>
+<span id="L175" class="LineNr">175 </span>  <a href='081print.mu.html#L752'>cursor-to-next-line</a> <a href='081print.mu.html#L16'>screen</a>
+<span id="L176" class="LineNr">176 </span>  print <a href='081print.mu.html#L16'>screen</a>, <span class="Constant">[    a b c d e f g h]</span>
+<span id="L177" class="LineNr">177 </span>  <a href='081print.mu.html#L752'>cursor-to-next-line</a> <a href='081print.mu.html#L16'>screen</a>
 <span id="L178" class="LineNr">178 </span>]
 <span id="L179" class="LineNr">179 </span>
 <span id="L180" class="LineNr">180 </span><span class="muRecipe">def</span> <a href='chessboard.mu.html#L180'>initial-position</a><span class="muRecipe"> -&gt; </span><a href='chessboard.mu.html#L67'>board</a>:<a href='chessboard.mu.html#L67'>board</a> [
@@ -269,7 +269,7 @@ if ('onhashchange' in window) {
 <span id="L205" class="LineNr">205 </span>  <a href='chessboard.mu.html#L67'>board</a>:<a href='chessboard.mu.html#L67'>board</a> <span class="Special">&lt;-</span> <a href='chessboard.mu.html#L180'>initial-position</a>
 <span id="L206" class="LineNr">206 </span>  assume-screen <span class="Constant">30/width</span>, <span class="Constant">12/height</span>
 <span id="L207" class="LineNr">207 </span>  run [
-<span id="L208" class="LineNr">208 </span>  <span class="Conceal">¦</span> <a href='081print.mu.html#L4'>screen</a>:&amp;:<a href='081print.mu.html#L4'>screen</a> <span class="Special">&lt;-</span> <a href='chessboard.mu.html#L144'>print-board</a> <a href='081print.mu.html#L4'>screen</a>:&amp;:<a href='081print.mu.html#L4'>screen</a>, <a href='chessboard.mu.html#L67'>board</a>
+<span id="L208" class="LineNr">208 </span>  <span class="Conceal">¦</span> <a href='081print.mu.html#L16'>screen</a>:&amp;:<a href='081print.mu.html#L16'>screen</a> <span class="Special">&lt;-</span> <a href='chessboard.mu.html#L144'>print-board</a> <a href='081print.mu.html#L16'>screen</a>:&amp;:<a href='081print.mu.html#L16'>screen</a>, <a href='chessboard.mu.html#L67'>board</a>
 <span id="L209" class="LineNr">209 </span>  ]
 <span id="L210" class="LineNr">210 </span>  screen-should-contain [
 <span id="L211" class="LineNr">211 </span>  <span class="Comment">#  012345678901234567890123456789</span>
@@ -299,35 +299,35 @@ if ('onhashchange' in window) {
 <span id="L235" class="LineNr">235 </span>]
 <span id="L236" class="LineNr">236 </span>
 <span id="L237" class="LineNr">237 </span><span class="Comment"># prints only error messages to screen</span>
-<span id="L238" class="LineNr">238 </span><span class="muRecipe">def</span> <a href='chessboard.mu.html#L238'>read-move</a> stdin:&amp;:<a href='075channel.mu.html#L43'>source</a>:char, <a href='081print.mu.html#L4'>screen</a>:&amp;:<a href='081print.mu.html#L4'>screen</a><span class="muRecipe"> -&gt; </span>result:&amp;:<a href='chessboard.mu.html#L229'>move</a>, quit?:bool, error?:bool, stdin:&amp;:<a href='075channel.mu.html#L43'>source</a>:char, <a href='081print.mu.html#L4'>screen</a>:&amp;:<a href='081print.mu.html#L4'>screen</a> [
+<span id="L238" class="LineNr">238 </span><span class="muRecipe">def</span> <a href='chessboard.mu.html#L238'>read-move</a> stdin:&amp;:<a href='075channel.mu.html#L43'>source</a>:char, <a href='081print.mu.html#L16'>screen</a>:&amp;:<a href='081print.mu.html#L16'>screen</a><span class="muRecipe"> -&gt; </span>result:&amp;:<a href='chessboard.mu.html#L229'>move</a>, quit?:bool, error?:bool, stdin:&amp;:<a href='075channel.mu.html#L43'>source</a>:char, <a href='081print.mu.html#L16'>screen</a>:&amp;:<a href='081print.mu.html#L16'>screen</a> [
 <span id="L239" class="LineNr">239 </span>  <span class="Constant">local-scope</span>
 <span id="L240" class="LineNr">240 </span>  <span class="Constant">load-ingredients</span>
-<span id="L241" class="LineNr">241 </span>  from-file:num, quit?:bool, error?:bool <span class="Special">&lt;-</span> <a href='chessboard.mu.html#L266'>read-file</a> stdin, <a href='081print.mu.html#L4'>screen</a>
+<span id="L241" class="LineNr">241 </span>  from-file:num, quit?:bool, error?:bool <span class="Special">&lt;-</span> <a href='chessboard.mu.html#L266'>read-file</a> stdin, <a href='081print.mu.html#L16'>screen</a>
 <span id="L242" class="LineNr">242 </span>  <span class="muControl">return-if</span> quit?, <span class="Constant">0/dummy</span>
 <span id="L243" class="LineNr">243 </span>  <span class="muControl">return-if</span> error?, <span class="Constant">0/dummy</span>
 <span id="L244" class="LineNr">244 </span>  <span class="Comment"># construct the move object</span>
 <span id="L245" class="LineNr">245 </span>  result:&amp;:<a href='chessboard.mu.html#L229'>move</a> <span class="Special">&lt;-</span> new <span class="Constant"><a href='chessboard.mu.html#L229'>move</a>:type</span>
 <span id="L246" class="LineNr">246 </span>  *result <span class="Special">&lt;-</span> put *result, <span class="Constant">from-file:offset</span>, from-file
-<span id="L247" class="LineNr">247 </span>  from-rank:num, quit?, error? <span class="Special">&lt;-</span> <a href='chessboard.mu.html#L313'>read-rank</a> stdin, <a href='081print.mu.html#L4'>screen</a>
+<span id="L247" class="LineNr">247 </span>  from-rank:num, quit?, error? <span class="Special">&lt;-</span> <a href='chessboard.mu.html#L313'>read-rank</a> stdin, <a href='081print.mu.html#L16'>screen</a>
 <span id="L248" class="LineNr">248 </span>  <span class="muControl">return-if</span> quit?, <span class="Constant">0/dummy</span>
 <span id="L249" class="LineNr">249 </span>  <span class="muControl">return-if</span> error?, <span class="Constant">0/dummy</span>
 <span id="L250" class="LineNr">250 </span>  *result <span class="Special">&lt;-</span> put *result, <span class="Constant">from-rank:offset</span>, from-rank
-<span id="L251" class="LineNr">251 </span>  error? <span class="Special">&lt;-</span> <a href='chessboard.mu.html#L355'>expect-from-channel</a> stdin, <span class="Constant">45/dash</span>, <a href='081print.mu.html#L4'>screen</a>
+<span id="L251" class="LineNr">251 </span>  error? <span class="Special">&lt;-</span> <a href='chessboard.mu.html#L355'>expect-from-channel</a> stdin, <span class="Constant">45/dash</span>, <a href='081print.mu.html#L16'>screen</a>
 <span id="L252" class="LineNr">252 </span>  <span class="muControl">return-if</span> error?, <span class="Constant">0/dummy</span>, <span class="Constant">0/quit</span>
-<span id="L253" class="LineNr">253 </span>  to-file:num, quit?, error? <span class="Special">&lt;-</span> <a href='chessboard.mu.html#L266'>read-file</a> stdin, <a href='081print.mu.html#L4'>screen</a>
-<span id="L254" class="LineNr">254 </span>  <span class="muControl">return-if</span> quit?:bool, <span class="Constant">0/dummy</span>
-<span id="L255" class="LineNr">255 </span>  <span class="muControl">return-if</span> error?:bool, <span class="Constant">0/dummy</span>
+<span id="L253" class="LineNr">253 </span>  to-file:num, quit?, error? <span class="Special">&lt;-</span> <a href='chessboard.mu.html#L266'>read-file</a> stdin, <a href='081print.mu.html#L16'>screen</a>
+<span id="L254" class="LineNr">254 </span>  <span class="muControl">return-if</span> quit?, <span class="Constant">0/dummy</span>
+<span id="L255" class="LineNr">255 </span>  <span class="muControl">return-if</span> error?, <span class="Constant">0/dummy</span>
 <span id="L256" class="LineNr">256 </span>  *result <span class="Special">&lt;-</span> put *result, <span class="Constant">to-file:offset</span>, to-file
-<span id="L257" class="LineNr">257 </span>  to-rank:num, quit?, error? <span class="Special">&lt;-</span> <a href='chessboard.mu.html#L313'>read-rank</a> stdin, <a href='081print.mu.html#L4'>screen</a>
+<span id="L257" class="LineNr">257 </span>  to-rank:num, quit?, error? <span class="Special">&lt;-</span> <a href='chessboard.mu.html#L313'>read-rank</a> stdin, <a href='081print.mu.html#L16'>screen</a>
 <span id="L258" class="LineNr">258 </span>  <span class="muControl">return-if</span> quit?, <span class="Constant">0/dummy</span>
 <span id="L259" class="LineNr">259 </span>  <span class="muControl">return-if</span> error?, <span class="Constant">0/dummy</span>
 <span id="L260" class="LineNr">260 </span>  *result <span class="Special">&lt;-</span> put *result, <span class="Constant">to-rank:offset</span>, to-rank
-<span id="L261" class="LineNr">261 </span>  error? <span class="Special">&lt;-</span> <a href='chessboard.mu.html#L355'>expect-from-channel</a> stdin, <span class="Constant">10/newline</span>, <a href='081print.mu.html#L4'>screen</a>
+<span id="L261" class="LineNr">261 </span>  error? <span class="Special">&lt;-</span> <a href='chessboard.mu.html#L355'>expect-from-channel</a> stdin, <span class="Constant">10/newline</span>, <a href='081print.mu.html#L16'>screen</a>
 <span id="L262" class="LineNr">262 </span>  <span class="muControl">return-if</span> error?, <span class="Constant">0/dummy</span>, <span class="Constant">0/quit</span>
 <span id="L263" class="LineNr">263 </span>]
 <span id="L264" class="LineNr">264 </span>
 <span id="L265" class="LineNr">265 </span><span class="Comment"># valid values for file: 0-7</span>
-<span id="L266" class="LineNr">266 </span><span class="muRecipe">def</span> <a href='chessboard.mu.html#L266'>read-file</a> stdin:&amp;:<a href='075channel.mu.html#L43'>source</a>:char, <a href='081print.mu.html#L4'>screen</a>:&amp;:<a href='081print.mu.html#L4'>screen</a><span class="muRecipe"> -&gt; </span>file:num, quit:bool, error:bool, stdin:&amp;:<a href='075channel.mu.html#L43'>source</a>:char, <a href='081print.mu.html#L4'>screen</a>:&amp;:<a href='081print.mu.html#L4'>screen</a> [
+<span id="L266" class="LineNr">266 </span><span class="muRecipe">def</span> <a href='chessboard.mu.html#L266'>read-file</a> stdin:&amp;:<a href='075channel.mu.html#L43'>source</a>:char, <a href='081print.mu.html#L16'>screen</a>:&amp;:<a href='081print.mu.html#L16'>screen</a><span class="muRecipe"> -&gt; </span>file:num, quit:bool, error:bool, stdin:&amp;:<a href='075channel.mu.html#L43'>source</a>:char, <a href='081print.mu.html#L16'>screen</a>:&amp;:<a href='081print.mu.html#L16'>screen</a> [
 <span id="L267" class="LineNr">267 </span>  <span class="Constant">local-scope</span>
 <span id="L268" class="LineNr">268 </span>  <span class="Constant">load-ingredients</span>
 <span id="L269" class="LineNr">269 </span>  c:char, eof?:bool, stdin <span class="Special">&lt;-</span> read stdin
@@ -350,7 +350,7 @@ if ('onhashchange' in window) {
 <span id="L286" class="LineNr">286 </span>  <span class="Delimiter">{</span>
 <span id="L287" class="LineNr">287 </span>  <span class="Conceal">¦</span> newline?:bool <span class="Special">&lt;-</span> equal c, <span class="Constant">10/newline</span>
 <span id="L288" class="LineNr">288 </span>  <span class="Conceal">¦</span> <span class="muControl">break-unless</span> newline?
-<span id="L289" class="LineNr">289 </span>  <span class="Conceal">¦</span> print <a href='081print.mu.html#L4'>screen</a>, <span class="Constant">[that's not enough]</span>
+<span id="L289" class="LineNr">289 </span>  <span class="Conceal">¦</span> print <a href='081print.mu.html#L16'>screen</a>, <span class="Constant">[that's not enough]</span>
 <span id="L290" class="LineNr">290 </span>  <span class="Conceal">¦</span> <span class="muControl">return</span> <span class="Constant">0/dummy</span>, <span class="Constant">0/quit</span>, <span class="Constant">1/error</span>
 <span id="L291" class="LineNr">291 </span>  <span class="Delimiter">}</span>
 <span id="L292" class="LineNr">292 </span>  file:num <span class="Special">&lt;-</span> subtract c, <span class="Constant">97/a</span>
@@ -358,23 +358,23 @@ if ('onhashchange' in window) {
 <span id="L294" class="LineNr">294 </span>  <span class="Delimiter">{</span>
 <span id="L295" class="LineNr">295 </span>  <span class="Conceal">¦</span> above-min:bool <span class="Special">&lt;-</span> greater-or-equal file,<span class="Constant"> 0</span>
 <span id="L296" class="LineNr">296 </span>  <span class="Conceal">¦</span> <span class="muControl">break-if</span> above-min
-<span id="L297" class="LineNr">297 </span>  <span class="Conceal">¦</span> print <a href='081print.mu.html#L4'>screen</a>, <span class="Constant">[file too low: ]</span>
-<span id="L298" class="LineNr">298 </span>  <span class="Conceal">¦</span> print <a href='081print.mu.html#L4'>screen</a>, c
-<span id="L299" class="LineNr">299 </span>  <span class="Conceal">¦</span> <a href='081print.mu.html#L721'>cursor-to-next-line</a> <a href='081print.mu.html#L4'>screen</a>
+<span id="L297" class="LineNr">297 </span>  <span class="Conceal">¦</span> print <a href='081print.mu.html#L16'>screen</a>, <span class="Constant">[file too low: ]</span>
+<span id="L298" class="LineNr">298 </span>  <span class="Conceal">¦</span> print <a href='081print.mu.html#L16'>screen</a>, c
+<span id="L299" class="LineNr">299 </span>  <span class="Conceal">¦</span> <a href='081print.mu.html#L752'>cursor-to-next-line</a> <a href='081print.mu.html#L16'>screen</a>
 <span id="L300" class="LineNr">300 </span>  <span class="Conceal">¦</span> <span class="muControl">return</span> <span class="Constant">0/dummy</span>, <span class="Constant">0/quit</span>, <span class="Constant">1/error</span>
 <span id="L301" class="LineNr">301 </span>  <span class="Delimiter">}</span>
 <span id="L302" class="LineNr">302 </span>  <span class="Delimiter">{</span>
 <span id="L303" class="LineNr">303 </span>  <span class="Conceal">¦</span> below-max:bool <span class="Special">&lt;-</span> lesser-than file,<span class="Constant"> 8</span>
 <span id="L304" class="LineNr">304 </span>  <span class="Conceal">¦</span> <span class="muControl">break-if</span> below-max
-<span id="L305" class="LineNr">305 </span>  <span class="Conceal">¦</span> print <a href='081print.mu.html#L4'>screen</a>, <span class="Constant">[file too high: ]</span>
-<span id="L306" class="LineNr">306 </span>  <span class="Conceal">¦</span> print <a href='081print.mu.html#L4'>screen</a>, c
+<span id="L305" class="LineNr">305 </span>  <span class="Conceal">¦</span> print <a href='081print.mu.html#L16'>screen</a>, <span class="Constant">[file too high: ]</span>
+<span id="L306" class="LineNr">306 </span>  <span class="Conceal">¦</span> print <a href='081print.mu.html#L16'>screen</a>, c
 <span id="L307" class="LineNr">307 </span>  <span class="Conceal">¦</span> <span class="muControl">return</span> <span class="Constant">0/dummy</span>, <span class="Constant">0/quit</span>, <span class="Constant">1/error</span>
 <span id="L308" class="LineNr">308 </span>  <span class="Delimiter">}</span>
 <span id="L309" class="LineNr">309 </span>  <span class="muControl">return</span> file, <span class="Constant">0/quit</span>, <span class="Constant">0/error</span>
 <span id="L310" class="LineNr">310 </span>]
 <span id="L311" class="LineNr">311 </span>
 <span id="L312" class="LineNr">312 </span><span class="Comment"># valid values for rank: 0-7</span>
-<span id="L313" class="LineNr">313 </span><span class="muRecipe">def</span> <a href='chessboard.mu.html#L313'>read-rank</a> stdin:&amp;:<a href='075channel.mu.html#L43'>source</a>:char, <a href='081print.mu.html#L4'>screen</a>:&amp;:<a href='081print.mu.html#L4'>screen</a><span class="muRecipe"> -&gt; </span>rank:num, quit?:bool, error?:bool, stdin:&amp;:<a href='075channel.mu.html#L43'>source</a>:char, <a href='081print.mu.html#L4'>screen</a>:&amp;:<a href='081print.mu.html#L4'>screen</a> [
+<span id="L313" class="LineNr">313 </span><span class="muRecipe">def</span> <a href='chessboard.mu.html#L313'>read-rank</a> stdin:&amp;:<a href='075channel.mu.html#L43'>source</a>:char, <a href='081print.mu.html#L16'>screen</a>:&amp;:<a href='081print.mu.html#L16'>screen</a><span class="muRecipe"> -&gt; </span>rank:num, quit?:bool, error?:bool, stdin:&amp;:<a href='075channel.mu.html#L43'>source</a>:char, <a href='081print.mu.html#L16'>screen</a>:&amp;:<a href='081print.mu.html#L16'>screen</a> [
 <span id="L314" class="LineNr">314 </span>  <span class="Constant">local-scope</span>
 <span id="L315" class="LineNr">315 </span>  <span class="Constant">load-ingredients</span>
 <span id="L316" class="LineNr">316 </span>  c:char, eof?:bool, stdin <span class="Special">&lt;-</span> read stdin
@@ -392,7 +392,7 @@ if ('onhashchange' in window) {
 <span id="L328" class="LineNr">328 </span>  <span class="Delimiter">{</span>
 <span id="L329" class="LineNr">329 </span>  <span class="Conceal">¦</span> newline?:bool <span class="Special">&lt;-</span> equal c,<span class="Constant"> 10</span>  <span class="Comment"># newline</span>
 <span id="L330" class="LineNr">330 </span>  <span class="Conceal">¦</span> <span class="muControl">break-unless</span> newline?
-<span id="L331" class="LineNr">331 </span>  <span class="Conceal">¦</span> print <a href='081print.mu.html#L4'>screen</a>, <span class="Constant">[that's not enough]</span>
+<span id="L331" class="LineNr">331 </span>  <span class="Conceal">¦</span> print <a href='081print.mu.html#L16'>screen</a>, <span class="Constant">[that's not enough]</span>
 <span id="L332" class="LineNr">332 </span>  <span class="Conceal">¦</span> <span class="muControl">return</span> <span class="Constant">0/dummy</span>, <span class="Constant">0/quit</span>, <span class="Constant">1/error</span>
 <span id="L333" class="LineNr">333 </span>  <span class="Delimiter">}</span>
 <span id="L334" class="LineNr">334 </span>  rank:num <span class="Special">&lt;-</span> subtract c, <span class="Constant">49/'1'</span>
@@ -400,15 +400,15 @@ if ('onhashchange' in window) {
 <span id="L336" class="LineNr">336 </span>  <span class="Delimiter">{</span>
 <span id="L337" class="LineNr">337 </span>  <span class="Conceal">¦</span> above-min:bool <span class="Special">&lt;-</span> greater-or-equal rank,<span class="Constant"> 0</span>
 <span id="L338" class="LineNr">338 </span>  <span class="Conceal">¦</span> <span class="muControl">break-if</span> above-min
-<span id="L339" class="LineNr">339 </span>  <span class="Conceal">¦</span> print <a href='081print.mu.html#L4'>screen</a>, <span class="Constant">[rank too low: ]</span>
-<span id="L340" class="LineNr">340 </span>  <span class="Conceal">¦</span> print <a href='081print.mu.html#L4'>screen</a>, c
+<span id="L339" class="LineNr">339 </span>  <span class="Conceal">¦</span> print <a href='081print.mu.html#L16'>screen</a>, <span class="Constant">[rank too low: ]</span>
+<span id="L340" class="LineNr">340 </span>  <span class="Conceal">¦</span> print <a href='081print.mu.html#L16'>screen</a>, c
 <span id="L341" class="LineNr">341 </span>  <span class="Conceal">¦</span> <span class="muControl">return</span> <span class="Constant">0/dummy</span>, <span class="Constant">0/quit</span>, <span class="Constant">1/error</span>
 <span id="L342" class="LineNr">342 </span>  <span class="Delimiter">}</span>
 <span id="L343" class="LineNr">343 </span>  <span class="Delimiter">{</span>
 <span id="L344" class="LineNr">344 </span>  <span class="Conceal">¦</span> below-max:bool <span class="Special">&lt;-</span> lesser-or-equal rank,<span class="Constant"> 7</span>
 <span id="L345" class="LineNr">345 </span>  <span class="Conceal">¦</span> <span class="muControl">break-if</span> below-max
-<span id="L346" class="LineNr">346 </span>  <span class="Conceal">¦</span> print <a href='081print.mu.html#L4'>screen</a>, <span class="Constant">[rank too high: ]</span>
-<span id="L347" class="LineNr">347 </span>  <span class="Conceal">¦</span> print <a href='081print.mu.html#L4'>screen</a>, c
+<span id="L346" class="LineNr">346 </span>  <span class="Conceal">¦</span> print <a href='081print.mu.html#L16'>screen</a>, <span class="Constant">[rank too high: ]</span>
+<span id="L347" class="LineNr">347 </span>  <span class="Conceal">¦</span> print <a href='081print.mu.html#L16'>screen</a>, c
 <span id="L348" class="LineNr">348 </span>  <span class="Conceal">¦</span> <span class="muControl">return</span> <span class="Constant">0/dummy</span>, <span class="Constant">0/quit</span>, <span class="Constant">1/error</span>
 <span id="L349" class="LineNr">349 </span>  <span class="Delimiter">}</span>
 <span id="L350" class="LineNr">350 </span>  <span class="muControl">return</span> rank, <span class="Constant">0/quit</span>, <span class="Constant">0/error</span>
@@ -416,7 +416,7 @@ if ('onhashchange' in window) {
 <span id="L352" class="LineNr">352 </span>
 <span id="L353" class="LineNr">353 </span><span class="Comment"># read a character from the given channel and check that it's what we expect</span>
 <span id="L354" class="LineNr">354 </span><span class="Comment"># return true on error</span>
-<span id="L355" class="LineNr">355 </span><span class="muRecipe">def</span> <a href='chessboard.mu.html#L355'>expect-from-channel</a> stdin:&amp;:<a href='075channel.mu.html#L43'>source</a>:char, expected:char, <a href='081print.mu.html#L4'>screen</a>:&amp;:<a href='081print.mu.html#L4'>screen</a><span class="muRecipe"> -&gt; </span>result:bool, stdin:&amp;:<a href='075channel.mu.html#L43'>source</a>:char, <a href='081print.mu.html#L4'>screen</a>:&amp;:<a href='081print.mu.html#L4'>screen</a> [
+<span id="L355" class="LineNr">355 </span><span class="muRecipe">def</span> <a href='chessboard.mu.html#L355'>expect-from-channel</a> stdin:&amp;:<a href='075channel.mu.html#L43'>source</a>:char, expected:char, <a href='081print.mu.html#L16'>screen</a>:&amp;:<a href='081print.mu.html#L16'>screen</a><span class="muRecipe"> -&gt; </span>result:bool, stdin:&amp;:<a href='075channel.mu.html#L43'>source</a>:char, <a href='081print.mu.html#L16'>screen</a>:&amp;:<a href='081print.mu.html#L16'>screen</a> [
 <span id="L356" class="LineNr">356 </span>  <span class="Constant">local-scope</span>
 <span id="L357" class="LineNr">357 </span>  <span class="Constant">load-ingredients</span>
 <span id="L358" class="LineNr">358 </span>  c:char, eof?:bool, stdin <span class="Special">&lt;-</span> read stdin
@@ -424,7 +424,7 @@ if ('onhashchange' in window) {
 <span id="L360" class="LineNr">360 </span>  <span class="Delimiter">{</span>
 <span id="L361" class="LineNr">361 </span>  <span class="Conceal">¦</span> match?:bool <span class="Special">&lt;-</span> equal c, expected
 <span id="L362" class="LineNr">362 </span>  <span class="Conceal">¦</span> <span class="muControl">break-if</span> match?
-<span id="L363" class="LineNr">363 </span>  <span class="Conceal">¦</span> print <a href='081print.mu.html#L4'>screen</a>, <span class="Constant">[expected character not found]</span>
+<span id="L363" class="LineNr">363 </span>  <span class="Conceal">¦</span> print <a href='081print.mu.html#L16'>screen</a>, <span class="Constant">[expected character not found]</span>
 <span id="L364" class="LineNr">364 </span>  <span class="Delimiter">}</span>
 <span id="L365" class="LineNr">365 </span>  result <span class="Special">&lt;-</span> not match?
 <span id="L366" class="LineNr">366 </span>]
@@ -433,7 +433,7 @@ if ('onhashchange' in window) {
 <span id="L369" class="LineNr">369 </span>  <span class="Constant">local-scope</span>
 <span id="L370" class="LineNr">370 </span>  assume-screen <span class="Constant">20/width</span>, <span class="Constant">2/height</span>
 <span id="L371" class="LineNr">371 </span>  <a href='075channel.mu.html#L43'>source</a>:&amp;:<a href='075channel.mu.html#L43'>source</a>:char, <a href='075channel.mu.html#L47'>sink</a>:&amp;:<a href='075channel.mu.html#L47'>sink</a>:char <span class="Special">&lt;-</span> <a href='075channel.mu.html#L51'>new-channel</a> <span class="Constant">2/capacity</span>
-<span id="L372" class="LineNr">372 </span>  read-move-routine:num/routine <span class="Special">&lt;-</span> start-running <a href='chessboard.mu.html#L238'>read-move</a>, <a href='075channel.mu.html#L43'>source</a>, <a href='081print.mu.html#L4'>screen</a>:&amp;:<a href='081print.mu.html#L4'>screen</a>
+<span id="L372" class="LineNr">372 </span>  read-move-routine:num/routine <span class="Special">&lt;-</span> start-running <a href='chessboard.mu.html#L238'>read-move</a>, <a href='075channel.mu.html#L43'>source</a>, <a href='081print.mu.html#L16'>screen</a>:&amp;:<a href='081print.mu.html#L16'>screen</a>
 <span id="L373" class="LineNr">373 </span>  run [
 <span id="L374" class="LineNr">374 </span>  <span class="Conceal">¦</span> <span class="Comment"># 'read-move' is waiting for input</span>
 <span id="L375" class="LineNr">375 </span>  <span class="Conceal">¦</span> wait-for-routine-to-block read-move-routine
@@ -506,7 +506,7 @@ if ('onhashchange' in window) {
 <span id="L442" class="LineNr">442 </span>  <span class="Constant">local-scope</span>
 <span id="L443" class="LineNr">443 </span>  assume-screen <span class="Constant">20/width</span>, <span class="Constant">2/height</span>
 <span id="L444" class="LineNr">444 </span>  <a href='075channel.mu.html#L43'>source</a>:&amp;:<a href='075channel.mu.html#L43'>source</a>:char, <a href='075channel.mu.html#L47'>sink</a>:&amp;:<a href='075channel.mu.html#L47'>sink</a>:char <span class="Special">&lt;-</span> <a href='075channel.mu.html#L51'>new-channel</a> <span class="Constant">2/capacity</span>
-<span id="L445" class="LineNr">445 </span>  read-move-routine:num <span class="Special">&lt;-</span> start-running <a href='chessboard.mu.html#L238'>read-move</a>, <a href='075channel.mu.html#L43'>source</a>, <a href='081print.mu.html#L4'>screen</a>:&amp;:<a href='081print.mu.html#L4'>screen</a>
+<span id="L445" class="LineNr">445 </span>  read-move-routine:num <span class="Special">&lt;-</span> start-running <a href='chessboard.mu.html#L238'>read-move</a>, <a href='075channel.mu.html#L43'>source</a>, <a href='081print.mu.html#L16'>screen</a>:&amp;:<a href='081print.mu.html#L16'>screen</a>
 <span id="L446" class="LineNr">446 </span>  run [
 <span id="L447" class="LineNr">447 </span>  <span class="Conceal">¦</span> <span class="Comment"># 'read-move' is waiting for input</span>
 <span id="L448" class="LineNr">448 </span>  <span class="Conceal">¦</span> wait-for-routine-to-block read-move-routine
@@ -534,7 +534,7 @@ if ('onhashchange' in window) {
 <span id="L470" class="LineNr">470 </span>  <span class="Constant">local-scope</span>
 <span id="L471" class="LineNr">471 </span>  assume-screen <span class="Constant">20/width</span>, <span class="Constant">2/height</span>
 <span id="L472" class="LineNr">472 </span>  <a href='075channel.mu.html#L43'>source</a>:&amp;:<a href='075channel.mu.html#L43'>source</a>:char, <a href='075channel.mu.html#L47'>sink</a>:&amp;:<a href='075channel.mu.html#L47'>sink</a>:char <span class="Special">&lt;-</span> <a href='075channel.mu.html#L51'>new-channel</a> <span class="Constant">2/capacity</span>
-<span id="L473" class="LineNr">473 </span>  read-move-routine:num <span class="Special">&lt;-</span> start-running <a href='chessboard.mu.html#L238'>read-move</a>, <a href='075channel.mu.html#L43'>source</a>, <a href='081print.mu.html#L4'>screen</a>:&amp;:<a href='081print.mu.html#L4'>screen</a>
+<span id="L473" class="LineNr">473 </span>  read-move-routine:num <span class="Special">&lt;-</span> start-running <a href='chessboard.mu.html#L238'>read-move</a>, <a href='075channel.mu.html#L43'>source</a>, <a href='081print.mu.html#L16'>screen</a>:&amp;:<a href='081print.mu.html#L16'>screen</a>
 <span id="L474" class="LineNr">474 </span>  run [
 <span id="L475" class="LineNr">475 </span>  <span class="Conceal">¦</span> <span class="Comment"># 'read-move' is waiting for input</span>
 <span id="L476" class="LineNr">476 </span>  <span class="Conceal">¦</span> wait-for-routine-to-block read-move-routine
@@ -556,7 +556,7 @@ if ('onhashchange' in window) {
 <span id="L492" class="LineNr">492 </span>  <span class="Constant">local-scope</span>
 <span id="L493" class="LineNr">493 </span>  assume-screen <span class="Constant">20/width</span>, <span class="Constant">2/height</span>
 <span id="L494" class="LineNr">494 </span>  <a href='075channel.mu.html#L43'>source</a>:&amp;:<a href='075channel.mu.html#L43'>source</a>:char, <a href='075channel.mu.html#L47'>sink</a>:&amp;:<a href='075channel.mu.html#L47'>sink</a>:char <span class="Special">&lt;-</span> <a href='075channel.mu.html#L51'>new-channel</a> <span class="Constant">2/capacity</span>
-<span id="L495" class="LineNr">495 </span>  read-move-routine:num <span class="Special">&lt;-</span> start-running <a href='chessboard.mu.html#L238'>read-move</a>, <a href='075channel.mu.html#L43'>source</a>, <a href='081print.mu.html#L4'>screen</a>:&amp;:<a href='081print.mu.html#L4'>screen</a>
+<span id="L495" class="LineNr">495 </span>  read-move-routine:num <span class="Special">&lt;-</span> start-running <a href='chessboard.mu.html#L238'>read-move</a>, <a href='075channel.mu.html#L43'>source</a>, <a href='081print.mu.html#L16'>screen</a>:&amp;:<a href='081print.mu.html#L16'>screen</a>
 <span id="L496" class="LineNr">496 </span>  run [
 <span id="L497" class="LineNr">497 </span>  <span class="Conceal">¦</span> <span class="Comment"># 'read-move' is waiting for input</span>
 <span id="L498" class="LineNr">498 </span>  <span class="Conceal">¦</span> wait-for-routine-to-block read-move-routine
@@ -579,7 +579,7 @@ if ('onhashchange' in window) {
 <span id="L515" class="LineNr">515 </span>  <span class="Constant">local-scope</span>
 <span id="L516" class="LineNr">516 </span>  assume-screen <span class="Constant">20/width</span>, <span class="Constant">2/height</span>
 <span id="L517" class="LineNr">517 </span>  <a href='075channel.mu.html#L43'>source</a>:&amp;:<a href='075channel.mu.html#L43'>source</a>:char, <a href='075channel.mu.html#L47'>sink</a>:&amp;:<a href='075channel.mu.html#L47'>sink</a>:char <span class="Special">&lt;-</span> <a href='075channel.mu.html#L51'>new-channel</a> <span class="Constant">2/capacity</span>
-<span id="L518" class="LineNr">518 </span>  read-move-routine:num <span class="Special">&lt;-</span> start-running <a href='chessboard.mu.html#L238'>read-move</a>, <a href='075channel.mu.html#L43'>source</a>, <a href='081print.mu.html#L4'>screen</a>:&amp;:<a href='081print.mu.html#L4'>screen</a>
+<span id="L518" class="LineNr">518 </span>  read-move-routine:num <span class="Special">&lt;-</span> start-running <a href='chessboard.mu.html#L238'>read-move</a>, <a href='075channel.mu.html#L43'>source</a>, <a href='081print.mu.html#L16'>screen</a>:&amp;:<a href='081print.mu.html#L16'>screen</a>
 <span id="L519" class="LineNr">519 </span>  run [
 <span id="L520" class="LineNr">520 </span>  <span class="Conceal">¦</span> <span class="Comment"># 'read-move' is waiting for input</span>
 <span id="L521" class="LineNr">521 </span>  <span class="Conceal">¦</span> wait-for-routine-to-block read-move-routine
@@ -620,7 +620,7 @@ if ('onhashchange' in window) {
 <span id="L556" class="LineNr">556 </span>  *move <span class="Special">&lt;-</span> merge <span class="Constant">6/g</span>, <span class="Constant">1/'2'</span>, <span class="Constant">6/g</span>, <span class="Constant">3/'4'</span>
 <span id="L557" class="LineNr">557 </span>  run [
 <span id="L558" class="LineNr">558 </span>  <span class="Conceal">¦</span> <a href='chessboard.mu.html#L67'>board</a> <span class="Special">&lt;-</span> <a href='chessboard.mu.html#L537'>make-move</a> <a href='chessboard.mu.html#L67'>board</a>, <a href='chessboard.mu.html#L229'>move</a>
-<span id="L559" class="LineNr">559 </span>  <span class="Conceal">¦</span> <a href='081print.mu.html#L4'>screen</a>:&amp;:<a href='081print.mu.html#L4'>screen</a> <span class="Special">&lt;-</span> <a href='chessboard.mu.html#L144'>print-board</a> <a href='081print.mu.html#L4'>screen</a>:&amp;:<a href='081print.mu.html#L4'>screen</a>, <a href='chessboard.mu.html#L67'>board</a>
+<span id="L559" class="LineNr">559 </span>  <span class="Conceal">¦</span> <a href='081print.mu.html#L16'>screen</a>:&amp;:<a href='081print.mu.html#L16'>screen</a> <span class="Special">&lt;-</span> <a href='chessboard.mu.html#L144'>print-board</a> <a href='081print.mu.html#L16'>screen</a>:&amp;:<a href='081print.mu.html#L16'>screen</a>, <a href='chessboard.mu.html#L67'>board</a>
 <span id="L560" class="LineNr">560 </span>  ]
 <span id="L561" class="LineNr">561 </span>  screen-should-contain [
 <span id="L562" class="LineNr">562 </span>  <span class="Comment">#  012345678901234567890123456789</span>