Note

First of all, a bit of off-topic: Finally, the files of IOCCC 2014 (23rd) is released, which I’d been waiting very patiently since the winners were announced on 2014-10-27. (2015-08-02T04:36:08Z)

The entry maffiodo1 for the 23rd International Obfuscated C Code Contest comes with two games — audio included:Mario Bros. and The Great Giana Sisters. The following screenshots were taken and scaled up to 800x500 from original 320x200:

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgg2z7YjcHcmc55NhaDWUpUNxZOJVz9CM7PbHz_sjXYoTboKAjbqqOV8L7koAuBkZGcdGE66LSpBN1xZDIi-q93FUkGycmmr0pAdFoYWXC-7ZD4LrfudwkZQOJwEZDL4j-7P3oZuBwXG6A/s800-Ic42/2015-08-02--12%25253A05%25253A56.png
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhf8gJ1GpPm8TWyxgm4q5TwpeyrGReDl9-pcvDeQiVoI7wsZ2r9Vpr36e0CIYKZfGx79hLBQxEc1UZhCDXUQ-D_t8qRFcZJEtoypz-afx5vc5MzvigpW7hadSgcd46RrAhStXN_78SHizo/s800-Ic42/2015-08-02--12%25253A07%25253A27.png

It has a lot in it, read the author’s comment about the parameters, sprites, and levels, but in short, the author said:

This is an engine for Platform Games. It can be used to create games like the legendary Super Mario Bros. With this simple and clear source[ ]code you can create all the games you want, for free!

And of course, the source code must look like the following or it wouldn’t be an IOCCC entry, would it?

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHfljJK4e0PtUPnHktGgv8iByxLvSGRUlN_aZr5XeQG0Kv-GSB6W9ulwy3P5eQs3w4uTahyphenhyphenD4ye0CGKakr3HMuk5F7__767JSvleljhaykRKKp8kXu5pxsiGBIsu-Ri3YC3rX4oLVTAic/s1600-Ic42/2015-08-02--12%25253A20%25253A13.png

maffiodo1 is written in C by Sandro Maffiodo, with SDL 1. The source prog.c (2015-07-20) has only 64 LOC or 3,730 bytes.