Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It could be done that server doesn't send the information what card it is until absolutely necessary, so you could not do that.


Cryptographers 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


Server is the single-source-of-truth and only share the info about card value/suit when clicking your own card or common cards


It is done on server-side




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: