IOCCC

The International Obfuscated C Code Contest

A 27th IOCCC Winner

Most misleading indentation

tsoj tsoj.tsoj@gmx.de
https://gitlab.com/tsoj

The code for this entry can be found in prog.c

Judges' comments:

To use:

make
./prog

Try:

# Make your terminal as large as possible, possibly reduce your font size
# then...
./prog

Selected Judges Remarks:

This game does not use curses, but you may end up cursing.

The code is made more difficult to read using an innovative, right justified, reverse indentation style.

Author’s comments:

Controls

/\ //\\ / \ /______\ /\/\

Compile and run

Linux

cc -std=c99 -O3 prog.c -o prog ./prog

Windows

The only way I found to make it work is to use MSYS2. When using the MSYS2 shell you can install gcc via pacman. cc -std=c99 -O3 prog.c -o prog ./prog.exe

Warnings



Creative Commons License

© Copyright 1984-2020, Leo Broukhis, Simon Cooper, Landon Curt Noll - All rights reserved
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.