Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > The real world > Idle chatter

Reply
 
Thread Tools Display Modes
Old May 8, 2017, 06:10   #1
Pete Mack
Prophet
 
Join Date: Apr 2007
Location: Seattle, WA
Posts: 4,044
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
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Roguelike Radio andrewdoull Idle chatter 47 November 8, 2014 21:57
My Roguelike project Narvius Idle chatter 4 August 13, 2013 05:32
Roguelike of the Year Nick Variants 13 December 17, 2012 13:34
Otherwise known as a Roguelike. xibalba Idle chatter 1 May 6, 2012 00:18
Roguelike Phylogeny Zappa Vanilla 5 August 14, 2009 22:32


All times are GMT +1. The time now is 02:32.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.