Inspiration
The Idea behind this was to create a decentralized retro-style arcade game system. A decentralized application with native tokens that would act as coins for access to the available games.
What it does
The EXC Game DEX runs on the idea of an arcade system, wherein users can swap their Polygon/MATIC tokens for the native tokens of the DApp. These native tokens can only be used on the DApp to access a variety of Retro games.
Accessing these game and playing through the DApp. Users can also test their luck on the Spin Board section to earn more native tokens for game access.
Note: While the website and wallet connection are configured for mobile connection, the currently available games are not compatible with mobile devices just yet.
How we built it
Dividing the labor and work amongst both of us based on our strongest skillsets. Building this from scratch was no small task
Abubakar Al-amin - Focused mostly on the Frontend and UI aspect of the project, while also focusing on smart contract integration. Also on the Development of the game
Adebayo Olamilekan - Majorly focused on the Backend with Smart Contract development and testing. Using chainlink and other tools at his disposal and also assisting greatly in the integration of the smart contract
NextJs, CSS & JavaScript was mainly used to build the frontend for this project.
Backend is powered by:
- Polygon: For deploying contracts on the Polygon Blockchain.
- Chainlink - For generating a random number and winner.
- Vercel : For hosting.
Spheron: For decentralized hosting.
Smart Contracts are written in Solidity, tested well and managed in the best possible way by the team members working on the contracts part. Deployed on Polygon Testnet with Hardhat and Alchemy as a node provider.
The integration is done with Javascript , Wagmi.js , Ethers.js . Rainbow-Kit is used for the Connect Wallet component . Wagmi.js & Ethers.js are used for interaction with Polygon chain from frontend application and the contract management. All components are created in ES6 JS.
Challenges we ran into
Faced a couple of challenges in the entirety of the project, most especially the game development aspect.
Finding a compatible framework for a working game development environment was a daunting task especially since lacking the technical know-how for game development.
Sourcing for a working game environment in a such time frame was a daunting task
Accomplishments that we're proud of
Biggest being building a project from scratch with such a short prior notice.
- Figuring out a working game for HTML5 and NextJs framework. A lot of issues to work on in that section but we are glad to have learnt a thing or two
- Working with ChainlinkVRF for randomness
- Seamlessly integrating the smart contract with the frontend
- Rendering an eye-catching UI with a selected theme
What we learned
- Learning from and working hand-in-hand with each other
- Working and delegating together with a team with different tasks
- Implementing an idea into an actual project in a few weeks
- Realizing how much we actually can learn and grow in a such time
What's next for EXC GAME DEX
While it's currently not a perfect project, we would most definitely like to get as close as possible.
- Figuring and finding out a better game environment for these games on the platform
- Adding more in-demand games to the the platform for more users
- The addition of native NFTs for community delegation and voting for the future of the games and project moving forward
- Also the use of NFTs for the addition of unique items, players and characters for users.
There's so much more that can be done with an idea born from nostalgia, Looking forward to it
Built With
- alchemyapi
- chainlink
- css3
- ethereum
- ethers.js
- html5
- javascript
- next.js
- polygon
- rainbowkit
- react.js
- solidity
- wagmi.js
Log in or sign up for Devpost to join the conversation.