Re:Show HN: Rebels in the sky – Terminal game about space pi...
by dortmunddance on Friday November 22, 2024 @09:33AM
(#42214125)
Cool!
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
Re:Show HN: Rebels in the sky – Terminal game about space pi...
by x0n on Friday November 22, 2024 @11:18AM
(#42215048)
blockchain is too slow and completely inappropriate.
Re:Show HN: Rebels in the sky – Terminal game about space pi...
by pizzafeelsright on Friday November 22, 2024 @09:39AM
(#42214183)
this thread makes me want to build a platform
I tend to lean toward the raft protocol vs blockchain due to storage
Re:Show HN: Rebels in the sky – Terminal game about space pi...
by withinboredom on Saturday November 23, 2024 @11:56AM
(#42221857)
raft 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.
Re:Show HN: Rebels in the sky – Terminal game about space pi...
by drdrey on Friday November 22, 2024 @11:38PM
(#42219229)
in case nobody told you, you’re not allowed to say blockchain on HN
Re:Show HN: Rebels in the sky – Terminal game about space pi...
by littlestymaar on Saturday November 23, 2024 @10:13AM
(#42221320)
Talking 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.
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.