Skip to main content
edited tags
Link
J-B
  • 9k
  • 16
  • 47
  • 77
ask about other approaches
Source Link
eth
  • 86.5k
  • 53
  • 287
  • 411

We want to write a card game in Ethereum. What are effective and secure ways of shuffling a deck of cards in a contract, and dealing them to players? It needs to be done in a way so that no one can determine each other's cards and what the shuffled deck is, by examining the open source contract code and shuffling transactions which are all on the public Ethereum blockchain.

EDIT: as comment #2 says "this is significantly different enough to warrant a separate question. Shuffling cards is much more difficult than simple RNG." (and it mentionsIf this isn't possible in a contract, what approaches are possible answer)?

We want to write a card game in Ethereum. What are effective and secure ways of shuffling a deck of cards in a contract, and dealing them to players? It needs to be done in a way so that no one can determine each other's cards and what the shuffled deck is, by examining the open source contract code and shuffling transactions which are all on the public Ethereum blockchain.

EDIT: as comment #2 says "this is significantly different enough to warrant a separate question. Shuffling cards is much more difficult than simple RNG." (and it mentions a possible answer)

We want to write a card game in Ethereum. What are effective and secure ways of shuffling a deck of cards in a contract, and dealing them to players? It needs to be done in a way so that no one can determine each other's cards and what the shuffled deck is, by examining the open source contract code and shuffling transactions which are all on the public Ethereum blockchain.

If this isn't possible in a contract, what approaches are possible?

add "each other's cards and"
Source Link
eth
  • 86.5k
  • 53
  • 287
  • 411

We want to write a card game in Ethereum. What are effective and secure ways of shuffling a deck of cards in a contract, and dealing them to players? It needs to be done in a way so that no one can determine each other's cards and what the shuffled deck is, by examining the open source contract code and shuffling transactions which are all on the public Ethereum blockchain.

EDIT: as comment #2 says "this is significantly different enough to warrant a separate question. Shuffling cards is much more difficult than simple RNG." (and it mentions a possible answer)

We want to write a card game in Ethereum. What are effective and secure ways of shuffling a deck of cards in a contract, and dealing them to players? It needs to be done in a way so that no one can determine what the shuffled deck is, by examining the open source contract code and shuffling transactions which are all on the public Ethereum blockchain.

EDIT: as comment #2 says "this is significantly different enough to warrant a separate question. Shuffling cards is much more difficult than simple RNG." (and it mentions a possible answer)

We want to write a card game in Ethereum. What are effective and secure ways of shuffling a deck of cards in a contract, and dealing them to players? It needs to be done in a way so that no one can determine each other's cards and what the shuffled deck is, by examining the open source contract code and shuffling transactions which are all on the public Ethereum blockchain.

EDIT: as comment #2 says "this is significantly different enough to warrant a separate question. Shuffling cards is much more difficult than simple RNG." (and it mentions a possible answer)

clarify and generalize the security requirement
Source Link
eth
  • 86.5k
  • 53
  • 287
  • 411
Loading
clarify shuffle
Source Link
eth
  • 86.5k
  • 53
  • 287
  • 411
Loading
explain why not duplicate
Source Link
eth
  • 86.5k
  • 53
  • 287
  • 411
Loading
Source Link
eth
  • 86.5k
  • 53
  • 287
  • 411
Loading