convert spoiler filenames into deobfuscation filenames
This commit is contained in:
1 parent
3aec80f057
commit
85c991620f
94 files changed
+361
-363
No files matched your search
+16
-16
@@ -105,6 +105,14 @@
|
||||
"display_via_github" : false,
|
||||
"entry_text" : "explains various odd screen dumps"
|
||||
},
|
||||
{
|
||||
"file_path" : "deobfuscation.html",
|
||||
"inventory_order" : 100,
|
||||
"OK_to_edit" : false,
|
||||
"display_as" : "html",
|
||||
"display_via_github" : false,
|
||||
"entry_text" : "Deobfuscation information about the code"
|
||||
},
|
||||
{
|
||||
"file_path" : "gameplay.html",
|
||||
"inventory_order" : 100,
|
||||
@@ -113,14 +121,6 @@
|
||||
"display_via_github" : false,
|
||||
"entry_text" : "many different gameplay modes described"
|
||||
},
|
||||
{
|
||||
"file_path" : "spoilers.html",
|
||||
"inventory_order" : 100,
|
||||
"OK_to_edit" : false,
|
||||
"display_as" : "html",
|
||||
"display_via_github" : false,
|
||||
"entry_text" : "spoilers about the code"
|
||||
},
|
||||
{
|
||||
"file_path" : "terminals.html",
|
||||
"inventory_order" : 100,
|
||||
@@ -273,6 +273,14 @@
|
||||
"display_via_github" : true,
|
||||
"entry_text" : "markdown source for crazy.log.html"
|
||||
},
|
||||
{
|
||||
"file_path" : "deobfuscation.md",
|
||||
"inventory_order" : 4000000000,
|
||||
"OK_to_edit" : true,
|
||||
"display_as" : "markdown",
|
||||
"display_via_github" : true,
|
||||
"entry_text" : "markdown source for deobfuscation.html"
|
||||
},
|
||||
{
|
||||
"file_path" : "gameplay.md",
|
||||
"inventory_order" : 4000000000,
|
||||
@@ -289,14 +297,6 @@
|
||||
"display_via_github" : false,
|
||||
"entry_text" : "image of Double-layered Chocolate Fudge Cake with 'IOCCC'"
|
||||
},
|
||||
{
|
||||
"file_path" : "spoilers.md",
|
||||
"inventory_order" : 4000000000,
|
||||
"OK_to_edit" : true,
|
||||
"display_as" : "markdown",
|
||||
"display_via_github" : true,
|
||||
"entry_text" : "markdown source for spoilers.html"
|
||||
},
|
||||
{
|
||||
"file_path" : "terminals.md",
|
||||
"inventory_order" : 4000000000,
|
||||
|
||||
@@ -120,7 +120,7 @@ OBJ= ${PROG}.o
|
||||
DATA= COMPILING.md HACKING.md bugs.md cake.jpg cannibalism.log.md \
|
||||
chocolate-cake.md crazy.log.md gameplay.md \
|
||||
halfwidth_vs_fullwidth.png ioccc-cake.jpg play.sh prog.2.c prog.3-j.c \
|
||||
prog.3.c snake-colours.sh snake.1 spoilers.md \
|
||||
prog.3.c snake-colours.sh snake.1 deobfuscation.md \
|
||||
termcaps.c terminals.md troubleshooting.md
|
||||
TARGET= ${PROG} termcaps play snake-colours
|
||||
#
|
||||
|
||||
@@ -137,7 +137,7 @@ Bugs and things that might seem like bugs but are not.
|
||||
|
||||
Because most of us could use some *Double-layered Chocolate Fudge Cake*!
|
||||
|
||||
* [spoilers.html](spoilers.html)
|
||||
* [deobfuscation.html](deobfuscation.html)
|
||||
|
||||
Read ***ONLY*** if you really must give up trying to de-obfuscate!
|
||||
|
||||
@@ -201,7 +201,7 @@ The [terminals.html](terminals.html) has a variety of information
|
||||
specific to terminals from input/directions, dimensions, sanity and colours: a
|
||||
sort of troubleshooting guide for terminals with some additional information.
|
||||
|
||||
The [spoilers.html](spoilers.html) has a variety of information
|
||||
The [deobfuscation.html](deobfuscation.html) has a variety of information
|
||||
including some of the obfuscation techniques and a bit of how it works.
|
||||
|
||||
The [bugs.html](bugs.html) has a list of known bugs and things that
|
||||
@@ -594,7 +594,7 @@ email but I'm more likely to respond to mastodon messages.
|
||||
[troubleshooting.html]: troubleshooting.html
|
||||
[human snakes]: http://www.macroevolution.net/snake-human-hybrids.html
|
||||
[chocolate-cake.html]: chocolate-cake.html
|
||||
[spoilers.html]: spoilers.html
|
||||
[deobfuscation.html]: deobfuscation.html
|
||||
[Surround]: https://en.wikipedia.org/wiki/Surround_(video_game)
|
||||
[Snake walk: The physics of slithering]: https://www.bbc.co.uk/news/science-environment-35563941
|
||||
[snake-colours.sh]: snake-colours.sh
|
||||
|
||||
@@ -294,7 +294,7 @@ a bug and I prefer putting in restrictions to try and make it very unlikely.
|
||||
[gameplay.html]: gameplay.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
|
||||
[spoilers.html]: spoilers.html
|
||||
[deobfuscation.html]: deobfuscation.html
|
||||
|
||||
|
||||
<hr style="width:10%;text-align:left;margin-left:0">
|
||||
|
||||
@@ -12,8 +12,8 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
|
||||
<title>The International Obfuscated C Code Contest</title>
|
||||
<link rel="icon" type="image/x-icon" href="../../favicon.ico">
|
||||
<meta name="description" content="spoilers.md for 2020/ferguson1">
|
||||
<meta name="keywords" content="IOCCC, 2020/ferguson1, spoilers.md">
|
||||
<meta name="description" content="deobfuscation.md for 2020/ferguson1">
|
||||
<meta name="keywords" content="IOCCC, 2020/ferguson1, deobfuscation.md">
|
||||
</head>
|
||||
|
||||
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
|
||||
@@ -26,13 +26,13 @@
|
||||
|
||||
<!-- -->
|
||||
<!-- This web page was formed via the tool: bin/gen-other-html.sh -->
|
||||
<!-- The content of main section of this web page came from: 2020/ferguson1/spoilers.md -->
|
||||
<!-- The content of main section of this web page came from: 2020/ferguson1/deobfuscation.md -->
|
||||
<!-- -->
|
||||
|
||||
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
|
||||
<!-- !!! Do not modify this web page, instead modify the file: 2020/ferguson1/spoilers.md !!! -->
|
||||
<!-- !!! Do not modify this web page, instead modify the file: 2020/ferguson1/spoilers.md !!! -->
|
||||
<!-- !!! Do not modify this web page, instead modify the file: 2020/ferguson1/spoilers.md !!! -->
|
||||
<!-- !!! Do not modify this web page, instead modify the file: 2020/ferguson1/deobfuscation.md !!! -->
|
||||
<!-- !!! Do not modify this web page, instead modify the file: 2020/ferguson1/deobfuscation.md !!! -->
|
||||
<!-- !!! Do not modify this web page, instead modify the file: 2020/ferguson1/deobfuscation.md !!! -->
|
||||
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
|
||||
|
||||
<!-- Markdown content was converted into HTML via the tool: bin/md2html.sh -->
|
||||
@@ -363,7 +363,7 @@
|
||||
height=110>
|
||||
</a>
|
||||
<h1>The International Obfuscated C Code Contest</h1>
|
||||
<h2>spoilers.html for 2020/ferguson1</h2>
|
||||
<h2>deobfuscation.html for 2020/ferguson1</h2>
|
||||
</div>
|
||||
|
||||
<!-- END: this line ends content from: inc/header.default.html -->
|
||||
@@ -371,7 +371,7 @@
|
||||
|
||||
<div class="navbar">
|
||||
<a class="Left" href="index.html">↑ jump to index.html ↑</a>
|
||||
<a class="Right" href="https://validator.w3.org/nu/?doc=https%3A%2F%2Fioccc-src.github.io%2Ftemp-test-ioccc%2F2020%2Fferguson1%2Fspoilers.html">✓</a>
|
||||
<a class="Right" href="https://validator.w3.org/nu/?doc=https%3A%2F%2Fioccc-src.github.io%2Ftemp-test-ioccc%2F2020%2Fferguson1%2Fdeobfuscation.html">✓</a>
|
||||
</div>
|
||||
|
||||
<!-- END: this line ends content from: inc/navbar.up2index.html -->
|
||||
@@ -382,14 +382,14 @@
|
||||
<!-- END: this line ends content from: inc/before-content.default.html -->
|
||||
<!-- START: this line starts content for HTML phase 21 by: bin/pandoc-wrapper.sh via bin/md2html.sh -->
|
||||
|
||||
<!-- BEFORE: 1st line of markdown file: 2020/ferguson1/spoilers.md -->
|
||||
<h1 id="introduction-spoiler-alert">Introduction (SPOILER ALERT)</h1>
|
||||
<!-- BEFORE: 1st line of markdown file: 2020/ferguson1/deobfuscation.md -->
|
||||
<h1 id="introduction-and-deobfuscation">Introduction and Deobfuscation</h1>
|
||||
<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.
|
||||
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
|
||||
ways I reduced the iocccsize so I could do more with the code. Probably this
|
||||
file causes more spoilage than the other files though that’s not to say
|
||||
file causes more deobfuscation information than the other files though that’s not to say
|
||||
everything will be answered here.</p>
|
||||
<p>If you’re still interested in this file (i.e. you’re a judge or someone who
|
||||
wants to know more about it) read on. Yes I write a lot. But you probably
|
||||
@@ -718,7 +718,7 @@ offsets for every time I use negative offsets. But where’s the fun in that? :)
|
||||
<p>BTW: Some of these are not in the table of expressions in the
|
||||
<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
|
||||
obfuscation) though it might be able to give an idea. Spoilers abound in
|
||||
obfuscation) though it might be able to give an idea. Deobfuscation inforation abound in
|
||||
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
|
||||
itself! Instead of misleading comments it’s misleading statements in the
|
||||
@@ -1132,7 +1132,7 @@ matter having a ‘o’ at 0,0 isn’t either).</p>
|
||||
https://creativecommons.org/licenses/by-sa/4.0/
|
||||
|
||||
-->
|
||||
<!-- AFTER: last line of markdown file: 2020/ferguson1/spoilers.md -->
|
||||
<!-- AFTER: last line of markdown file: 2020/ferguson1/deobfuscation.md -->
|
||||
|
||||
<!-- END: this line ends content for HTML phase 21 by: bin/pandoc-wrapper.sh via bin/md2html.sh -->
|
||||
<!-- START: this line starts content from: inc/after-content.default.html -->
|
||||
@@ -1192,7 +1192,7 @@ matter having a ‘o’ at 0,0 isn’t either).</p>
|
||||
|
||||
<div id="coda"><h3>Coda</h3>
|
||||
<p>
|
||||
<a href="https://validator.w3.org/nu/?doc=https%3A%2F%2Fioccc-src.github.io%2Ftemp-test-ioccc%2F2020%2Fferguson1%2Fspoilers.html" rel="nofollow">Nu HTML check this web page</a><br>
|
||||
<a href="https://validator.w3.org/nu/?doc=https%3A%2F%2Fioccc-src.github.io%2Ftemp-test-ioccc%2F2020%2Fferguson1%2Fdeobfuscation.html" rel="nofollow">Nu HTML check this web page</a><br>
|
||||
<a href="#top">Jump to top</a> <a href="#content">Jump to Content</a>
|
||||
</p>
|
||||
</div>
|
||||
@@ -1,11 +1,11 @@
|
||||
# Introduction (SPOILER ALERT)
|
||||
# Introduction and Deobfuscation
|
||||
|
||||
In the [gameplay.html][] file I have given enough
|
||||
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:
|
||||
the technical details as it were, obfuscation techniques and also some of the
|
||||
ways I reduced the iocccsize so I could do more with the code. Probably this
|
||||
file causes more spoilage than the other files though that's not to say
|
||||
file causes more deobfuscation information than the other files though that's not to say
|
||||
everything will be answered here.
|
||||
|
||||
If you're still interested in this file (i.e. you're a judge or someone who
|
||||
@@ -443,7 +443,7 @@ dimensions. Now in the first call in `main()` I have the code and tests followin
|
||||
BTW: Some of these are not in the table of expressions in the
|
||||
[HACKING.html][] file. Also there might be some
|
||||
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. Deobfuscation inforation abound in
|
||||
that file (in addition to this file) but the [HACKING.html][]
|
||||
file states things that are no longer true: a way of obfuscation
|
||||
itself! Instead of misleading comments it's misleading statements in the
|
||||
@@ -802,7 +802,7 @@ to be a problem simply do:</p>
|
||||
could also set the max size to be the highest possible by saying</p>
|
||||
<pre><code> MAXSIZE=-1</code></pre>
|
||||
<p>Which I’ve done in the <a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1/play.sh">play.sh</a> script.</p>
|
||||
<p>I discuss how this mode works in <a href="spoilers.html">spoilers.html</a>.</p>
|
||||
<p>I discuss how this mode works in <a href="deobfuscation.html">deobfuscation.html</a>.</p>
|
||||
<p>Here’s an example run where I spelt ‘SNAKE’. As you can see it’s far from
|
||||
perfect: the snake after all does not leave gaps and the game does not support
|
||||
diagonal movement and I also made a mistake and had to modify what I was aiming
|
||||
|
||||
@@ -554,7 +554,7 @@ could also set the max size to be the highest possible by saying
|
||||
|
||||
Which I've done in the [play.sh][] script.
|
||||
|
||||
I discuss how this mode works in [spoilers.html][].
|
||||
I discuss how this mode works in [deobfuscation.html][].
|
||||
|
||||
Here's an example run where I spelt 'SNAKE'. As you can see it's far from
|
||||
perfect: the snake after all does not leave gaps and the game does not support
|
||||
@@ -913,7 +913,7 @@ years ago but I know it's true now. **Believe in yourself. Always.**
|
||||
[terminals.html]: terminals.html
|
||||
[troubleshooting.html]: troubleshooting.html
|
||||
[bugs.html]: bugs.html
|
||||
[spoilers.html]: spoilers.html
|
||||
[deobfuscation.html]: deobfuscation.html
|
||||
[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
|
||||
[termcaps.c]: %%REPO_URL%%/2020/ferguson1/termcaps.c
|
||||
|
||||
@@ -507,7 +507,7 @@ This game has a number of configurable pitfalls including walls and snakes.</p>
|
||||
</ul>
|
||||
<p>Because most of us could use some <em>Double-layered Chocolate Fudge Cake</em>!</p>
|
||||
<ul>
|
||||
<li><a href="spoilers.html">spoilers.html</a></li>
|
||||
<li><a href="deobfuscation.html">deobfuscation.html</a></li>
|
||||
</ul>
|
||||
<p>Read <strong><em>ONLY</em></strong> if you really must give up trying to de-obfuscate!</p>
|
||||
<h2 id="authors-remarks">Author’s remarks:</h2>
|
||||
@@ -559,7 +559,7 @@ first glance but are not) that I have thought of or encountered.</p>
|
||||
<p>The <a href="terminals.html">terminals.html</a> has a variety of information
|
||||
specific to terminals from input/directions, dimensions, sanity and colours: a
|
||||
sort of troubleshooting guide for terminals with some additional information.</p>
|
||||
<p>The <a href="spoilers.html">spoilers.html</a> has a variety of information
|
||||
<p>The <a href="deobfuscation.html">deobfuscation.html</a> has a variety of information
|
||||
including some of the obfuscation techniques and a bit of how it works.</p>
|
||||
<p>The <a href="bugs.html">bugs.html</a> has a list of known bugs and things that
|
||||
look like bugs but aren’t as well as documenting a built-in test unit for some
|
||||
@@ -912,8 +912,8 @@ email but I’m more likely to respond to mastodon messages.</p>
|
||||
<li><a href="cannibalism.log.html">cannibalism.log.html</a> - shows extreme cannibalism mode output</li>
|
||||
<li><a href="chocolate-cake.html">chocolate-cake.html</a> - Double-layered Chocolate Fudge Cake Recipe</li>
|
||||
<li><a href="crazy.log.html">crazy.log.html</a> - explains various odd screen dumps</li>
|
||||
<li><a href="deobfuscation.html">deobfuscation.html</a> - Deobfuscation information about the code</li>
|
||||
<li><a href="gameplay.html">gameplay.html</a> - many different gameplay modes described</li>
|
||||
<li><a href="spoilers.html">spoilers.html</a> - spoilers about the code</li>
|
||||
<li><a href="terminals.html">terminals.html</a> - terminal capabilities and dimensions and colours</li>
|
||||
<li><a href="troubleshooting.html">troubleshooting.html</a> - troubleshooting Snake</li>
|
||||
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1/prog.2.c">prog.2.c</a> - source code with more digraphs</li>
|
||||
@@ -933,12 +933,12 @@ email but I’m more likely to respond to mastodon messages.</p>
|
||||
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1/cannibalism.log.md">cannibalism.log.md</a> - markdown source for cannibalism.log.html</li>
|
||||
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1/chocolate-cake.md">chocolate-cake.md</a> - markdown source for chocolate-cake.html</li>
|
||||
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1/crazy.log.md">crazy.log.md</a> - markdown source for crazy.log.html</li>
|
||||
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1/deobfuscation.md">deobfuscation.md</a> - markdown source for deobfuscation.html</li>
|
||||
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1/.entry.json">.entry.json</a> - entry summary and manifest in JSON</li>
|
||||
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1/gameplay.md">gameplay.md</a> - markdown source for gameplay.html</li>
|
||||
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1/.gitignore">.gitignore</a> - list of files that should not be committed under git</li>
|
||||
<li><a href="ioccc-cake.jpg">ioccc-cake.jpg</a> - image of Double-layered Chocolate Fudge Cake with ‘IOCCC’</li>
|
||||
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1/.path">.path</a> - directory path from top level directory</li>
|
||||
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1/spoilers.md">spoilers.md</a> - markdown source for spoilers.html</li>
|
||||
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1/terminals.md">terminals.md</a> - markdown source for terminals.html</li>
|
||||
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2020/ferguson1/troubleshooting.md">troubleshooting.md</a> - markdown source for troubleshooting.html</li>
|
||||
<li><a href="index.html">index.html</a> - this web page</li>
|
||||
|
||||
Reference in new issue
Block a user