Photo by Marcus Wallis on Unsplash
  • The game can be extended such that both players have to deposit eth and the winner takes it all (could also deposit ERC20 tokens as well)
  • The game can support multiple parallel games
  • The game can be played off chain with state channels
mapping(address => uint8) public choices;

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store