diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2017-05-27 21:32:51 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2017-05-27 21:32:51 -0700 |
commit | 4f2adf06713eeec995d7811cd1d7a4dfe3cdda86 (patch) | |
tree | 92fc50fc557842bf4c7ef5a56d9c3ac07eac5ae7 /html/chessboard.mu.html | |
parent | 3c6cd5e8dca92d8b0073cecd18f5ab4bada1f9c1 (diff) | |
download | mu-4f2adf06713eeec995d7811cd1d7a4dfe3cdda86.tar.gz |
3883
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 bf292492..ba7e6443 100644 --- a/html/chessboard.mu.html +++ b/html/chessboard.mu.html @@ -143,16 +143,16 @@ if ('onhashchange' in window) { <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="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#L698'>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='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>, board -<span id="L84" class="LineNr"> 84 </span> <span class="Conceal">¦</span> <a href='081print.mu.html#L698'>cursor-to-next-line</a> <a href='081print.mu.html#L4'>screen</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 <from square>-<to square>. For example: 'a2-a4'. Then press <enter>.</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#L698'>cursor-to-next-line</a> <a href='081print.mu.html#L4'>screen</a> +<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="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#L698'>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#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"><-</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:&:<a href='chessboard.mu.html#L229'>move</a>, quit:bool, error:bool <span class="Special"><-</span> <a href='chessboard.mu.html#L238'>read-move</a> buffered-stdin-in, <a href='081print.mu.html#L4'>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> @@ -231,14 +231,14 @@ if ('onhashchange' in window) { <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"><-</span> subtract row,<span class="Constant"> 1</span> -<span id="L170" class="LineNr">170 </span> <span class="Conceal">¦</span> <a href='081print.mu.html#L698'>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#L721'>cursor-to-next-line</a> <a href='081print.mu.html#L4'>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#L698'>cursor-to-next-line</a> <a href='081print.mu.html#L4'>screen</a> +<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#L698'>cursor-to-next-line</a> <a href='081print.mu.html#L4'>screen</a> +<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="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"> -> </span>board:board [ @@ -360,7 +360,7 @@ if ('onhashchange' in window) { <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#L698'>cursor-to-next-line</a> <a href='081print.mu.html#L4'>screen</a> +<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="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> |