Coin Flip
Game rules
- Create a coin flip game for x amount of ether and choose heads or tails
- Other player can joina game for the same amount of ether and should see you in the dropdown list
- Winner gets all ether
Install
npm install
truffle compile
andtruffle migrate
- Copy contract address and past it in a
.env
file following.env.example
npm run start