Closed Pantyhose-X closed 9 months ago
I don't think this makes sense for a small-scale multiplayer game like Cubyz. A centralized server is needed in order to store a consistent game state. Otherwise it would be possible to get conflicting game states and I don't want to deal with that. Additionally, a decentralized system would require a lot of additional work and storage, since everyone would be storing copies of the information.
By the way, Cubyz is already in some ways peer to peer: There is no authentication server. The game server can be behind a firewall, due to using holepunching.
overlay networking since each node is both a server and a client overlay networking to create a direct encrypted tunnel between two nodes even if they’re both behind firewalls. Each node doesn’t even need to know the other’s IP address before starting the connection.
Hyprspace n2n nebula qaul
P2P Hypercore Protocol and pinecone and libp2p and devp2p WebRTC bittorrent gemini Earthstar Pigeon geneva Protocol