Haunt, the 70s text adventure game, is now playable on a website (haunt.madebywindmill.com)

by jscalo 26 comments 84 points
Read article View on HN

26 comments

[−] kqr 32d ago
Many, many historic text adventures are available in the browser, thanks to the Parchment interpreter. You can find them on the IFDB, and click the link to play online. One of my favourites among the classics are Plundered Hearts[1].

There's also a lively community of people who make modern text adventures. These tend to be shorter and more well designed than many of the cruel games of the past. My all-time favourite is The Wise-Woman's Dog[2], a passion project with a very high quality bar.

Text adventures are great[3], and no, as of yet, they are not improved by LLMs. Too inconsistent, too much hallucination. They can't even play text adventures well.

[1]: https://ifdb.org/viewgame?id=ddagftras22bnz8h

[2]: https://ifdb.org/viewgame?id=bor8rmyfk7w9kgqs

[3]: https://entropicthoughts.com/the-greatness-of-text-adventure...

[−] nosrepa 32d ago
A great modern text adventure is roadwarden. You can't play it in a terminal as it does have a GUI and images for the set pieces, but it's still a text adventure at heart.
[−] oersted 32d ago
How was this built? It's gorgeous, I've been wanting to have a cool-retro-term in the browser for a long while.

If this was built bespoke for this game, fair play, but I would love to have this library if it's a library.

EDIT: I found the repo https://github.com/jscalo/haunt

> js/terminal.js implements the I/O layer: a typewriter-speed character queue drained via requestAnimationFrame, an inline editable prompt with command history, and two promise-based input methods (readToken for OPS5 accept, readLine for acceptline).

> css/crt.css creates the retro look: a bezel frame with power LED, a perspective-transformed screen, repeating scanlines, a slow horizontal band, flicker animation, and triple-layer phosphor text glow. Three themes are available — green P1 (default), amber P3, and white — switchable from the settings menu.

[−] pinchydev 32d ago
Spoilers in link.

After spending way too long trying to press a button that doesn't do anything (press button, depress button, push button, button, press the button) or trying to talk to the speaker (say open, talk to speaker, talk at speaker, shout at speaker) I got frustrated and used claude to give me a walkthrough based on the source code.

Turns out the correct command was "hi"

here's the walkthrough: https://pastebin.com/LHnFRFjw

[−] toabi 32d ago
Derp. Thanks. I was exactly stuck at the freaking button right now and not finding any help online. Yet :D
[−] nathell 32d ago
Ligatures in the retro terminal kill the illusion.
[−] throwanem 32d ago

> Have you played before?

> No.

> I assume that means yes.

Yeah, that's that half-century-old state of the art in natural language processing working...

[−] kqr 32d ago
It's not NLP and it never was. The parser accepts a language with a specific syntax that just happens to vaguely look like English.

Some practise is required to become fluent in that language. But it's worth it, because it unlocks many amazing text adventures!

[−] SV_BubbleTime 32d ago
I got on to a bus then nothing happened/worked.

Look, I think modern games with giant GO HERE arrows are dumb, but these games were an exercise in patience beyond necessary.

[−] tenthirtyam 32d ago
Fund, but had my CPU maxing out (on firefox).
[−] joongix 32d ago
[flagged]