improve layout of 1993/leo/index.html
Improved indenting of information in a code block. Ran `bin/readme2index.sh -v 1 1993/leo` to perform the above.
This commit is contained in:
1 parent
adffba16ea
commit
daf291e7b1
2 files changed
+12
-12
No files matched your search
+6
-6
@@ -74,15 +74,15 @@ Please don't type ^D at the prompt!!
|
||||
```
|
||||
$ ./leo
|
||||
(1296): 6433
|
||||
?? 12 # one 3 is a bull, another is a cow, and 4 is a cow
|
||||
?? 12 # one 3 is a bull, another is a cow, and 4 is a cow
|
||||
(160): 5363
|
||||
?? 02 # both 3's are cows
|
||||
?? 02 # both 3's are cows
|
||||
(21): 4231
|
||||
?? 22 # 2 and 3 are bulls, 4 and 1 are cows
|
||||
?? 22 # 2 and 3 are bulls, 4 and 1 are cows
|
||||
(2): 4132
|
||||
?? 13 # 3 is a bull; 1, 2 and 4 are cows
|
||||
?? 13 # 3 is a bull; 1, 2 and 4 are cows
|
||||
(1): 1234
|
||||
?? 40 # you may enter everything there
|
||||
?? 40 # you may enter everything there
|
||||
```
|
||||
|
||||
##### EXAMPLE: Guess the computer's number
|
||||
@@ -100,7 +100,7 @@ Please don't type ^D at the prompt!!
|
||||
(2): ???? 3355
|
||||
00
|
||||
(1): ???? 6444
|
||||
40 # we have guessed the number
|
||||
40 # we have guessed the number
|
||||
```
|
||||
|
||||
|
||||
|
||||
+6
-6
@@ -194,15 +194,15 @@ backspaces. Do “disable scrolling” on cmdtool or similar emulators.</p>
|
||||
<h5 id="example-suppose-we-think-of-1234">EXAMPLE: Suppose we think of 1234</h5>
|
||||
<pre><code> $ ./leo
|
||||
(1296): 6433
|
||||
?? 12 # one 3 is a bull, another is a cow, and 4 is a cow
|
||||
?? 12 # one 3 is a bull, another is a cow, and 4 is a cow
|
||||
(160): 5363
|
||||
?? 02 # both 3's are cows
|
||||
?? 02 # both 3's are cows
|
||||
(21): 4231
|
||||
?? 22 # 2 and 3 are bulls, 4 and 1 are cows
|
||||
?? 22 # 2 and 3 are bulls, 4 and 1 are cows
|
||||
(2): 4132
|
||||
?? 13 # 3 is a bull; 1, 2 and 4 are cows
|
||||
?? 13 # 3 is a bull; 1, 2 and 4 are cows
|
||||
(1): 1234
|
||||
?? 40 # you may enter everything there</code></pre>
|
||||
?? 40 # you may enter everything there</code></pre>
|
||||
<h5 id="example-guess-the-computers-number">EXAMPLE: Guess the computer’s number</h5>
|
||||
<pre><code> $ ./mind
|
||||
(1296): ???? 1122 # my strategy isn't the best, just as example
|
||||
@@ -216,7 +216,7 @@ backspaces. Do “disable scrolling” on cmdtool or similar emulators.</p>
|
||||
(2): ???? 3355
|
||||
00
|
||||
(1): ???? 6444
|
||||
40 # we have guessed the number</code></pre>
|
||||
40 # we have guessed the number</code></pre>
|
||||
<!--
|
||||
|
||||
Copyright © 1984-2024 by Landon Curt Noll. All Rights Reserved.
|
||||
|
||||
Reference in new issue
Block a user