5 ms·
It could be done that server doesn't send the information what card it is until absolutely necessary, so you could not do that.
by kissgyorgy 7y ago
It could be done that server doesn't send the information what card it is until absolutely necessary, so you could not do that.
- tialaramex 7y agoCryptographers are really interested in card games as a model of information problems, so there are pre-existing algorithms for how to do stuff for card games in which different players have different information about the state, but everybody can prove to their satisfaction that the others aren't cheating - without a trusted server at all. https://en.wikipedia.org/wiki/Mental_poker https://en.wikipedia.org/wiki/Mental_poker
- pkstn 7y agoServer is the single-source-of-truth and only share the info about card value/suit when clicking your own card or common cards
- pkstn 7y agoIt is done on server-side