Better HN
topnewbestaskshowjobs
Log inSign up

khaliostr

33 karma · joined Sep 14, 2026 (2mo ago) · 12 submissions

Submissions

1.

Show HN: Manabrew – Play Magic: The Gathering in the Browser with Forge/WASM(play.manabrew.app ↗)

1 points · by khaliostr · 2d ago · discuss

comment 6d ago · link · parent

super work, I'm looking forward to comparing notes! How strong is forge-bot in your opinion?

comment 1w ago · link · parent

I've been using Claude to play Magic through Manabrew and test my decks. Pretty cool stuff!

Curious if your agent could handle arbitrary board states or action logs, and maybe play as a bot in multiplayer?

Btw, a few of us working on Magic engines (Arcana, gorge, ironsmith, etc.) hang out on Discord. Feel free to join if you fancy it! :)

4.

Serverless, Cheaterless Magic: The Gathering(chiplis.com ↗)

1 points · by khaliostr · 1w ago · discuss

comment 1w ago · link · parent

We've done our homework, at least as much as a small OSS project reasonably can :D

Forge and Cockatrice have both been around for a long time and have had to navigate legal concerns around card art and Wizards' trademarks. One approach has been to avoid distributing the artwork directly and let users fetch it separately from Scryfall. Forge itself is over 15 years old at this point.

We've taken a similar approach with Manabrew. We don't bundle card art or Wizards' trade dress, the project is entirely free and open source, and people can self-host it. We're also careful not to present it as an official Wizards product.

That doesn't mean there's zero legal risk, of course. But we're not simply crossing our fingers either.

comment 1w ago · link · parent

Thanks! I actually came across Arcana not too long ago, so it's really nice to meet its author here. And bonus points for Rust

We started porting Forge to Rust ourselves, but quickly realised what we'd gotten ourselves into, so we went and built forge-wasm instead.

If you're curious, we've got a small engine spec that lets Manabrew work with different rules engines. Ironsmith (also Rust) already works, and we've got partial support for Phase.rs and Gorge. Would be fun to try Arcana too!

There's also a Discord where a bunch of us working on these engines hang out and compare notes. You should drop by sometime, I suspect we'd have quite a bit to talk about :)

comment 1w ago · link · parent

There's a bit of an open source Magic renaissance going on lately, which I find really cool.

Forge has been around forever, but we've managed to get it running in the browser via WASM with Manabrew [1]. I'm one of the maintainers, and we're mostly building it because we wanted a nicer way to play Commander with friends.

Meanwhile, Phase and Ironsmith are working on new engines in Rust, Gorge is building one in Go alongside a bot and cross-engine testing tools, and people are starting to collaborate across projects.

Magic is such a ridiculously difficult game to implement that I think it's pretty amazing how many people are tackling it in their spare time.

If you're into Magic and software engineering, come hang out with us. There's a lot going on and plenty of room for more people to get involved :)

[1] https://github.com/witchesofthehill/manabrew

comment 2mo ago · link · parent

I’ve been working on getting MTG Forge (a 15+ year old Java Magic: the Gathering rules engine) to run in the browser.

GraalVM’s new WebAssembly support finally made this possible, and we now use it for local games in Manabrew. We also packaged the Forge build as @manabrew/forge-wasm (AGPL).

https://manabrew.app/blog/graalvm/