Inspiration

We are inspired by building web3 play to earn games where user can get rewarded with real money and making it robust with web3 technology.

How we built it

Frontend of the game is built using react js library, we used socket.io to update the ludo board for all the clients that are playing in the same room. Mapping of the coins to users is stored on blockchain. Solidity code helps to reward the winner based on the winners list it gets from frontend. Staking of the coins while starting the game is also handled by solidity.

Challenges we ran into

Maintaining the large codebase was difficult a bit. Integration of frontend and backend. We faced some challenges in the server part where we have to update the board for all the users playing same game.

Accomplishments that we're proud of

We are proud that we could add all the important features what a normal 4 player ludo game has. In addition, adding web3 Play to Earn thing was a good success for us in the web3 space.

What we learned

Since this was our first Web3 hackathon, we learnt a lot from it. Managing the large codebase, playing all time favourite game of people of all ages by buidling it on our own was a great experience for all of us.

What's next for Ludo dapp

Adding 2 player functionality so that only 2 players can also play the game. Allowing the users to buy their own ludo coins from Uniswap. Allowing users to mint NFTs at the end of the game, adding weekly leaderboards and polishing the UI.

Share this project:

Updates