Files
ioccc/2020
Landon Curt Noll a78d78ccff fix use of temp-test-ioccc
Regarding use of `temp-test-ioccc` in current repo files:

We will ignore files under `tmp/` as they are going away.

We will ignore files under `bin/` as they will have their default `REPO_URL` value changed during the later parts of the **Great Fork Merge**.

We will ignore `*.html` files as the above changes to `bin/` tool will also change them during the later parts of the **Great Fork Merge**.

We will ignore `sitemap.xml` as the it will change during the later parts of the **Great Fork Merge**.

So this leaves for our consideration the files printed by this command:

```sh
find * -type f ! -name '*.html' ! -name sitemap.xml ! -path 'tmp/*' ! -path 'bin/*' -print0 | xargs -0 grep -l 'temp-test-ioccc'
```

We see 5 (3 sir), 3 cases:

* README.md index.md

The reference to `temp-test-ioccc` will be removed when a given section goes away as part of the later parts of the **Great Fork Merge**.

Nothing needs to be dome here other than to add some **XXX** comments to help remind us of what needs to be done in later parts of the **Great Fork Merge**.

* bugs.md faq.md news.md var.mk

The use of `temp-test-ioccc` is outside of a blob.

Here `https://github.com/ioccc-src/temp-test-ioccc/` may be be replaced by `https://github.com/ioccc-src/winner/` in anticipation of the **Great Fork Merge**.

There is an exception: The historic discussion abouts the history of the `temp-test-ioccc` repo needs to retain their `https://github.com/ioccc-src/temp-test-ioccc/` strings in `faq.md` and `news.md`.

* 2005/sykes/README.md

The markdown links that start with `https://github.com/ioccc-src/temp-test-ioccc/blob/master/` should instead start with `%%REPO_URL%%/`.

After the **Great Fork Merge**, the `%%REPO_URL%%/` value will refer to `https://github.com/ioccc-src/winner/blob/master/` instead.

* 2020/ferguson1/snake.1

There is not a tool to "pre-process" cat pages like there is for markdown files: no should there be.

The cat page refers to a markdown file when instead it should refer to a HTML page.

In this case we suggest that `https://github.com/ioccc-src/temp-test-ioccc/blob/` be replaced by `https://www.isthe.com/`, and `.md` be replaced by `.html` in anticipation of what it will need to be after the **Great Fork Merge**.

* YYYY/entry_dir/*.sh

The shell scripts references by the above command are "helper shell scripts.   Like man pages, there is no "pre-processor" for shell scripts, nor should there be.

Looking at these helper shell script files in detail:

```sh
find * -name '*.sh' ! -path 'tmp/*' ! -path 'bin/*' -print0 | xargs -0 grep 'temp-test-ioccc/blob/master'
```

We see that they all make references to `faq.md#something.`.

This is wrong in 2 ways:

0) They should not refer to the markdown file `faq.md` but rather to the HTML file `faq.html`.

1) They punctuate a literal string (with one exception) by adding a final period (".") to a string that requires somebody to copy and paste and exclude the final period (".").

Since these echo commands are suggesting that the user view something within the FAQ, we recommend that `echo "Tip: see https://github.com/ioccc-src/temp-test-ioccc/blob/master/faq.md#` be replaced by `echo "Tip: see https://www.ioccc.org/faq.html#` AND that the final period (".") be removed.  Thus they too will anticipate what they will need to be after the **Great Fork Merge**.
2024-05-30 11:17:04 -07:00
..
2024-05-30 11:17:04 -07:00
2024-05-30 11:17:04 -07:00
2024-05-30 11:17:04 -07:00
2024-05-28 15:22:22 -07:00
2024-05-28 15:22:22 -07:00
2024-02-01 14:35:49 -08:00
2020-12-30 16:57:03 -08:00
2020-12-30 16:57:03 -08:00
2024-04-28 01:08:21 -07:00
2023-10-07 04:35:47 -07:00

Twenty Seventh International Obfuscated C Code Contest

Standard IOCCC stuff

View the index.html web page for the given winning entry for information on how on how to compile it and how to run the winning program. Look at the winning source and try to figure how it does what it does! You may then wish to look at the Author's remarks for even more details.

The primary site can be found at www.ioccc.org.

Use make to compile entries. It is possible that on non-Unix / non-Linux systems the Makefile needs to be changed. See the Makefile for details.

Read over the Makefile and index.html files for compile/build issues. Your system may require certain changes (add or remove a library, add or remove a #define).

Some C compilers are not quite as good as they should be. If yours is lacking, you may need to compile using clang or gcc instead of your local compiler.

Remarks on some of the winning entries

This year's Best of Show - 2020/carlini is such a novel way of obfuscation that it would be worth of a special mention in the (future) Best of IOCCC list!

For some reason, this year's set of winning entries contains three nostalgic games, Asteroids - 2020/tsoj, Minesweeper - 2020/endoh1, and Snake - 2020/ferguson1.

An entry, kurdyukov1, pays homage to previous entry 2015/hou.

...We'll stop spouting spoilers now. Have fun exploring all the entries!

Remarks on some of submissions that did not win

As a rule, we try to compile the entries on a variety of platforms. Quite a few entries this year could not be built or executed on some of them due to reliance on library internals or the system runtime.

A few entries were violating the "2053 significant bytes" rule. If an entry could not be brought to compliance within a few seconds of looking at the source, it was disqualified.

One entry tried to get around the size limit by putting the code into Makefile variables and using -D. This is already called out as discouraged technique in the guidelines, but it is worth a reminder.

Several promising entries attempted to make use of the syscall function using literal syscall numbers. This is utterly non-portable.

A note to the authors: when submitting multiple entries, don't let us easily correlate them by coding style or documentation content, and definitely don't submit nearly identical versions of your program separately. As we try to judge the entries anonymously, the similarities will cause such entries to compete against one another, making each less likely to win.

We hope the authors of non-winning entries will refine their entries and perhaps re-submit them for the next IOCCC.

Final Comments

One more thing that feels dated is digraphs and trigraphs.

IMPORTANT NOTE: See contact.html for up to date contact details as well as details on how to provide fixes to any of the entries. See also the IOCCC FAQ for additional information on the IOCCC.