Games are already a massive craze among web3 users. The word betting often comes with a tag of luck. Why not get a chance to win prize by running your mind on a 10K RPM. The community we serve is already competitive when it comes to games such as chess. Our idea was to extend the thrill of these users by making them stake an amount before the game and play to win double the amount with the help of intellectual games. The real catch is: Players mutually decide the amount they are willing to stake.
Tracks aimed at :
EPNS - Added push notifications to invite users to the chess game - https://github.com/Akshit1311/gameday-unfold-2022-/blob/master/apps/backend/epns/index.js (Push notification image attached below)
Gitopia - pushed the code to gitopia repo by setting it up - https://gitopia.com/gitopia1hfdzjsg32a57d47kvjm6xc3w03hrxyena95zhf/GameDay
Filecoin/IPFS - Deployed frontend to filecoin, Used web3.storage to save game data to filecoin - https://github.com/Akshit1311/gameday-unfold-2022-/blob/master/apps/backend/utils/uploadToIpfs.js
Spheron - Deployed NextJS frontend to spheron network on Filecoin - https://gameday-unfold-2022--1ychzr.spheron.app/
Alchemy - used alchemy as rpc endpoint for polygon network - https://github.com/Akshit1311/gameday-unfold-2022-/blob/master/apps/frontend/src/pages/_app.tsx
Polygon - Wrote smart contract on polygon using hardhat - https://github.com/Akshit1311/gameday-unfold-2022-/tree/master/packages/eth
Unstoppable Domains - Implemented login with Unstoppable Domains - https://github.com/Akshit1311/gameday-unfold-2022-/blob/master/apps/frontend/src/services/ud/index.ts
The only previously done work is the chess engine logic which has been inspired from open source repos.
Faced issues integrating EPNS sdk on its testing platform, got it fixed by the help of the EPNS team.
Turborepo deployments were new to us so it had a learning curve.
Tried integrating Unstoppable Domains login functionality but were unable to integrate as web3-react is still in beta and had many errors and the documentation on the site was not apt.