Readit News logoReadit News
scorchingjello commented on How to program a text adventure in C   helderman.github.io/htpat... · Posted by u/nivethan
parshua · 4 months ago
The best way to implement a text adventure in C would be to implement a simple lisp interpreter in C and then implementing the actual game in a lisp DSL. Lisp lends itself surprisingly well to this, and defining game logic declaratively instead of imperatively is much more intuitive. Here are a few examples:

[1] http://www.ulisp.com/show?383X

[2] https://github.com/mswift42/MetalHead

[3] https://github.com/xlxs4/lisp-spels/blob/main/spel.el

scorchingjello · 4 months ago
Or replace large part of this code with lex and yacc and stick with C.
scorchingjello commented on Mesmerizing Interlocking Geometric Patterns Produced with Japanese Woodworking   smithsonianmag.com/smiths... · Posted by u/pseudolus
scorchingjello · 4 months ago
Kinda bummed there wasn’t any Japanese woodworking in the picture. Just this American artist’s studies of it. I was hoping for some comparison shots to the historic Japanese forms mentioned.
scorchingjello commented on Will the Humanities Survive Artificial Intelligence?   newyorker.com/culture/the... · Posted by u/tkgally
jmclnx · 4 months ago
My answer is yes :)

But will AI survive us ? Just look at how the Internet changed from the 80s to now. It is filled with ads popping up everywhere, making many activities useless.

scorchingjello · 4 months ago
What you said about ads made me think that ai will probably be orders of magnitude better at marketing/propaganda. Feeling the urge to don some foil on my noggin.
scorchingjello commented on Stuffed-Na(a)N: stuff your NaNs   github.com/si14/stuffed-n... · Posted by u/dgroshev
scorchingjello · 4 months ago
Since the first time I had Indian food sometime in 1987 I have always called naan “not a number bread” and no one has ever laughed. I feel like i may have found my people.

u/scorchingjello

KarmaCake day26April 26, 2025View Original