frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Show HN: Pcrassist.com – AI powered report assistant for EMTs

https://pcrassist.com/
1•josdijkstra•4m ago•0 comments

Error Monads the Hard Way

https://articles.pragdave.me/p/error-monads-the-hard-way
1•thunderbong•9m ago•0 comments

Show HN: C++ SFML Game Engine for Nintendo Switch, Web (HTML5), PC and Mobile

https://github.com/Is-Daouda/is-Engine
1•Is_Daouda•16m ago•0 comments

Musk's XAI Is Trying to Borrow $5B While His Relationship with Trump Blows Up

https://www.wsj.com/finance/musks-xai-is-trying-to-borrow-5-billion-while-his-relationship-with-trump-blows-up-4b963361
1•TheAlchemist•27m ago•0 comments

We Should Immediately Nationalize SpaceX and Starlink

https://jacobin.com/2025/06/musk-trump-nationalize-spacex-starlink
2•Improvement•29m ago•2 comments

Musk cites support on X poll to push for new political party

https://www.wionews.com/world/-the-american-party-musk-cites-80-support-on-x-poll-to-push-for-new-political-party-in-us-1749257936475
2•geox•30m ago•2 comments

ACLU sues Sonoma County, alleges illegal drone surveillance program

https://www.ktvu.com/news/aclu-sues-sonoma-county-alleges-illegal-drone-surveillance-program
3•walterbell•36m ago•0 comments

Show HN: Email Scraper for Instagram

https://chromewebstore.google.com/detail/email-scraper-for-ins/nhgbjmidfpboihkaechkkmbiimecddda
1•qwikhost•37m ago•0 comments

A New System Aims to Save Injured Brains and Lives

https://www.nytimes.com/2025/05/20/health/traumatic-brain-injury-tbi-guidelines.html
1•bookofjoe•38m ago•1 comments

How to Turn an Acquaintance into a Friend

https://talk.bradwoods.io/blog/generous-with-disclosure/
2•bradwoodsio•39m ago•0 comments

Show HN: We built a free AI assistant that finds Amazon products instantly

https://www.sweepvalet.com/
2•felixthecat23•45m ago•0 comments

Ask HN: A Tetris variant with greater tactical and strategic depth?

1•amichail•47m ago•0 comments

Ask HN: Tacit knowledge video you've seen?

1•rahimnathwani•48m ago•0 comments

Researchers recreate ancient Egyptian blues

https://news.wsu.edu/press-release/2025/06/02/researchers-recreate-ancient-egyptian-blues/
1•gnabgib•51m ago•0 comments

Beware Not All Staff Positions Are Staff Roles

https://jkebertz.medium.com/beware-not-all-staff-positions-are-actually-staff-roles-ebcf60e0f3a1
2•mooreds•52m ago•0 comments

Beyond OCR: TIA-Pdf-QA-Bench

https://www.3rdaiautomation.com/
2•vivito•55m ago•1 comments

Sports betting seems to be spurring a rise in gambling addiction

https://www.theatlantic.com/health/archive/2025/06/sports-betting-gambling-addiction/683042/
3•JumpCrisscross•1h ago•0 comments

The AI Prompts Doge Used to "Munch" Contracts Related to Veterans' Health

https://www.propublica.org/article/inside-ai-tool-doge-veterans-affairs-contracts-sahil-lavingia
3•lwo32k•1h ago•1 comments

Trump thinks Americans consume too much. He has a point

https://www.economist.com/finance-and-economics/2025/06/05/trump-thinks-americans-consume-too-much-he-has-a-point
5•mastazi•1h ago•0 comments

Why Are Smokestacks So Tall?

https://practical.engineering/blog/2025/6/3/why-are-smokestacks-so-tall
2•azeemba•1h ago•0 comments

Sharing everything I could understand about gradient noise

https://blog.pkh.me/p/42-sharing-everything-i-could-understand-about-gradient-noise.html
2•signa11•1h ago•0 comments

Some CUDA code examples with READMEs

https://github.com/drkennetz/cuda_examples
5•tanelpoder•1h ago•0 comments

Some Thoughts on the C Standard

https://johnbreaksstuff.substack.com/p/some-thoughts-on-the-c-standard
3•stock1218•1h ago•0 comments

Stan Fischer

https://larrysummers.com/news-item/stan-fischer/
3•paulpauper•1h ago•0 comments

I podcast with Azeem Azhar on the speed of AI take-off

https://marginalrevolution.com/marginalrevolution/2025/06/i-podcast-with-azeem-azhar-on-the-speed-of-ai-take-off.html
2•paulpauper•1h ago•0 comments

Tesla Optimus robotics vice president Milan Kovac is leaving the company

https://www.cnbc.com/2025/06/06/tesla-optimus-robotics-vp-is-leaving-the-company.html
9•TheAlchemist•2h ago•2 comments

China's driverless lorries hope to expand

https://www.bbc.com/news/articles/c5ykel5dr62o
2•mastazi•2h ago•0 comments

Why You Should Move Your Site Away from Weebly (YC W07)

https://www.articulation.blog/p/why-you-should-move-your-site-away-from-weebly
7•dustywusty•2h ago•1 comments

Colorado kayakers rescue a dog that tumbled over 60-foot waterfall in Mexico

https://coloradosun.com/2025/06/03/kayakers-rescue-waterfall-trapped-dog/
4•mooreds•2h ago•0 comments

Portable device captures airborne molecules for noninvasive disease detection

https://phys.org/news/2025-05-portable-device-captures-airborne-molecules.html
1•PaulHoule•2h ago•0 comments
Open in hackernews

Odyc.js – A tiny JavaScript library for narrative games

https://odyc.dev
183•achtaitaipai•12h ago

Comments

kevinsync•11h ago
The Magic Mushroom is incredible lol

https://achtaitaipai.github.io/odyc-exemples/games/mushroom....

chrisweekly•11h ago
This one's my fave so far https://achtaitaipai.github.io/odyc-exemples/games/vroum.htm...
mNovak•9h ago
John Wick is an accurate summary of the recent movie

https://achtaitaipai.github.io/odyc-exemples/games/john-wick...

hahahacorn•10h ago
This is amazing and exactly what I needed as of ~12 hours ago.

The coincidence is kinda insane though - quick personal story I think is worth a readers time. I was just working on assets to develop a very quick (3-levels, built for one person) narrative romance game until I fell asleep last night. I’ve never developed any game of any kind.

I then wake up to a JS library for narrative games at the #1 spot on HN.

FTR the game is a simp game I’m using it to ask someone I’ve been seeing to make things official.

nartho•10h ago
If it's worth anything, this sounds very sweet and thoughtful, I don't think enjoying someone's company makes you a "simp" neither does showing attention.
hahahacorn•9h ago
Text doesn’t translate it well but that’s just my sarcastic sense of humor :)

I love trying and going a bit overboard because life is short and sweet and it’s your responsibility as a human to make it fun.

I do appreciate this comment though. I personally know a lot of my peers would be made better by internalizing your belief - I’m just not one of them :)

achtaitaipai•10h ago
Love the idea! Wish I could’ve helped out sounds like the perfect use case :) Hope it works out!
janoelze•2h ago
its a thoughtful idea – and been there too, just recently did a faithful html recreation of the 2005 MSN chat interface to surprise someone with teenage nostalgia. it was sweet.
eldog_•10h ago
Great use of typing in the editor, e.g., I like how it knows the references to template sprites so it can highlight the errors when calling functions with incorrect arguments.
achtaitaipai•10h ago
Thanks! I put a lot of effort into the typing and getting the editor autocomplete to feel right. Happy to hear it shows :)
c0nfused•10h ago
I really enjoy the way this is put together. I have written a number of javascript game engines, to play with over the years, and this hit a really nice spot between, I need to throw this whole thing to gether in the next 2 hours to entertain the kids, and the subsequent I really want to do a deep dive into the nitty gritty of this thing.

Looking forward to slapping a few quick games into this and distract the kids in a low bandwidth type style.

socalgal2•10h ago
Why is the title '...for narrative games'? The library's front page itself doesn't say anything about 'narrative' games.

For that matter, what is a "narrative game". None of the sample games would fit the definition in my head of "narrative game". If I google for "narrative game", the sample games certainly don't seem to fit.

And, assuming there is a common definition of "narrative game", what does this library do special to facility making "narrative games" that other game engines do not?

SamBam•10h ago
Indeed, I was assuming it was a text adventure engine.
achtaitaipai•10h ago
You're right, there are only two more "narrative" examples accessible via the French version of the site. I used the term because the turn-based structure and focus on messages, prompts, and dialogues felt suited to narrative or text-driven games, but maybe that’s not the best label. Happy to rethink it!
WorldMaker•9h ago
"ZZT-like" would be the adjective/genre descriptor I'd use for this. It's a slowly forgotten genre these years (unlike "Rogue-like" and "Rogue-lite" you see being thrown around everywhere), but a classic genre of the early PC nonetheless.

https://museumofzzt.com/

achtaitaipai•4h ago
I didn’t know about ZZT, but that makes a lot of sense now that I’ve looked into it. The format, simplicity, and screen-by-screen feel do seem closely related. Thanks for the reference. That museum is a great find!
WorldMaker•2h ago
I recall Anna Anthropy's book on ZZT doing a great job of capturing the feel of the early PC ZZT scene and some of its AOL/CompuServe/Prodigy communities in the early 90s. Might serve as other bits of inspiration, if you like short history books: https://www.amazon.com/Boss-Fight-Books-Anna-Anthropy/dp/194...
socalgal2•3h ago
Was just curious if I was missing something that facilitated "narrative games" more than other engines.

It's a cool project. I like that your examples use ASCII maps. So simple to prototype. No need to break out a map editor.

90s_dev•9h ago
I was kind of hoping it would be for text based adventures,

since last night I had the idea for one,

where you're an adult and you have to do adult things

like file taxes and go to work and dust your house

and the less you do these things the harder life gets,

but the more you do them, the easier it gets,

and the goal of the game is to die with no debt.

hombre_fatal•9h ago
You've got an idea. Now for the hard part: make it fun. :D Especially in a text-only medium.
90s_dev•8h ago
My only plan for that was to add shadertoys effects to the text. Not great hence I hadn't started.
hombre_fatal•8h ago
Speaking of, check out this shader ascii text game I saw on Steam: https://www.youtube.com/watch?v=dfe3VK7H6uI

I kind of love the look.

Maybe with a new set of ansi escapes we can get Zork to look like that. :D

90s_dev•7h ago
That is really cool and inspires me and makes me want to play it and make stuff like it, thanks for showing it to me. I really do live under a rock it seems.
nihiven•6h ago
That is cool! I like the look of this one too: https://andreifomin.itch.io/effulgence
hombre_fatal•4h ago
Ooh, that's actually the game I had in mind!

It's so much more impressive. Those 3D effects are just insane. Just look at that 3D globe.

spencerflem•1h ago
Ink language & their IDE make it very easy to get started with choice games ! And it exports to HTML/Js where you can add further visual effects via custom JavaScript.

Highly reccomend, its so good that it takes all the fun out of designing my own janky custom system.

90s_dev•1h ago
Thanks for the recommendation, I never would have guessed someone made something like this! But of course they did.

I was definitely wondering how I would do this outside of Excel, but I have so many projects going on right now that figuring this one out didn't sound fun :D

shakna•1h ago
Unfortunately Inky has a showstopping bug I and a few others have hit. [0]

And it breaks the IDE until you somehow uninstall it and every dependency. And kill all its temporary files.

[0] https://github.com/inkle/inky/issues/522

hombre_fatal•9h ago
I think the idea is that it gives you a declarative way to build simple adventure games with text and dialogue.

Its selling point isn't for building mechanics-first games like a more general engine (e.g. Pico-8).

But what you can do is easily make maps, a character that walks between maps, NPCs, and triggers for dialogue/text.

Consider other engines aimed at non-programmers like RPGMaker: the main games people make with it are "narrative games" where you walk around and read text/dialogue, usually with zero additional mechanics outside of the built-in map + trigger system. It's probably 90% of games built with it!

So I'd reckon they're saying "you can build those games with this tool too".

RodgerTheGreat•3h ago
A closer comparison than Pico-8 might Bitsy or PuzzleScript, but with all the power (and complexity) of arbitrary JavaScript code underneath.
dicytea•7h ago
From the intro[^1]:

> Odyc.js is a tiny JavaScript library designed to create narrative games by combining pixels, sounds, text, and a bit of logic.

[^1]: https://odyc.dev/doc/getting-started/intro

fudged71•10h ago
game.prompt("Dude, you ran out of eggs!|Would you like to buy|an 80 pack of eggs?", "Yes", "No");
achtaitaipai•10h ago
await game.openDialog("Dude, you ran out of eggs!|Would you like to buy|an 80 pack of eggs?") game.prompt( "Yes", "No")
gatopingado•7h ago
That one egg was forty eggs?
NotAnOtter•10h ago
Neat little thing. Feels like a great learning tool for kids, like a new age pygame.

Scratch and the others in that style always felt like it went one step too far. It's designed for 5 yearolds, and 5 yearolds don't need to be learning about code.

This is a good sweetspot for a ~10 year old. Reasonably simple string manipulation , a couple of syntax tricks to learn, and not much else. Just to get a basic side scroller with some NPC's. Then they can incorporate control flow when they are ready.

Consider releasing a class for kids on this tool & investing in the playground. You could get some real sales.

A different angle, you could do some basic procgen game assets with this tool.

ryoshu•9h ago
I love this. Fits with a side project perfectly!
sciolizer•7h ago
Reminds me of [puzzlescript][1].

[1]: https://www.puzzlescript.net/editor.html

wdiamond•3h ago
awesome product. scratch like business.
navs•2h ago
Not related to the library at all, but I'm curious how that canvas video recorder works in the playground. Love to implement something similar.
janoelze•2h ago
I recently looked into that for a project and was surprised that it's a built-in feature! :) https://medium.com/@amatewasu/how-to-record-a-canvas-element...
matkurianski•2h ago
That's a truly inspiring project, thanks for sharing!

I noticed it's open source but is missing a license. Could you add one so developers can understand to what extent they can modify and publish their forks?

For example, it occurred to me that I could translate it into my native language and publish a fork of it (with credits, of course), since less than 5% of my country speaks English. Would that be okay with you?