Yeah! I've done it a few ways, mostly in React. I'm currently trying my hand at it in Solid.js, as I want to learn it, and Web Components.
As for graphics, I've been following along in this book, and absolutely love it. They have an online version. You use the author's bespoke engine, so it does abstract much of it, but it covers things from map generation to event buses!
As for graphics, I've been following along in this book, and absolutely love it. They have an online version. You use the author's bespoke engine, so it does abstract much of it, but it covers things from map generation to event buses!
https://pragprog.com/titles/hwrust/hands-on-rust/
You make a roguelike, but the concepts carry over. And it can compile to Web Assembly, so any work you do can be embedded and shared on the web.