92 ms·
Interesting idea to have a completely p2p game! What cross-user interaction do you have in your game?
by dortmunddance 2y ago
Interesting idea to have a completely p2p game! What cross-user interaction do you have in your game?
- discoinverno 2y agoThanks:) Basically users can interact by playing basketball games against each other or by trading players. This sort of interactions are handled with something similar to a TCP handshake, since we must ensure that we end up with a consistent state at the end (e.g. players are traded consistently). Because of this, it is not easy to have 'real-time' interactions: for example, when challenging each other, players only agree on the initial conditions of the game, which then is simulated independently (and deterministically) on both clients.
- dortmunddance 2y agoCool! Makes me think of blockchain: it is also a tool to ensure "consistent" state changes. Have you thought of moving your game on some blockchain? For example, XAI is a blockchain specifically designed for games, you should check it out
- pizzafeelsright 2y agothis thread makes me want to build a platform I tend to lean toward the raft protocol vs blockchain due to storage
- withinboredom 2y agoraft is too non-deterministic. Something like paxos is probably more appropriate; the write-once property is exactly what you want here, and it is deterministic.
- x0n 2y agoblockchain is too slow and completely inappropriate.
- drdrey 2y agoin case nobody told you, you’re not allowed to say blockchain on HN
- littlestymaar 2y agoTalking about blockchains is fine, pretending they are somewhat apt at solving a problem that isn't money laundering is what will get you frowned upon.