pull down to refresh
very cool. you should use nostr relays for peer discovery.
Also that's what it costs now. But I think in the future that's going to cost a lot more.
Thanks! I actually initially built this out with Nostr for peer discovery, but all Ordinals explorers block Norsr's websocket connections. The inscribed engine can't reach Nostr relays.
WebRTC datachannels aren't goverened in the same way, so the relay I'm using now was the only architecture that would work on ordinals.com.
The relay's connection details are publicly viewable a Bitcoin sat so the box itself is replaceable by anyone, which is the most decentralized I could get given the context.
Also yeah its very possible it gets more expensive in the future, but you could argue that would just make the builds already inscribed even more valuable.
Hey, thanks for the comment and the kind words!
In terms of prices, you'd be surprised. The full Engine is about 800kb, with Brotli compression that comes down to 150kb, so it costs ~$10 to inscribe a new version of the engine at current fees. The biggest complexity here is getting the entire game engine that small (all block definitions, animations, collision, interactions, etc).
When users complete a build, they inscribe updates to their entire chunk as a single JSON.
For the server/engine/client side, there actually isn't a traditional server distributing the engine or holding state. The architecture is closer to "peer-to-peer through a thin relay" than client-server.
ordinals.com/content/<iid>). No server of mine is involved in serving the game code./r/sat/<sat>/at/-1. If my box dies, someone could spin up a new relay and re-anchor the address on that sat, and every inscribed engine would just pick it up.So If the relay goes down, you can still play solo and inscribe permanent builds. If I disappear tomorrow, every owned chunk and its history remain, the engine still loads, and someone could resurrect multiplayer.