this post was submitted on 18 Jun 2023
8 points (100.0% liked)
Rust Programming
8219 readers
6 users here now
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Unless you need your game to communicate in real time, I say go the web API route.
No need to design intricacies of the API's data transport, just pass your data over HTTP.
Stick it behind nginx or Apache and get TLS for free, any client HTTP lib will just handle the https.
It works everywhere, so if you want a browser version, you can do that, too.