4 ms·
If someone plays a game with me with this, I'm totally going to be spending time between every turn in the Dev console figuring out a one-liner to reveal as-yet
by londons_explore 7y ago
If someone plays a game with me with this, I'm totally going to be spending time between every turn in the Dev console figuring out a one-liner to reveal as-yet unturned cards...
- kissgyorgy 7y agoIt 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
- pkstn 7y agoNot possible, client-side doesn’t have the information
- grenoire 7y agoFlip the card really quickly (single animation frame), get data, boom. Maybe you'll get noticed, but probably only by someone who's equally sophisticated in detecting tricks.
- pkstn 7y agoI will add a chat which will show game log..and probably a optional turn "token" too