๐ŸŽฒ Push The Button A base template for multiplayer turn-based game on Ethereum...


The goal is to generate the largest number by sheer luck The account whose turn it is to play is allowed to click the "Spin the Roulette wheel" button Once he clicks the button, a random number is generated via the commit-reveal scheme The winning number is updated if this number is the largest yet. There is 30 second deadline before he loses his turn If he loses his turn, anybody but him can "Skip Turn" for him When everyone is done playing, the winner is declared and everyone can withdraw their winnings

EBS showcase

How it's made

๐Ÿ” Edit your smart contract YourContract.sol in packages/hardhat/contracts ๐Ÿ“ Edit your frontend App.jsx in packages/react-app/src ๐Ÿ’ผ Edit your deployment script deploy.js in packages/hardhat/scripts ๐Ÿ“ฑ Open http://localhost:3000 to see the app ๐Ÿ— scaffold-eth is a hackthon stack for quick product prototyping on Ethereum. ๐Ÿ‘ฉโ€๐Ÿ”ฌ This scaffolding leverages state of the art tooling from the ecosystem. ๐Ÿงช It is a free standing dapp so you can learn by making small changes