Re:A random dungeon generator in C, small enough to fit on a...
by codetrotter on Tuesday March 05, 2019 @09:27AM
(#19310692)
Hopefully without sounding like I am trying to boast or anything... I find the difference in readability and clarity dramatic between those two on one hand and my own deobfuscated, refactored and commented version of the OP. https://gist.github.com/ctsrc/fef3006e1d728bb7271cff0656eb02...
Re:A random dungeon generator in C, small enough to fit on a...
by homarp on Tuesday March 05, 2019 @09:53AM
(#19310867)
regarding your comment:
>// Probably plus means a locked door, and single quote means unlocked, or the other way around.
http://angband.oook.cz/stuff/manual.txt gives
' An open /broken door
+ A closed door
$ Gold or gems
A Angelic being
~ Light sources, Tools, Chests, Junk, Sticks, Skeletons, etc
Re:A random dungeon generator in C, small enough to fit on a...
by codetrotter on Tuesday March 05, 2019 @10:10AM
(#19310980)
Nice, thanks. I've updated the comments with the information you provided here :)
https://gist.github.com/femto113/28f69626acddc70a002ecead0b3... (from https://news.ycombinator.com/item?id=19290841 )