List of questions
Related questions
Question 97 - CBDE discussion
When you are programming a game like poker of battleships where you need to hide opponents values is:
A.
with private state variables. This way nobody else other than the smart contract itself can see the information
B.
with external contracts holding those values. This way we can make sure that the information flow is following a clear logic and nobody else can access this information.
C.
You can't hide anything on the blockchain, because the information is public, just the call is private which means only other smart contracts would be limited in accessing that information.
Your answer:
0 comments
Sorted by
Leave a comment first