I am reminded of this 4 kilobyte demo: <a href="https://www.youtube.com/watch?v=jB0vBmiTr6o" rel="nofollow">https://www.youtube.com/watch?v=jB0vBmiTr6o</a><p>(Source code and discussion at <a href="https://news.ycombinator.com/item?id=11848097" rel="nofollow">https://news.ycombinator.com/item?id=11848097</a> ; explanation at <a href="http://www.iquilezles.org/www/material/function2009/function2009.pdf" rel="nofollow">http://www.iquilezles.org/www/material/function2009/function...</a> )<p>although the flight sim is a little more interesting from a technical perspective, since it's interactive and also not using the GPU to do most of the computation.<p>Also, despite the source code being obfuscated, observe that that "external symbols" which are still visible, e.g. XDrawLine, XSetForeground, etc. already give a pretty good overview of how it does what it does --- and in general, when reverse-engineering or analysing software, inspecting where the "black box" interacts with the rest of the world is an important part of understanding it.
And yet it looks like my coworkers everyday php code. Seriously though way to go above and beyond in the competition with something so interesting on its own as a x windows flight sim with easy to modify scenery.
Wow thats really impressive. I just wrote a flight sim the other day that i thought was frugal because it's less than 10 kloc. This on is about 100 times shorter!
I have modified the Linux SABRE flight sim to compile and run on modern Linux systems. Only requires DirectFB (replaced SVGALIB) or SDL2. Build with scons.<p><a href="https://github.com/ysangkok/sabre" rel="nofollow">https://github.com/ysangkok/sabre</a><p>Images and review at:<p><a href="http://www.tldp.org/LDP/LG/issue30/ayers3.html" rel="nofollow">http://www.tldp.org/LDP/LG/issue30/ayers3.html</a>
I have been low-level systems coder for about 10 years, and have no clue how demos are made besides the fact they use the technique of procedural generation and/or shader(s).<p>Is there a guide on how to start making one?
Pretty cool! I don't know why I expected otherwise, but the makefile works just fine despite being from 1998. It took 30 seconds to download the files, compile, and start playing the game!
I love using small amounts of code to write beautiful code...preferably games. I wish there was a book with 20 programs like this, just not obfuscated. I bet I would learn a lot.
Downloaded, ran "make banks"... And played. [0]
Works like a charm!<p>And despite the seriously obfuscated nature, I only got three warnings on compilation.<p>Banks compiled down to 19kb (though dynamically linked), which is still fairly tiny (though much larger than the source code).<p>Now excuse me, I'm going to have some old school fun.<p>[0] <a href="https://imgur.com/RvEM5q2" rel="nofollow">https://imgur.com/RvEM5q2</a>