Back to index
Last updated: 25 February 2023 (complete changelog since 26 July 2020)

On 26 July 2020 it came to my attention that two of my 2020 IOCCC entries have won! I'm very very happy and incredibly proud. This brings my total to three now. In time here I will give more information but for now this tweet is all there is for this entry:

Also the who won page on the official IOCCC website.

I am very very happy and very very proud and that's an understatement! I find it fitting that the award is 'Most enigmatic' because when I wrote this one (only after the crazy pandemic of 2020 had the judges reopen the contest - I didn't have time or energy or any inspiration for this before the contest closed the first time) I imagined that if it indeed won that it would be given that award exactly. The question wasn't the title but rather if it would win and I'm happy to say it did indeed win!

Anyway the entry can be found here. In time I will have more information on the entry but for now I only have the testing procedure document (I had to come up with a way to test it because a single difference in input will change everything after that point).

The winning entry (Last updated: 21 Feb 2021)

The winning entry can be found here.

Demo video of the Enigma simulator (New: 14 Jul 2021, originally published: 15 Mar 2021)

I described this tweet like so:

Video demonstrating my 2020 International Obfuscated C Code Contest (IOCCC) 'Most enigmatic' entry, the second entry of two that I won last year (three time winner [edit: yes I'm very proud]). Heer (Army) and Luftwaffe (Air force) Enigma simulator. It also can simulate the non-military grade Enigma as the text mentions.

I am very proud of this one and fortunately I have a knack for fixing code that is already obfuscated (though I no longer could easily modify this code as it's been too long ago now) since I uncovered a serious bug after I finished it.

Besides my mum I dedicated this to the approximately 55m poor souls - some of whom were never identified or found - who lost their lives in such a pointless conflict (like all wars) because the most powerful man of the time in the world wanted to dominate the world (though there are other estimates of the lost lives of course and it really doesn't matter what estimate you use: a life is a life and every life is precious!).

The testing procedure (New: 09 Jan 2021)

As I explain in the text file a single differing letter will change the outcome of the remainder of the text so I had to come up with a testing procedure to make sure that it works out okay. You can read all about that and see the script I wrote to test it here.