Remove hint.html and index.html
As per discussions on GitHub the index.html and hint.html files should be deleted in favour of README.md files (from any .text/.txt/.markdown/.md files which will be turned into README.md in an upcoming commit).
This commit is contained in:
1 parent
ee8a36310f
commit
77fb0f11a2
143 files changed
-28606
No files matched your search
@@ -1,151 +0,0 @@
|
||||
<!doctype html public "-//W3C//DTD HTML 4.0 Transitional //EN">
|
||||
<html>
|
||||
<head>
|
||||
<meta name="GENERATOR" content="mkd2html 2.2.2">
|
||||
<meta http-equiv="Content-Type"
|
||||
content="text/html; charset=utf-8"> <link rel="stylesheet"
|
||||
type="text/css"
|
||||
href="../hint.css" />
|
||||
<title></title>
|
||||
<title>Most misleading indentation</title>
|
||||
</head>
|
||||
<body>
|
||||
<CENTER>
|
||||
<IMG SRC="/png/ioccc.png" ALT="IOCCC" height=78 width=267>
|
||||
<P><FONT size="6"><I>The International Obfuscated C Code Contest</I></FONT></P>
|
||||
<div id="bar">
|
||||
<ul>
|
||||
<li><a href="../index.html">About the 27th IOCCC</a></li>
|
||||
<li><a href="../whowon.html">27th IOCCC Winners</a></li>
|
||||
<li><a href="/index.html">IOCCC home</a></li>
|
||||
<li><a href="/winners.html">List of All Winners</a></li>
|
||||
<li><a href="/judges.html">The Judges</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<P><FONT size="6"><B>A 27<sup>th</sup> IOCCC Winner</B></FONT></P>
|
||||
</CENTER>
|
||||
|
||||
|
||||
<h1>Most misleading indentation</h1>
|
||||
|
||||
<p>tsoj <a href="mailto:tsoj.tsoj@gmx.de">tsoj.tsoj@gmx.de</a><br/>
|
||||
<a href="https://gitlab.com/tsoj">https://gitlab.com/tsoj</a></p>
|
||||
|
||||
<p>The code for this entry can be found in <a href="prog.c">prog.c</a></p>
|
||||
|
||||
<h2>Judges' comments:</h2>
|
||||
|
||||
<h3>To use:</h3>
|
||||
|
||||
<pre><code>make
|
||||
./prog
|
||||
</code></pre>
|
||||
|
||||
<h3>Try:</h3>
|
||||
|
||||
<pre><code># Make your terminal as large as possible, possibly reduce your font size
|
||||
# then...
|
||||
./prog
|
||||
</code></pre>
|
||||
|
||||
<h3>Selected Judges Remarks:</h3>
|
||||
|
||||
<p>This game does not use curses, but you may end up cursing.</p>
|
||||
|
||||
<p>The code is made more difficult to read using an innovative, right justified,
|
||||
reverse indentation style.</p>
|
||||
|
||||
<h2>Author’s comments:</h2>
|
||||
|
||||
<h4>Controls</h4>
|
||||
|
||||
<ul>
|
||||
<li>Movement:<br/>
|
||||
<code>w</code>, <code>a</code>, <code>s</code>, <code>d</code></li>
|
||||
<li>Fire:<br/>
|
||||
<code>space</code></li>
|
||||
<li>Quit:<br/>
|
||||
<code>q</code></li>
|
||||
<li>Pause:<br/>
|
||||
<code>p</code>, then use any other key to resume</li>
|
||||
</ul>
|
||||
|
||||
|
||||
<p><code>
|
||||
/\
|
||||
//\\
|
||||
/ \
|
||||
/______\
|
||||
/\/\
|
||||
</code></p>
|
||||
|
||||
<h4>Compile and run</h4>
|
||||
|
||||
<h6>Linux</h6>
|
||||
|
||||
<p><code>
|
||||
cc -std=c99 -O3 prog.c -o prog
|
||||
./prog
|
||||
</code></p>
|
||||
|
||||
<h6>Windows</h6>
|
||||
|
||||
<p>The only way I found to make it work is to use <a href="https://www.msys2.org">MSYS2</a>. When using the MSYS2 shell you can install gcc via pacman.
|
||||
<code>
|
||||
cc -std=c99 -O3 prog.c -o prog
|
||||
./prog.exe
|
||||
</code></p>
|
||||
|
||||
<h4>Warnings</h4>
|
||||
|
||||
<ul>
|
||||
<li><code>-Wno-missing-prototypes</code></li>
|
||||
<li><code>-Wno-shorten-64-to-32</code></li>
|
||||
<li><code>-Wno-sign-conversion</code></li>
|
||||
<li><code>-Wno-implicit-int-float-conversion</code></li>
|
||||
<li><code>-Wno-missing-field-initializers</code></li>
|
||||
<li><code>-Wno-implicit-float-conversion</code></li>
|
||||
<li><code>-Wno-vla</code></li>
|
||||
<li><code>-Wno-float-conversion</code></li>
|
||||
<li><code>-Wno-comma</code></li>
|
||||
<li><code>-Wno-shadow</code></li>
|
||||
<li><code>-Wno-format</code></li>
|
||||
<li><code>-Wno-empty-body</code></li>
|
||||
<li><code>-Wno-misleading-indentation</code></li>
|
||||
<li><code>-Wno-maybe-uninitialized</code></li>
|
||||
<li>You may experience a mild <a href="https://en.wikipedia.org/wiki/Motion_aftereffect">motion aftereffect</a> when playing for too long
|
||||
|
||||
<h4>Highscore</h4>
|
||||
|
||||
Score will be shown in the top left corner.<br/>
|
||||
My best was <strong>156</strong>. If you beat that I’ll send you the image of a very expensive chocolate.
|
||||
|
||||
<h4>Features</h4></li>
|
||||
<li>Procedural star generation</li>
|
||||
<li>Very space-efficient for-loops</li>
|
||||
<li>No use of <code>!=</code> or <code>==</code></li>
|
||||
<li>Smooth rendering even on slow terminals</li>
|
||||
<li>Advanced ascii-art</li>
|
||||
<li>Cutting edge physics engine and collision detection</li>
|
||||
<li>Probably not many segfaults</li>
|
||||
<li>Every letter in the English alphabet has a variable or function named after it</li>
|
||||
<li>Not a virus</li>
|
||||
<li>Runs on my machine
|
||||
|
||||
<h4>Tips</h4></li>
|
||||
<li>Adjust your terminal size for different experiences</li>
|
||||
<li>Run this program in a virtual console to immerse yourself in the game</li>
|
||||
</ul>
|
||||
|
||||
<BR>
|
||||
<HR>
|
||||
<TABLE><TR>
|
||||
<TD><a rel="license" href="https://creativecommons.org/licenses/by-sa/3.0/"><img alt="Creative Commons License" style="border-width:0" src="/png/by-sa-3.0-88x31.png" /></a></TD>
|
||||
<TD><P>© Copyright 1984-2020,
|
||||
<A HREF="/judges.html">Leo Broukhis, Simon Cooper, Landon Curt Noll</A>
|
||||
- All rights reserved<BR>
|
||||
This work is licensed under a <a rel="license" href="https://creativecommons.org/licenses/by-sa/3.0/">Creative Commons Attribution-ShareAlike 3.0 Unported License</a>.</P></TD>
|
||||
<TD> <!--<a href="https://validator.w3.org/check?uri=referer"><img src="https://www.w3.org/Icons/valid-html401" alt="Valid HTML 4.01 Transitional" height="31" width="88"></a>--></TD>
|
||||
</TR></TABLE>
|
||||
</body>
|
||||
</html>
|
||||
Reference in new issue
Block a user