I want to write a project in Rust, and with minimal modification have it run in the browser, and Android/iOS.
I want to build a puzzle game, with pieces on a board. Pieces will be images (SVGs likely) that get dragged and dropped onto a board.
I already built the backend in Rust because I assumed I was going to hook it into WebAssembly, but the front-end, I got no idea where to begin. It doesn't have to be WASM. But I'm not really familiar with my choices.
I'm quite confused at the moment, having looked into many options:
And now my head is spinning and I need some guidance! Do I build everything (GUI included) as a rust library? Should WASM just draw it all to the HTML canvas? Do I separate front-end and back-end? etc.
Any help gratefully received. Thank you