/dev/kev

IOCCC 2001

The International Obfuscated C Code Contest (IOCCC) is a worldwide contest held amongst C hackers to push the boundaries of hard-to-read and unusual C code. There are various rules and asdf for contest entries, in particular, the size of the entry is limited to 2048 bytes.

I entered the 2001 IOCCC and was awarded the Best curses Game prize for my Network Pong entry. The program is a two-player networked version of the eighties arcade classic, "pong". It uses standard TCP sockets to communicate over the net, and ncurses for display. It supports variable terminal sizes (though both players must have the same terminal size) and game speeds. Each player has a paddle to hit the ball, and you get points for getting the ball past your opponent's paddle. It's pretty fun! :)

You can get the code, a Makefile and a README (of sorts). As per the IOCCC rules, the code is in the public domain.



Last updated: Tuesday, 06 June, 2006.
Copyright © 1994-2012, Kevin Pulo, kev at pulo dot com dot au
Public key fingerprint: 94A4 D2B6 85E6 A46A 5330 74F3 199C 4F85 563D C85F