I have made a cool decentralized gaming tournaments application where you can join into the online tournament and bet for the game on the blockchain.⛓️
There is a tournaments Section where users can come and join into the tournaments.
Each user has to pay some specified amount in crypto to get entered into the game and then the winner will the get the prize in the form of digital assets.
There is a lobby page and gaming page for waiting room and playing room seperatly.
You can still use most of the functionalities.👇
Just pull the code and use npm install for both frontend and server.
and then use npm start respectively to make them running
Start the hardhat local blockchain by npx hardhat node in the frontend directory and connect your hardhat accounts with the metamask using their private keys.
You can use either hardhat or remix to deploy the contract (bonus: Use Remix --easy)
Change the contract address for both /frontend/src/app.js and /server/index.js. (change the deployed contract address basically)
Now use the website.🥳
ScreenShots:
Interating from first client and entering into the tournament
First client is added and waiting into the lobby while the second user will connect by register button
Both Of the have joined and are have forwared to the gameplay page