Hello I am a novice with ethereum and encryption...
If i would implement a cardgame in ethereum, i jave to deal cards to users. I think this can be done by encrypting the cards by the players' public key.
But once the user reveals its card at the end of the game, how can the server know it's not a fake revealing?
I was also thinking keeping the card dealing off chain, but that implies a trust needed on the dealing system.
I am looking for any advice/strategies in how (if) this can be done.