View Single Post
Old May 8, 2017, 07:10   #1
Pete Mack
Prophet
 
Join Date: Apr 2007
Location: Seattle, WA
Posts: 5,074
Donated: $40
Pete Mack is on a distinguished road
shortest roguelike

So one somewhat popular style of C obfuscation is writing minimal length programs (shortest sort subroutine, say.) Well I recently found a candidate for shortest roguelike (though it's obviously not worth playing.) 483 characters to get a primitive game:
http://locklessinc.com/articles/512byte_roguelike/

Utterly unreadable, with ridiculous optimizations like reusing 'm' character as the screen width, (77) to avoid one extra character (the 0 in 80.)
Pete Mack is offline   Reply With Quote