However, for the actual 2006 IOCCC, took it a serious step further with his entry, and you should definitely give that one a try. Sure, the code’s donut shape is mainly owed to the added filler comments, but let’s face it, the donut shape is just a neat little addition, and the code wouldn’t be any less impressive squeezed all in one line - or multiple lines of appropriate lengths. For those who prefer C over mathematical notation, we added a reformatted version after the break. ’s blog article goes in all the details of the rotation math, and how he simply uses ASCII characters with different pixel amounts to emulate the illumination. The code itself actually dates back to 2006, but has recently resurfaced on Reddit after posted a video about it on YouTube, so we figured we take that chance to give some further attention to this nifty piece of art. If we ever happen to see a Simpsons episode on the subject, has the obvious candidate for a entry: a rotating ASCII art donut, formatted as donut-shaped C code. In case you grow tired of clear-written, understandable code, obfuscation contests provide a nice change of scenery, and trying to make sense of their entries can be a fun-time activity and an interesting alternative to the usual brainteasers.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |