diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2017-05-13 12:50:07 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2017-05-13 17:21:10 -0700 |
commit | ef6116cbaf9368e490bfdec1c6404396ac161026 (patch) | |
tree | 686bf4b486778a9705381ebdfeced3dbbbdf1519 /html/chessboard.mu.html | |
parent | 0c0d1ea5cdb96a98e7eb62edbd1acb534ae12940 (diff) | |
download | mu-ef6116cbaf9368e490bfdec1c6404396ac161026.tar.gz |
3855
Diffstat (limited to 'html/chessboard.mu.html')
-rw-r--r-- | html/chessboard.mu.html | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/html/chessboard.mu.html b/html/chessboard.mu.html index 7129dfea..498b6442 100644 --- a/html/chessboard.mu.html +++ b/html/chessboard.mu.html @@ -142,16 +142,16 @@ if ('onhashchange' in window) { <span id="L78" class="LineNr"> 78 </span> <span class="Delimiter">{</span> <span id="L79" class="LineNr"> 79 </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="Constant">]</span> -<span id="L81" class="LineNr"> 81 </span> <span class="Conceal">¦</span> <a href='081print.mu.html#L560'>cursor-to-next-line</a> <a href='081print.mu.html#L4'>screen</a> +<span id="L81" class="LineNr"> 81 </span> <span class="Conceal">¦</span> <a href='081print.mu.html#L567'>cursor-to-next-line</a> <a href='081print.mu.html#L4'>screen</a> <span id="L82" class="LineNr"> 82 </span> <span class="Conceal">¦</span> <a href='chessboard.mu.html#L143'>print-board</a> <a href='081print.mu.html#L4'>screen</a>, board -<span id="L83" class="LineNr"> 83 </span> <span class="Conceal">¦</span> <a href='081print.mu.html#L560'>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='081print.mu.html#L567'>cursor-to-next-line</a> <a href='081print.mu.html#L4'>screen</a> <span id="L84" class="LineNr"> 84 </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#L228'>move</a> as <from square>-<to square>. For example: 'a2-a4'. Then press <enter>.</span> <span id="L85" class="LineNr"> 85 </span><span class="Constant">]</span> -<span id="L86" class="LineNr"> 86 </span> <span class="Conceal">¦</span> <a href='081print.mu.html#L560'>cursor-to-next-line</a> <a href='081print.mu.html#L4'>screen</a> +<span id="L86" class="LineNr"> 86 </span> <span class="Conceal">¦</span> <a href='081print.mu.html#L567'>cursor-to-next-line</a> <a href='081print.mu.html#L4'>screen</a> <span id="L87" class="LineNr"> 87 </span> <span class="Conceal">¦</span> print <a href='081print.mu.html#L4'>screen</a> <span class="Constant">[Hit 'q' to exit.</span> <span id="L88" class="LineNr"> 88 </span><span class="Constant">]</span> <span id="L89" class="LineNr"> 89 </span> <span class="Conceal">¦</span> <span class="Delimiter">{</span> -<span id="L90" class="LineNr"> 90 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> <a href='081print.mu.html#L560'>cursor-to-next-line</a> <a href='081print.mu.html#L4'>screen</a> +<span id="L90" class="LineNr"> 90 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> <a href='081print.mu.html#L567'>cursor-to-next-line</a> <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#L4'>screen</a> <span class="Special"><-</span> print <a href='081print.mu.html#L4'>screen</a>, <span class="Constant">[move: ]</span> <span id="L92" class="LineNr"> 92 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> m:&:<a href='chessboard.mu.html#L228'>move</a>, quit:bool, error:bool <span class="Special"><-</span> <a href='chessboard.mu.html#L237'>read-move</a> buffered-stdin-in, <a href='081print.mu.html#L4'>screen</a> <span id="L93" class="LineNr"> 93 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> <span class="muControl">break-if</span> quit, <span class="Constant">+quit</span> @@ -230,14 +230,14 @@ if ('onhashchange' in window) { <span id="L166" class="LineNr">166 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> <span class="muControl">loop</span> <span id="L167" class="LineNr">167 </span> <span class="Conceal">¦</span> <span class="Delimiter">}</span> <span id="L168" class="LineNr">168 </span> <span class="Conceal">¦</span> row <span class="Special"><-</span> subtract row,<span class="Constant"> 1</span> -<span id="L169" class="LineNr">169 </span> <span class="Conceal">¦</span> <a href='081print.mu.html#L560'>cursor-to-next-line</a> <a href='081print.mu.html#L4'>screen</a> +<span id="L169" class="LineNr">169 </span> <span class="Conceal">¦</span> <a href='081print.mu.html#L567'>cursor-to-next-line</a> <a href='081print.mu.html#L4'>screen</a> <span id="L170" class="LineNr">170 </span> <span class="Conceal">¦</span> <span class="muControl">loop</span> <span id="L171" class="LineNr">171 </span> <span class="Delimiter">}</span> <span id="L172" class="LineNr">172 </span> <span class="Comment"># print file letters as legend</span> <span id="L173" class="LineNr">173 </span> print <a href='081print.mu.html#L4'>screen</a>, <span class="Constant">[ +----------------]</span> -<span id="L174" class="LineNr">174 </span> <a href='081print.mu.html#L560'>cursor-to-next-line</a> <a href='081print.mu.html#L4'>screen</a> +<span id="L174" class="LineNr">174 </span> <a href='081print.mu.html#L567'>cursor-to-next-line</a> <a href='081print.mu.html#L4'>screen</a> <span id="L175" class="LineNr">175 </span> print <a href='081print.mu.html#L4'>screen</a>, <span class="Constant">[ a b c d e f g h]</span> -<span id="L176" class="LineNr">176 </span> <a href='081print.mu.html#L560'>cursor-to-next-line</a> <a href='081print.mu.html#L4'>screen</a> +<span id="L176" class="LineNr">176 </span> <a href='081print.mu.html#L567'>cursor-to-next-line</a> <a href='081print.mu.html#L4'>screen</a> <span id="L177" class="LineNr">177 </span>] <span id="L178" class="LineNr">178 </span> <span id="L179" class="LineNr">179 </span><span class="muRecipe">def</span> <a href='chessboard.mu.html#L179'>initial-position</a><span class="muRecipe"> -> </span>board:board [ @@ -359,7 +359,7 @@ if ('onhashchange' in window) { <span id="L295" class="LineNr">295 </span> <span class="Conceal">¦</span> <span class="muControl">break-if</span> above-min <span id="L296" class="LineNr">296 </span> <span class="Conceal">¦</span> print <a href='081print.mu.html#L4'>screen</a>, <span class="Constant">[file too low: ]</span> <span id="L297" class="LineNr">297 </span> <span class="Conceal">¦</span> print <a href='081print.mu.html#L4'>screen</a>, c -<span id="L298" class="LineNr">298 </span> <span class="Conceal">¦</span> <a href='081print.mu.html#L560'>cursor-to-next-line</a> <a href='081print.mu.html#L4'>screen</a> +<span id="L298" class="LineNr">298 </span> <span class="Conceal">¦</span> <a href='081print.mu.html#L567'>cursor-to-next-line</a> <a href='081print.mu.html#L4'>screen</a> <span id="L299" class="LineNr">299 </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="L300" class="LineNr">300 </span> <span class="Delimiter">}</span> <span id="L301" class="LineNr">301 </span> <span class="Delimiter">{</span> |