Show HN: Lemmings in HTML in Canvas

github.com

2 points by VorticonCmdr 11 hours ago

For fun I decided I wanted to reimplement Lemmings using HTML-in-cavas and a DOM-based Entity-Component-System. I made heavy use of Claude Code (using only Sonnet 5 High) and I used everything already published on this topic. I used already existing HTML ports (like DHTML Lemmings, LemmingsJS and Lemmings.ts) to kickstart development.

Even though I was able to add some new stuff like EGA, CGA and Tandy as well as Adlib, Tandy and PC Speaker that wasn't documented (or I didn't find it). I, or rather Sonnet, was able to do so because I hooked it up to a Ghidra MCP and a DOSBox MCP.

At some point feature creep set in so I am guessing there are still a few things not working as intended. I'd love to hear all about it.

luisperis1011 10 hours ago

Thanks 4 the code, but I have the last chrome and i can't play it.

The browser show me the next message:

HTML-in-Canvas not available This build uses the experimental layoutsubtree / drawElementImage canvas API. It currently runs only in Chrome Canary with the flag enabled

----

I can't understand that you'r using the last technology but 'canvas' is a normal object...