Maginet, a cross-platform strategy game with Rust/WebAssembly
Maginet, a cross-platform strategy game with Rust/WebAssembly
I hereby present my little tiny pet project that entertained me for the past six months. In this post, I briefly present Maginet and its technical components. It is a turn-based strategy game that is built using Rust and compiles to WebAssembly with HTML5 bindings, which works on mobile and desktop alike! It comes with many game mechanics and components, including an AI opponent and online cross-platform multiplayer. There is so much to discuss even for a project of a smaller scale, but I am nevertheless excited to share a little bit about how you can actually build a game in Rust, practically from scratch, and run it anywhere! I already chopped this article in half to only focus on technical components, and I have a separate one on the design aspects of it. Moreover, if people are interested, I am happy to work on something that is more akin to a tutorial on building a complex web application with shared client-server logic too. I hope this post is juicier than your usual ‘make a game in X framework of Y language’ post, as this one comes with a real game that’s launched on Steam. Thanks, and enjoy!
Share cardActual performance
Launch Intel predictions
Analyze your own launch →Correct prediction on native model
Similar products
Cross-platform network analyser developed in Rust
Dockerised Pgmodeler launched from cross-platform GTK Rust application
Findomain – fast and cross-platform subdomain enumerator built in Rust
Cross-platform Text Expander written in Rust
Htop 2.0 released, now cross-platform
A cross-platform implementation of beep
A cross-platform JWT Debugger
3DGS.cpp – performant, cross platform Gaussian Splatting with Vulkan
Hadouken – a cross-platform, extensible BitTorrent daemon
Cross-platform dotfiles manager written in Rust