Angband Forums

Angband Forums (http://angband.oook.cz/forum/index.php)
-   Idle chatter (http://angband.oook.cz/forum/forumdisplay.php?f=6)
-   -   shortest roguelike (http://angband.oook.cz/forum/showthread.php?t=8380)

Pete Mack May 8, 2017 07:10

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.)


All times are GMT +1. The time now is 04:52.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.