fix makrdown links to HTML files that use a %%TOKEN%%
This commit is contained in:
1 parent
c6eb14516e
commit
1d5fcc04a7
24 files changed
+414
-414
No files matched your search
@@ -526,7 +526,7 @@ contest scheduling, I chose not to wait for the actual 50th anniversary).
|
|||||||
I had thought of writing self-hosting compilers for a stripped-down version of
|
I had thought of writing self-hosting compilers for a stripped-down version of
|
||||||
C, or maybe even a version of the B language... At the same time, I was
|
C, or maybe even a version of the B language... At the same time, I was
|
||||||
obsessed with the idea of allowing [mullender.c from
|
obsessed with the idea of allowing [mullender.c from
|
||||||
1984](%%REPO_URL%%/1984/mullender/index.html) to run. Although
|
1984](../../1984/mullender/index.html) to run. Although
|
||||||
that was still a possibility on an interpreted version of B or a stripped-down
|
that was still a possibility on an interpreted version of B or a stripped-down
|
||||||
version of C, it felt cheap, as it would be
|
version of C, it felt cheap, as it would be
|
||||||
[mullender.c](%%REPO_URL%%/1984/mullender/mullender.c) only in spirit.
|
[mullender.c](%%REPO_URL%%/1984/mullender/mullender.c) only in spirit.
|
||||||
|
|||||||
@@ -766,7 +766,7 @@ emulator.</p>
|
|||||||
contest scheduling, I chose not to wait for the actual 50th anniversary).
|
contest scheduling, I chose not to wait for the actual 50th anniversary).
|
||||||
I had thought of writing self-hosting compilers for a stripped-down version of
|
I had thought of writing self-hosting compilers for a stripped-down version of
|
||||||
C, or maybe even a version of the B language… At the same time, I was
|
C, or maybe even a version of the B language… At the same time, I was
|
||||||
obsessed with the idea of allowing <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/1984/mullender/index.html">mullender.c from
|
obsessed with the idea of allowing <a href="../../1984/mullender/index.html">mullender.c from
|
||||||
1984</a> to run. Although
|
1984</a> to run. Although
|
||||||
that was still a possibility on an interpreted version of B or a stripped-down
|
that was still a possibility on an interpreted version of B or a stripped-down
|
||||||
version of C, it felt cheap, as it would be
|
version of C, it felt cheap, as it would be
|
||||||
|
|||||||
@@ -291,7 +291,7 @@ be applied.
|
|||||||
[6]: https://en.wikipedia.org/wiki/Lambda_calculus "Lambda Calculus on Wikipedia"
|
[6]: https://en.wikipedia.org/wiki/Lambda_calculus "Lambda Calculus on Wikipedia"
|
||||||
[7]: https://en.wikipedia.org/wiki/Combinatory_logic "Combinatory Logic on Wikipedia"
|
[7]: https://en.wikipedia.org/wiki/Combinatory_logic "Combinatory Logic on Wikipedia"
|
||||||
[8]: https://inazz.jp/unlambda/ "Online Unlambda interpreter"
|
[8]: https://inazz.jp/unlambda/ "Online Unlambda interpreter"
|
||||||
[9]: %%REPO_URL%%/2014/birken/index.html "Best use of port 1701"
|
[9]: ../../2014/birken/index.html "Best use of port 1701"
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
|
|
||||||
|
|||||||
@@ -565,7 +565,7 @@ were shuffled both for <code>S</code> functions and Apply functions in the same
|
|||||||
the meaning of <code>f</code> and <code>r</code> prefixes.</p></li>
|
the meaning of <code>f</code> and <code>r</code> prefixes.</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
<h3 id="identification-spoiler">Identification spoiler:</h3>
|
<h3 id="identification-spoiler">Identification spoiler:</h3>
|
||||||
<p>The alternative build path <code>make identify</code> output commemorates a <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2014/birken/index.html" title="Best use of port 1701">previous IOCCC
|
<p>The alternative build path <code>make identify</code> output commemorates a <a href="../../2014/birken/index.html" title="Best use of port 1701">previous IOCCC
|
||||||
winning entry</a> which uses similar methods to mess with the size tool.</p>
|
winning entry</a> which uses similar methods to mess with the size tool.</p>
|
||||||
<h3 id="judges-spoilers">Judges’ spoilers:</h3>
|
<h3 id="judges-spoilers">Judges’ spoilers:</h3>
|
||||||
<p>It is not a bug, it is a feature. :)</p>
|
<p>It is not a bug, it is a feature. :)</p>
|
||||||
|
|||||||
@@ -261,7 +261,7 @@ arrays, so I did it.
|
|||||||
[Cody Boone Ferguson](../../authors.html#Cody_Boone_Ferguson): I really like that you enjoyed my
|
[Cody Boone Ferguson](../../authors.html#Cody_Boone_Ferguson): I really like that you enjoyed my
|
||||||
previous entry. I hope that you will like this entry too. Because I did not
|
previous entry. I hope that you will like this entry too. Because I did not
|
||||||
want to give too many clues to [the Judges](../../judges.html), I tried to write this
|
want to give too many clues to [the Judges](../../judges.html), I tried to write this
|
||||||
entry in a different way than [Most Stellar](%%REPO_URL%%/2018/poikola/index.html), but in this
|
entry in a different way than [Most Stellar](../../2018/poikola/index.html), but in this
|
||||||
code there is at least one recycled thing from it. By the way, the answers to
|
code there is at least one recycled thing from it. By the way, the answers to
|
||||||
the questions I posed: (1) 255. (2) Try to compare binary representations of
|
the questions I posed: (1) 255. (2) Try to compare binary representations of
|
||||||
those `float`s and binary representation of the string "`25th IOCCC!`". (3) I
|
those `float`s and binary representation of the string "`25th IOCCC!`". (3) I
|
||||||
|
|||||||
@@ -539,7 +539,7 @@ arrays, so I did it.</p>
|
|||||||
<p><a href="../../authors.html#Cody_Boone_Ferguson">Cody Boone Ferguson</a>: I really like that you enjoyed my
|
<p><a href="../../authors.html#Cody_Boone_Ferguson">Cody Boone Ferguson</a>: I really like that you enjoyed my
|
||||||
previous entry. I hope that you will like this entry too. Because I did not
|
previous entry. I hope that you will like this entry too. Because I did not
|
||||||
want to give too many clues to <a href="../../judges.html">the Judges</a>, I tried to write this
|
want to give too many clues to <a href="../../judges.html">the Judges</a>, I tried to write this
|
||||||
entry in a different way than <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2018/poikola/index.html">Most Stellar</a>, but in this
|
entry in a different way than <a href="../../2018/poikola/index.html">Most Stellar</a>, but in this
|
||||||
code there is at least one recycled thing from it. By the way, the answers to
|
code there is at least one recycled thing from it. By the way, the answers to
|
||||||
the questions I posed: (1) 255. (2) Try to compare binary representations of
|
the questions I posed: (1) 255. (2) Try to compare binary representations of
|
||||||
those <code>float</code>s and binary representation of the string “<code>25th IOCCC!</code>”. (3) I
|
those <code>float</code>s and binary representation of the string “<code>25th IOCCC!</code>”. (3) I
|
||||||
|
|||||||
@@ -475,7 +475,7 @@ way negative size will force a win.</p>
|
|||||||
head several places until you end up getting to the max size (by way of it
|
head several places until you end up getting to the max size (by way of it
|
||||||
being unsigned). This isn’t a bug even if it might seem like one. In fact
|
being unsigned). This isn’t a bug even if it might seem like one. In fact
|
||||||
this is the basis of the grow/shrink mode of play that I talk about in the
|
this is the basis of the grow/shrink mode of play that I talk about in the
|
||||||
<a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1/gameplay.html">gameplay.html</a> file.</p>
|
<a href="gameplay.html">gameplay.html</a> file.</p>
|
||||||
<p>Here’s another thing to be aware of. Let’s say you do:</p>
|
<p>Here’s another thing to be aware of. Let’s say you do:</p>
|
||||||
<pre><code> SIZE=1 GROW=-1 ./prog</code></pre>
|
<pre><code> SIZE=1 GROW=-1 ./prog</code></pre>
|
||||||
<p>How many bugs will it take before you win? In fact it’s two: you would see the
|
<p>How many bugs will it take before you win? In fact it’s two: you would see the
|
||||||
@@ -569,7 +569,7 @@ that 49 is the max snake size. How is this derived and why?</p>
|
|||||||
(<code>playable_rows * playable_columns</code>). I have played with this many
|
(<code>playable_rows * playable_columns</code>). I have played with this many
|
||||||
times and I do not believe there should be a problem. If there is it’s from a
|
times and I do not believe there should be a problem. If there is it’s from a
|
||||||
very poor implementation of rand() and I discuss this in
|
very poor implementation of rand() and I discuss this in
|
||||||
<a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1/troubleshooting.html">troubleshooting.html</a>.</p>
|
<a href="troubleshooting.html">troubleshooting.html</a>.</p>
|
||||||
<p>There I also give some test outputs without the cap in place to give an idea of
|
<p>There I also give some test outputs without the cap in place to give an idea of
|
||||||
when it became a problem (or would have). In short this is known but I do not
|
when it became a problem (or would have). In short this is known but I do not
|
||||||
think it will be a problem and I have given resolutions. In any event without
|
think it will be a problem and I have given resolutions. In any event without
|
||||||
|
|||||||
@@ -288,13 +288,13 @@ The obvious question is why didn't I put in a break? Because of the IOCCC size
|
|||||||
rule 2 and what would it do anyway? I guess it would win but to my mind that is
|
rule 2 and what would it do anyway? I guess it would win but to my mind that is
|
||||||
a bug and I prefer putting in restrictions to try and make it very unlikely.
|
a bug and I prefer putting in restrictions to try and make it very unlikely.
|
||||||
|
|
||||||
[crazy.log.html]: %%REPO_URL%%/2020/ferguson1/crazy.log.html
|
[crazy.log.html]: crazy.log.html
|
||||||
[gameplay.html]: %%REPO_URL%%/2020/ferguson1/gameplay.html
|
[gameplay.html]: gameplay.html
|
||||||
[troubleshooting.html]: %%REPO_URL%%/2020/ferguson1/troubleshooting.html
|
[troubleshooting.html]: troubleshooting.html
|
||||||
[gameplay.html]: %%REPO_URL%%/2020/ferguson1/gameplay.html
|
[gameplay.html]: gameplay.html
|
||||||
[cannibalism.log.html]: %%REPO_URL%%/2020/ferguson1/cannibalism.log.html
|
[cannibalism.log.html]: cannibalism.log.html
|
||||||
[https://en.wikipedia.org/wiki/Halfwidth_and_fullwidth_forms]: https://en.wikipedia.org/wiki/Halfwidth_and_fullwidth_forms
|
[https://en.wikipedia.org/wiki/Halfwidth_and_fullwidth_forms]: https://en.wikipedia.org/wiki/Halfwidth_and_fullwidth_forms
|
||||||
[spoilers.html]: %%REPO_URL%%/2020/ferguson1/spoilers.html
|
[spoilers.html]: spoilers.html
|
||||||
|
|
||||||
|
|
||||||
<hr style="width:10%;text-align:left;margin-left:0">
|
<hr style="width:10%;text-align:left;margin-left:0">
|
||||||
|
|||||||
@@ -427,11 +427,11 @@ for the input keys.</p>
|
|||||||
<h1 id="testing-terminal-environmentcapabilities">1. <a href="#toc">Testing terminal environment/capabilities</a></h1>
|
<h1 id="testing-terminal-environmentcapabilities">1. <a href="#toc">Testing terminal environment/capabilities</a></h1>
|
||||||
</div>
|
</div>
|
||||||
<p>Most people probably won’t have any issue at all but for those who have any
|
<p>Most people probably won’t have any issue at all but for those who have any
|
||||||
problems with the terminal see the <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1/terminals.html">terminals.html</a>
|
problems with the terminal see the <a href="terminals.html">terminals.html</a>
|
||||||
file for more information on the terminal capabilities testing utility I
|
file for more information on the terminal capabilities testing utility I
|
||||||
include.</p>
|
include.</p>
|
||||||
<p>For troubleshooting other problems see <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1/troubleshooting.html">troubleshooting.html</a>
|
<p>For troubleshooting other problems see <a href="troubleshooting.html">troubleshooting.html</a>
|
||||||
and <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1/bugs.html">bugs.html</a>.</p>
|
and <a href="bugs.html">bugs.html</a>.</p>
|
||||||
<div id="input">
|
<div id="input">
|
||||||
<h1 id="input-keys">2. <a href="#toc">Input keys</a></h1>
|
<h1 id="input-keys">2. <a href="#toc">Input keys</a></h1>
|
||||||
</div>
|
</div>
|
||||||
@@ -704,7 +704,7 @@ will see that the arrow has moved over:</p>
|
|||||||
left go right etc.) and then after some length (but before you get beyond the
|
left go right etc.) and then after some length (but before you get beyond the
|
||||||
snake) turn (so that you go perpendicular) and then watch as the snake starts
|
snake) turn (so that you go perpendicular) and then watch as the snake starts
|
||||||
unwinding at one place and then suddenly unwinds another direction.</p>
|
unwinding at one place and then suddenly unwinds another direction.</p>
|
||||||
<p>An example of extreme cannibalism is in the <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1/cannibalism.log.html">cannibalism.log.html</a>
|
<p>An example of extreme cannibalism is in the <a href="cannibalism.log.html">cannibalism.log.html</a>
|
||||||
file. It explains information about the file
|
file. It explains information about the file
|
||||||
including how to find the bug, head and tail of the snake, at least where it was
|
including how to find the bug, head and tail of the snake, at least where it was
|
||||||
documented. The first run has several dumps. The final example has the snake
|
documented. The first run has several dumps. The final example has the snake
|
||||||
@@ -753,7 +753,7 @@ the game is won is 199 - also a prime!</p>
|
|||||||
<div id="modes">
|
<div id="modes">
|
||||||
<h1 id="gameplay-modes">4. <a href="#toc">Gameplay modes</a></h1>
|
<h1 id="gameplay-modes">4. <a href="#toc">Gameplay modes</a></h1>
|
||||||
</div>
|
</div>
|
||||||
<p>Here I list a number of different modes of play. In the <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1/bugs.html">bugs.html</a>
|
<p>Here I list a number of different modes of play. In the <a href="bugs.html">bugs.html</a>
|
||||||
file I even show how there’s a built-in test unit for some
|
file I even show how there’s a built-in test unit for some
|
||||||
modes! There are certainly other modes that could be imagined: the modes below
|
modes! There are certainly other modes that could be imagined: the modes below
|
||||||
happened over time and some were simply an accidental discovery or something I
|
happened over time and some were simply an accidental discovery or something I
|
||||||
@@ -889,7 +889,7 @@ actually tried it.</p>
|
|||||||
<p>The parameters above were chosen after playing with the mode a bit to find a
|
<p>The parameters above were chosen after playing with the mode a bit to find a
|
||||||
value that wouldn’t take that much time but still would pose a challenge. One
|
value that wouldn’t take that much time but still would pose a challenge. One
|
||||||
could reverse it so that one shrinks more than growing.</p>
|
could reverse it so that one shrinks more than growing.</p>
|
||||||
<p>The <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1/crazy.log.html">crazy.log.html</a> file has several screen
|
<p>The <a href="ferguson1/crazy.log.html">crazy.log.html</a> file has several screen
|
||||||
dumps with this idea.</p>
|
dumps with this idea.</p>
|
||||||
<p>You could also have it so that eating a bug makes you shrink and moving so many
|
<p>You could also have it so that eating a bug makes you shrink and moving so many
|
||||||
moves you grow. I tried this and for me it was far more fun. The <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1/play.sh">play.sh</a>
|
moves you grow. I tried this and for me it was far more fun. The <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1/play.sh">play.sh</a>
|
||||||
|
|||||||
@@ -910,15 +910,15 @@ the imagination and creativity almost anything is possible.** This is something
|
|||||||
they believe in themselves!** I would have never thought this the case for me
|
they believe in themselves!** I would have never thought this the case for me
|
||||||
years ago but I know it's true now. **Believe in yourself. Always.**
|
years ago but I know it's true now. **Believe in yourself. Always.**
|
||||||
|
|
||||||
[terminals.html]: %%REPO_URL%%/2020/ferguson1/terminals.html
|
[terminals.html]: terminals.html
|
||||||
[troubleshooting.html]: %%REPO_URL%%/2020/ferguson1/troubleshooting.html
|
[troubleshooting.html]: troubleshooting.html
|
||||||
[bugs.html]: %%REPO_URL%%/2020/ferguson1/bugs.html
|
[bugs.html]: bugs.html
|
||||||
[spoilers.html]: %%REPO_URL%%/2020/ferguson1/spoilers.html
|
[spoilers.html]: spoilers.html
|
||||||
[snake-colours.sh]: %%REPO_URL%%/2020/ferguson1/snake-colours.sh
|
[snake-colours.sh]: %%REPO_URL%%/2020/ferguson1/snake-colours.sh
|
||||||
[number of hertz (flashes) per second triggering seizures]: https://www.epilepsysociety.org.uk/photosensitive-epilepsy#.Xjgpwi2ZOgQ
|
[number of hertz (flashes) per second triggering seizures]: https://www.epilepsysociety.org.uk/photosensitive-epilepsy#.Xjgpwi2ZOgQ
|
||||||
[termcaps.c]: %%REPO_URL%%/2020/ferguson1/termcaps.c
|
[termcaps.c]: %%REPO_URL%%/2020/ferguson1/termcaps.c
|
||||||
[cannibalism.log.html]: %%REPO_URL%%/2020/ferguson1/cannibalism.log.html
|
[cannibalism.log.html]: cannibalism.log.html
|
||||||
[crazy.log.html]: %%REPO_URL%%/2020/ferguson1/crazy.log.html
|
[crazy.log.html]: ferguson1/crazy.log.html
|
||||||
[play.sh]: %%REPO_URL%%/2020/ferguson1/play.sh
|
[play.sh]: %%REPO_URL%%/2020/ferguson1/play.sh
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -378,7 +378,7 @@
|
|||||||
|
|
||||||
<!-- BEFORE: 1st line of markdown file: 2020/ferguson1/spoilers.md -->
|
<!-- BEFORE: 1st line of markdown file: 2020/ferguson1/spoilers.md -->
|
||||||
<h1 id="introduction-spoiler-alert">Introduction (SPOILER ALERT)</h1>
|
<h1 id="introduction-spoiler-alert">Introduction (SPOILER ALERT)</h1>
|
||||||
<p>In the <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1/gameplay.html">gameplay.html</a> file I have given enough
|
<p>In the <a href="gameplay.html">gameplay.html</a> file I have given enough
|
||||||
information to know how the game looks, how to move the snake, how to pause etc.
|
information to know how the game looks, how to move the snake, how to pause etc.
|
||||||
In this file I am including (some) information on how the game actually works:
|
In this file I am including (some) information on how the game actually works:
|
||||||
the technical details as it were, obfuscation techniques and also some of the
|
the technical details as it were, obfuscation techniques and also some of the
|
||||||
@@ -710,10 +710,10 @@ refer to a <code>x</code> is possibly confusing even without the negative offset
|
|||||||
<p>Of course I don’t have to use negative offsets at all! I could use positive
|
<p>Of course I don’t have to use negative offsets at all! I could use positive
|
||||||
offsets for every time I use negative offsets. But where’s the fun in that? :)</p>
|
offsets for every time I use negative offsets. But where’s the fun in that? :)</p>
|
||||||
<p>BTW: Some of these are not in the table of expressions in the
|
<p>BTW: Some of these are not in the table of expressions in the
|
||||||
<a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1/HACKING.html">HACKING.html</a> file. Also there might be some
|
<a href="HACKING.html">HACKING.html</a> file. Also there might be some
|
||||||
code in there that is no longer correct (it was before I started
|
code in there that is no longer correct (it was before I started
|
||||||
obfuscation) though it might be able to give an idea. Spoilers abound in
|
obfuscation) though it might be able to give an idea. Spoilers abound in
|
||||||
that file (in addition to this file) but the <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1/HACKING.html">HACKING.html</a>
|
that file (in addition to this file) but the <a href="HACKING.html">HACKING.html</a>
|
||||||
file states things that are no longer true: a way of obfuscation
|
file states things that are no longer true: a way of obfuscation
|
||||||
itself! Instead of misleading comments it’s misleading statements in the
|
itself! Instead of misleading comments it’s misleading statements in the
|
||||||
file that explains what some of the things are for!</p></li>
|
file that explains what some of the things are for!</p></li>
|
||||||
@@ -1104,7 +1104,7 @@ the score line is updated: so the empty space will be overwritten anyway. And if
|
|||||||
the score line is made an empty string it doesn’t matter because it’ll appear as
|
the score line is made an empty string it doesn’t matter because it’ll appear as
|
||||||
all spaces anyway. Thus I could save another three bytes by changing it to:</p>
|
all spaces anyway. Thus I could save another three bytes by changing it to:</p>
|
||||||
<pre><code> !o && q *U,*V,' ');</code></pre>
|
<pre><code> !o && q *U,*V,' ');</code></pre>
|
||||||
<p>Technically it would be a <code>" "</code> (see <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1/HACKING.html">HACKING.html</a>
|
<p>Technically it would be a <code>" "</code> (see <a href="HACKING.html">HACKING.html</a>
|
||||||
else for N (not referring to the variable though it might very
|
else for N (not referring to the variable though it might very
|
||||||
well matter here too) movements (i.e. due to sizes) you will at times (e.g.
|
well matter here too) movements (i.e. due to sizes) you will at times (e.g.
|
||||||
after eating a bug) see the snake body char at 0,0. I’m not bothered about that
|
after eating a bug) see the snake body char at 0,0. I’m not bothered about that
|
||||||
|
|||||||
@@ -962,8 +962,8 @@ though because the score line is meant to display something, it squeezes a few
|
|||||||
more bytes and having a space is hardly an imposition on usage (and for that
|
more bytes and having a space is hardly an imposition on usage (and for that
|
||||||
matter having a 'o' at 0,0 isn't either).
|
matter having a 'o' at 0,0 isn't either).
|
||||||
|
|
||||||
[gameplay.html]: %%REPO_URL%%/2020/ferguson1/gameplay.html
|
[gameplay.html]: gameplay.html
|
||||||
[HACKING.html]: %%REPO_URL%%/2020/ferguson1/HACKING.html
|
[HACKING.html]: HACKING.html
|
||||||
|
|
||||||
|
|
||||||
<hr style="width:10%;text-align:left;margin-left:0">
|
<hr style="width:10%;text-align:left;margin-left:0">
|
||||||
|
|||||||
@@ -553,7 +553,7 @@ properly. Because that’s what funny means in this context.</p>
|
|||||||
<p>It’d be nice if curses could detect hitting more than one arrow key at the
|
<p>It’d be nice if curses could detect hitting more than one arrow key at the
|
||||||
same time so that diagonal directions would be possible but unfortunately it’s
|
same time so that diagonal directions would be possible but unfortunately it’s
|
||||||
not (<code>cat -v</code> confirms this). Even if I were to define four extra keys what
|
not (<code>cat -v</code> confirms this). Even if I were to define four extra keys what
|
||||||
would they be? And what about the head character? The <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1/HACKING.html">HACKING.html</a>
|
would they be? And what about the head character? The <a href="HACKING.html">HACKING.html</a>
|
||||||
file has information on this.</p>
|
file has information on this.</p>
|
||||||
<p>I also limit the terminal size to 10 lines/columns but most likely it would
|
<p>I also limit the terminal size to 10 lines/columns but most likely it would
|
||||||
require the cheat modes to win and in any event allowing certain low values
|
require the cheat modes to win and in any event allowing certain low values
|
||||||
@@ -574,7 +574,7 @@ from a quick test this holds even with a terminal that has a white background.
|
|||||||
There is a way to force the background to remain white though that’s by way of
|
There is a way to force the background to remain white though that’s by way of
|
||||||
monochrome (so no colours); I discuss that and another related terminal specific
|
monochrome (so no colours); I discuss that and another related terminal specific
|
||||||
in the troubleshooting guide (there’s another way but it would take me over the
|
in the troubleshooting guide (there’s another way but it would take me over the
|
||||||
iocccsize; I talk about it in the <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1/HACKING.html">HACKING.html</a>.</p>
|
iocccsize; I talk about it in the <a href="HACKING.html">HACKING.html</a>.</p>
|
||||||
<div id="monochrome">
|
<div id="monochrome">
|
||||||
<h2 id="monochrome-terminals"><a href="#toc">Monochrome terminals</a></h2>
|
<h2 id="monochrome-terminals"><a href="#toc">Monochrome terminals</a></h2>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -410,7 +410,7 @@ you can also comment out the `init_pair()` calls.
|
|||||||
Perhaps you only need to add the `return;` to `C()`. My guess is that's the case
|
Perhaps you only need to add the `return;` to `C()`. My guess is that's the case
|
||||||
but I do not know for certain.
|
but I do not know for certain.
|
||||||
|
|
||||||
[HACKING.html]: %%REPO_URL%%/2020/ferguson1/HACKING.html
|
[HACKING.html]: HACKING.html
|
||||||
[Linux keyboard and console HOWTO]: https://www.tldp.org/HOWTO/Keyboard-and-Console-HOWTO.html
|
[Linux keyboard and console HOWTO]: https://www.tldp.org/HOWTO/Keyboard-and-Console-HOWTO.html
|
||||||
[Linux keyboard and console HOWTO section 4]: https://www.tldp.org/HOWTO/Keyboard-and-Console-HOWTO-4.html
|
[Linux keyboard and console HOWTO section 4]: https://www.tldp.org/HOWTO/Keyboard-and-Console-HOWTO-4.html
|
||||||
[snake-colours.sh]: %%REPO_URL%%/2020/ferguson1/snake-colours.sh
|
[snake-colours.sh]: %%REPO_URL%%/2020/ferguson1/snake-colours.sh
|
||||||
|
|||||||
@@ -405,7 +405,7 @@ it as structured as possible/easiest to find.</p>
|
|||||||
</div>
|
</div>
|
||||||
<p>Because the score line is dynamic in length depending on the terminal size it
|
<p>Because the score line is dynamic in length depending on the terminal size it
|
||||||
can happen that the score/status wraps to the next line(s). This can be fixed by
|
can happen that the score/status wraps to the next line(s). This can be fixed by
|
||||||
modifying the status line (see <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1/HACKING.html">HACKING.html</a> but
|
modifying the status line (see <a href="HACKING.html">HACKING.html</a> but
|
||||||
you shouldn’t need it to be very wide.</p>
|
you shouldn’t need it to be very wide.</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li><p>RESOLUTION #0: Use a bigger screen (it doesn’t take that many columns)</p>
|
<li><p>RESOLUTION #0: Use a bigger screen (it doesn’t take that many columns)</p>
|
||||||
@@ -419,7 +419,7 @@ small screen will make it harder to play esp without the cheat modes enabled
|
|||||||
<p>To be something like:</p>
|
<p>To be something like:</p>
|
||||||
<pre><code> #define J Z(B:%zu\n), c);</code></pre>
|
<pre><code> #define J Z(B:%zu\n), c);</code></pre>
|
||||||
<p>Recompile and try again. That will then show only the number of bugs eaten.
|
<p>Recompile and try again. That will then show only the number of bugs eaten.
|
||||||
See the <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1/HACKING.html">HACKING.html</a> file for other data you
|
See the <a href="HACKING.html">HACKING.html</a> file for other data you
|
||||||
can include (though there are some discrepancies here and there as you’ll
|
can include (though there are some discrepancies here and there as you’ll
|
||||||
see).</p></li>
|
see).</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
@@ -444,7 +444,7 @@ when it does move you’ll see it doesn’t move for long.</p>
|
|||||||
<p>Sometimes also it might appear that the movement is delayed but there are
|
<p>Sometimes also it might appear that the movement is delayed but there are
|
||||||
numerous causes for this some of which are a busy computer but ultimately
|
numerous causes for this some of which are a busy computer but ultimately
|
||||||
it’ll catch up; just give it the time it needs.</p></li>
|
it’ll catch up; just give it the time it needs.</p></li>
|
||||||
<li><p>BOTTOM LINE: If you want more information then see the <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1/bugs.html">bugs.html</a>
|
<li><p>BOTTOM LINE: If you want more information then see the <a href="bugs.html">bugs.html</a>
|
||||||
file.</p></li>
|
file.</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
<div id="invisiblehead">
|
<div id="invisiblehead">
|
||||||
@@ -615,9 +615,9 @@ at least) it’s at <code>/usr/share/terminfo/6c/linux-m</code> (for macOS Ventu
|
|||||||
background white and the foreground black. This will of course mean you have
|
background white and the foreground black. This will of course mean you have
|
||||||
no colour but unfortunately changing the background colour of curses would
|
no colour but unfortunately changing the background colour of curses would
|
||||||
eat too many bytes in the entry (I cite the functions in the
|
eat too many bytes in the entry (I cite the functions in the
|
||||||
<a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1/HACKING.html">HACKING.html</a>.</p>
|
<a href="HACKING.html">HACKING.html</a>.</p>
|
||||||
<p>I discuss colours and terminals in much more detail in
|
<p>I discuss colours and terminals in much more detail in
|
||||||
<a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1/terminals.html">terminals.html</a>.</p></li>
|
<a href="terminals.html">terminals.html</a>.</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
<div id="toodark">
|
<div id="toodark">
|
||||||
<h2 id="the-text-is-hard-to-see-not-bright-enough"><a href="#toc">The text is hard to see (not bright enough)!</a></h2>
|
<h2 id="the-text-is-hard-to-see-not-bright-enough"><a href="#toc">The text is hard to see (not bright enough)!</a></h2>
|
||||||
@@ -687,7 +687,7 @@ example:</p>
|
|||||||
<p>is invalid input because octal only has digits 0 - 7: the resulting size will be
|
<p>is invalid input because octal only has digits 0 - 7: the resulting size will be
|
||||||
0.</p>
|
0.</p>
|
||||||
<p>I discuss the signed/unsigned issue to do with curses and sizes in C being
|
<p>I discuss the signed/unsigned issue to do with curses and sizes in C being
|
||||||
unsigned in <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1/bugs.html">bugs.html</a> but probably there isn’t
|
unsigned in <a href="bugs.html">bugs.html</a> but probably there isn’t
|
||||||
anything more to say here.</p>
|
anything more to say here.</p>
|
||||||
<div id="errors">
|
<div id="errors">
|
||||||
<h2 id="errors-and-error-reporting"><a href="#toc">Errors and error reporting</a></h2>
|
<h2 id="errors-and-error-reporting"><a href="#toc">Errors and error reporting</a></h2>
|
||||||
|
|||||||
@@ -464,10 +464,10 @@ Why does it show snake size as 0 when I specified 1? It's because the max size
|
|||||||
is 0 and I limit the size to be no bigger than the max size.
|
is 0 and I limit the size to be no bigger than the max size.
|
||||||
|
|
||||||
|
|
||||||
[HACKING.html]: %%REPO_URL%%/2020/ferguson1/HACKING.html
|
[HACKING.html]: HACKING.html
|
||||||
[prog.c]: %%REPO_URL%%/2020/ferguson1/prog.c
|
[prog.c]: %%REPO_URL%%/2020/ferguson1/prog.c
|
||||||
[bugs.html]: %%REPO_URL%%/2020/ferguson1/bugs.html
|
[bugs.html]: bugs.html
|
||||||
[terminals.html]: %%REPO_URL%%/2020/ferguson1/terminals.html
|
[terminals.html]: terminals.html
|
||||||
[snake-colours.sh]: %%REPO_URL%%/2020/ferguson1/snake-colours.sh
|
[snake-colours.sh]: %%REPO_URL%%/2020/ferguson1/snake-colours.sh
|
||||||
[Snakey]: https://www.hp-lexicon.org/character/gaunt-family/morfin-gaunt/
|
[Snakey]: https://www.hp-lexicon.org/character/gaunt-family/morfin-gaunt/
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -9,7 +9,7 @@ files and other content from the [IOCCC GitHub
|
|||||||
repo](https://github.com/ioccc-src/temp-test-ioccc).
|
repo](https://github.com/ioccc-src/temp-test-ioccc).
|
||||||
|
|
||||||
|
|
||||||
## [bin/](%%DOCROOT_SLASH%%bin/index.html) tools
|
## [bin/](index.html) tools
|
||||||
|
|
||||||
|
|
||||||
### [all-run.sh](%%DOCROOT_SLASH%%bin/all-run.sh)
|
### [all-run.sh](%%DOCROOT_SLASH%%bin/all-run.sh)
|
||||||
|
|||||||
+1
-1
@@ -383,7 +383,7 @@ content, for the <a href="https://www.ioccc.org">official IOCCC web site</a>.</p
|
|||||||
fragments from the <a href="../inc/index.html">inc directory</a> as well as various JSON
|
fragments from the <a href="../inc/index.html">inc directory</a> as well as various JSON
|
||||||
files and other content from the <a href="https://github.com/ioccc-src/temp-test-ioccc">IOCCC GitHub
|
files and other content from the <a href="https://github.com/ioccc-src/temp-test-ioccc">IOCCC GitHub
|
||||||
repo</a>.</p>
|
repo</a>.</p>
|
||||||
<h2 id="bin-tools"><a href="../bin/index.html">bin/</a> tools</h2>
|
<h2 id="bin-tools"><a href="index.html">bin/</a> tools</h2>
|
||||||
<h3 id="all-run.sh"><a href="../bin/all-run.sh">all-run.sh</a></h3>
|
<h3 id="all-run.sh"><a href="../bin/all-run.sh">all-run.sh</a></h3>
|
||||||
<p>Run a command on all winning entries.</p>
|
<p>Run a command on all winning entries.</p>
|
||||||
<p>For example:</p>
|
<p>For example:</p>
|
||||||
|
|||||||
@@ -2035,7 +2035,7 @@ sleeping.</p>
|
|||||||
</div>
|
</div>
|
||||||
<hr style="width:10%;text-align:left;margin-left:0">
|
<hr style="width:10%;text-align:left;margin-left:0">
|
||||||
<div id="2004_gavin">
|
<div id="2004_gavin">
|
||||||
<h2 id="gavin"><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2004/gavin/index.html">2004/gavin</a></h2>
|
<h2 id="gavin"><a href="2004/gavin/index.html">2004/gavin</a></h2>
|
||||||
</div>
|
</div>
|
||||||
<h3 id="status-compiled-executable-crashes---please-help-us-fix">STATUS: compiled executable crashes - please help us fix</h3>
|
<h3 id="status-compiled-executable-crashes---please-help-us-fix">STATUS: compiled executable crashes - please help us fix</h3>
|
||||||
<h3 id="status-doesnt-work-with-some-platforms---please-help-us-fix-1">STATUS: doesn’t work with some platforms - please help us fix</h3>
|
<h3 id="status-doesnt-work-with-some-platforms---please-help-us-fix-1">STATUS: doesn’t work with some platforms - please help us fix</h3>
|
||||||
@@ -3174,7 +3174,7 @@ a crash.</p>
|
|||||||
erroneously.</p>
|
erroneously.</p>
|
||||||
<p>Also, the maximum file size is 1GB.</p>
|
<p>Also, the maximum file size is 1GB.</p>
|
||||||
<div id="2019_yang">
|
<div id="2019_yang">
|
||||||
<h2 id="yang"><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2019/yang/index.html">2019/yang</a></h2>
|
<h2 id="yang"><a href="2019/yang/index.html">2019/yang</a></h2>
|
||||||
</div>
|
</div>
|
||||||
<h3 id="status-inabiaf---please-do-not-fix-80">STATUS: INABIAF - please <strong>DO NOT</strong> fix</h3>
|
<h3 id="status-inabiaf---please-do-not-fix-80">STATUS: INABIAF - please <strong>DO NOT</strong> fix</h3>
|
||||||
<h3 id="source-code-2019yangprog.c">Source code: <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2019/yang/prog.c">2019/yang/prog.c</a></h3>
|
<h3 id="source-code-2019yangprog.c">Source code: <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2019/yang/prog.c">2019/yang/prog.c</a></h3>
|
||||||
|
|||||||
@@ -2445,7 +2445,7 @@ There was no IOCCC in 2003.
|
|||||||
|
|
||||||
|
|
||||||
<div id="2004_gavin">
|
<div id="2004_gavin">
|
||||||
## [2004/gavin](%%REPO_URL%%/2004/gavin/index.html)
|
## [2004/gavin](2004/gavin/index.html)
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
### STATUS: compiled executable crashes - please help us fix
|
### STATUS: compiled executable crashes - please help us fix
|
||||||
@@ -4056,7 +4056,7 @@ erroneously.
|
|||||||
Also, the maximum file size is 1GB.
|
Also, the maximum file size is 1GB.
|
||||||
|
|
||||||
<div id="2019_yang">
|
<div id="2019_yang">
|
||||||
## [2019/yang](%%REPO_URL%%/2019/yang/index.html)
|
## [2019/yang](2019/yang/index.html)
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
### STATUS: INABIAF - please **DO NOT** fix
|
### STATUS: INABIAF - please **DO NOT** fix
|
||||||
|
|||||||
+16
-16
@@ -379,31 +379,31 @@
|
|||||||
<h4 id="here-is-the-menu-you-missed-because-javascript-is-disabled">Here is the menu you missed because JavaScript is disabled:</h4>
|
<h4 id="here-is-the-menu-you-missed-because-javascript-is-disabled">Here is the menu you missed because JavaScript is disabled:</h4>
|
||||||
<h2 id="entries">Entries</h2>
|
<h2 id="entries">Entries</h2>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="./years.html">Winning Entries</a></li>
|
<li><a href="years.html">Winning Entries</a></li>
|
||||||
<li><a href="./authors.html">People who have won</a></li>
|
<li><a href="authors.html">People who have won</a></li>
|
||||||
<li><a href="./location.html">Location of authors</a></li>
|
<li><a href="location.html">Location of authors</a></li>
|
||||||
<li><a href="./bugs.html">Bugs & Misfeatures</a></li>
|
<li><a href="bugs.html">Bugs & Misfeatures</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
<h2 id="status">Status</h2>
|
<h2 id="status">Status</h2>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="./news.html">IOCCC News</a></li>
|
<li><a href="news.html">IOCCC News</a></li>
|
||||||
<li><a href="./status.html">Contest status</a></li>
|
<li><a href="status.html">Contest status</a></li>
|
||||||
<li><a href="./next/index.html">Rules & Guidelines</a></li>
|
<li><a href="next/index.html">Rules & Guidelines</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
<h2 id="faq">FAQ</h2>
|
<h2 id="faq">FAQ</h2>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="./faq.html">FAQ</a></li>
|
<li><a href="faq.html">FAQ</a></li>
|
||||||
<li><a href="./faq.html#fix_an_entry">How to enter the IOCCC</a></li>
|
<li><a href="faq.html#fix_an_entry">How to enter the IOCCC</a></li>
|
||||||
<li><a href="./faq.html#fix_an_entry">Fixing IOCCC entries</a></li>
|
<li><a href="faq.html#fix_an_entry">Fixing IOCCC entries</a></li>
|
||||||
<li><a href="./faq.html#fix_web_site">Fixing the web site</a></li>
|
<li><a href="faq.html#fix_web_site">Fixing the web site</a></li>
|
||||||
<li><a href="./faq.html#fix_author">Fixing author info</a></li>
|
<li><a href="faq.html#fix_author">Fixing author info</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
<h2 id="about">About</h2>
|
<h2 id="about">About</h2>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="./index.html">IOCCC Home</a></li>
|
<li><a href="index.html">IOCCC Home</a></li>
|
||||||
<li><a href="./contact.html">The IOCCC Judges</a></li>
|
<li><a href="contact.html">The IOCCC Judges</a></li>
|
||||||
<li><a href="./contact.html">Contacting the IOCCC</a></li>
|
<li><a href="contact.html">Contacting the IOCCC</a></li>
|
||||||
<li><a href="./thanks-for-help.html">Thanks for the help</a>
|
<li><a href="thanks-for-help.html">Thanks for the help</a>
|
||||||
<!-- AFTER: last line of markdown file: nojs-menu.md --></li>
|
<!-- AFTER: last line of markdown file: nojs-menu.md --></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
|||||||
+16
-16
@@ -2,28 +2,28 @@
|
|||||||
|
|
||||||
## Entries
|
## Entries
|
||||||
|
|
||||||
* [Winning Entries](%%DOCROOT_SLASH%%years.html)
|
* [Winning Entries](years.html)
|
||||||
* [People who have won](%%DOCROOT_SLASH%%authors.html)
|
* [People who have won](authors.html)
|
||||||
* [Location of authors](%%DOCROOT_SLASH%%location.html)
|
* [Location of authors](location.html)
|
||||||
* [Bugs & Misfeatures](%%DOCROOT_SLASH%%bugs.html)
|
* [Bugs & Misfeatures](bugs.html)
|
||||||
|
|
||||||
## Status
|
## Status
|
||||||
|
|
||||||
* [IOCCC News](%%DOCROOT_SLASH%%news.html)
|
* [IOCCC News](news.html)
|
||||||
* [Contest status](%%DOCROOT_SLASH%%status.html)
|
* [Contest status](status.html)
|
||||||
* [Rules & Guidelines](%%DOCROOT_SLASH%%next/index.html)
|
* [Rules & Guidelines](next/index.html)
|
||||||
|
|
||||||
## FAQ
|
## FAQ
|
||||||
|
|
||||||
* [FAQ](%%DOCROOT_SLASH%%faq.html)
|
* [FAQ](faq.html)
|
||||||
* [How to enter the IOCCC](%%DOCROOT_SLASH%%faq.html#fix_an_entry)
|
* [How to enter the IOCCC](faq.html#fix_an_entry)
|
||||||
* [Fixing IOCCC entries](%%DOCROOT_SLASH%%faq.html#fix_an_entry)
|
* [Fixing IOCCC entries](faq.html#fix_an_entry)
|
||||||
* [Fixing the web site](%%DOCROOT_SLASH%%faq.html#fix_web_site)
|
* [Fixing the web site](faq.html#fix_web_site)
|
||||||
* [Fixing author info](%%DOCROOT_SLASH%%faq.html#fix_author)
|
* [Fixing author info](faq.html#fix_author)
|
||||||
|
|
||||||
## About
|
## About
|
||||||
|
|
||||||
* [IOCCC Home](%%DOCROOT_SLASH%%index.html)
|
* [IOCCC Home](index.html)
|
||||||
* [The IOCCC Judges](%%DOCROOT_SLASH%%contact.html)
|
* [The IOCCC Judges](contact.html)
|
||||||
* [Contacting the IOCCC](%%DOCROOT_SLASH%%contact.html)
|
* [Contacting the IOCCC](contact.html)
|
||||||
* [Thanks for the help](%%DOCROOT_SLASH%%thanks-for-help.html)
|
* [Thanks for the help](thanks-for-help.html)
|
||||||
+166
-166
File diff suppressed because it is too large.
Load diff
+166
-166
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user