3 votes
Accepted

How to make module Week07.EvenOdd fairer with player2 in case player2 wins the game

Here, I've implemented a possible solution following Lars' approach. Basically: When player1 starts the contract, apart from locking the game stake value, player1 will lock a value player1Deposit ...
kindofdev's user avatar
  • 1,304
1 vote
Accepted

passing the thread token

Because firstGame is the contract that initialises the game, it needs to communicate somehow the generated threadToken to the external world (secondGame in this case). For this kind of communication ...
kindofdev's user avatar
  • 1,304

Only top scored, non community-wiki answers of a minimum length are eligible