3 ms·
Encrypted pastebin: You encrypt and dump the JSON object to a site like https://hushfile.it/ https://hushfile.it/ — the download link has the decryption key as
by sshine 4y ago
Encrypted pastebin:
You encrypt and dump the JSON object to a site like https://hushfile.it/ https://hushfile.it/ — the download link has the decryption key as part of the URL:
https://hushfile.it/2f5998db28974#5KQPcgUzQdrQmjPHoXYcwxeiW3tErAZHx4xLYFms https://hushfile.it/2f5998db28974#5KQPcgUzQdrQmjPHoXYcwxeiW3...
Now you don’t leak game state, and anyone with the link can access the game state and send a new game state back.
- CBarkleyU 4y agoThat is a very interesting idea. Oddly enough, isnt that pretty much what I want to build myself? A link to a JSON file that's much shorter than the JSON file. It might make sense to use a site that offers that anyways as a middleman. Thank you for the suggestion!
- sshine 4y agoI think you know best what you want to build yourself. :-) If you separate the abstract interface for sending/receiving game states and its implementation, you can rely on an external service like hushfile to get started, and then switch to running a similar service yourself afterwards. Saves you from having to deploy and maintain the server initially. Running a VPS wouldn't cost more than $5/mo. Since nobody mentioned it, you may want to consider: https://boardgame.io/ https://boardgame.io/ It is a service specifically for managing JSON game state. But it comes with its own ideas, so your mileage may vary.