LIT-Protocol / LitGrants

Apply for a Lit grant and be part of the Lit ecosystem!
25 stars 2 forks source link

Open Grant: Private On-Chain Card Games #65

Open Sylvester-dev opened 1 year ago

Sylvester-dev commented 1 year ago

Open Grant Proposal: Monster Duel Masters

Monster Duel Masters:

Proposal Category: app-dev

Proposer: @Sylvester-dev and @3scava1i3r

Do you agree to open source all work you do on behalf of this grant and dual-license under MIT, APACHE2, or GPL licenses?: Yes

Project Description

Description

Monster Duel Masters is a thrilling web-based card game. Immerse yourself in the world of Monster Cards transformed into NFTs. Play strategic battles, earn coins, acquire rare and super rare cards, and build your prized collection of NFT Monsters.

Begin your adventure by launching Monster Duel Masters with Sequence or MetaMask. Stake 50 tokens from an initial 100 to kickstart your journey and receive a starter deck of common cards. Choose 8 cards for battle, with 4 randomly assigned before each clash based on health and damage points. Victories earn you coins to expand your collection, but losing costs your staked tokens, adding a risk-reward thrill.

Explore the Card Market to trade, buy, and sell monster cards, including rare and super rare ones, enriching your collection and engaging in the in-game economy. Rise in the ranks by aiming for the top 10 on the weekly leaderboard, unlocking exclusive rewards.

Monster Duel Masters merges NFT collectibles with strategic card battles in a blockchain-based gaming universe. Join the adventure and become a master of the Monster Duel Masters universe.

Why(Problem Statement)

In the realm of blockchain gaming, privacy has emerged as a critical concern, and this is precisely the problem that Monster Duel Masters is poised to address. In most blockchain applications, including gaming, radical transparency is the norm. While this transparency is beneficial in various contexts, it poses significant challenges for players who value their privacy during gameplay.

Monster Duel Masters recognizes that in a decentralized gaming ecosystem, privacy and data security should not be compromised. To tackle this, the project is implementing a robust decentralized access control system, powered by Lit Protocol, which will be instrumental in safeguarding players' privacy in the following ways:

  1. Level-Based Marketplace Access: New players will have to progress to a specific level within the game before gaining access to the marketplace offering rare and super rare cards. This approach ensures that players have the opportunity to master the basics before entering a more competitive card market.

  2. Player-Controlled Profiles: Each player will have exclusive control over their profile. This means that only the player themselves can access and view their cards, protecting their collection from prying eyes and ensuring that their valuable assets remain visible to them alone.

  3. In-Battle Special Attack Access: Access control comes into play even during intense battles. When a character's hit points drop to less than 20%, players will be granted the option of utilizing a special attack. This feature not only adds strategic depth to the game but also ensures that access to critical gameplay elements is controlled and granted based on specific conditions.

By incorporating these decentralized access control mechanisms, powered by Lit Protocol, Monster Duel Masters strives to strike the perfect balance between transparency and privacy. The project's commitment to user data security and privacy underscores its dedication to providing a safe and enjoyable gaming experience within the blockchain ecosystem.

What Will This Tool Enable?

Monster Duel Masters enables privacy-preserving on-chain gaming without relying on a centralized key custodian or access control list. Players can enjoy competitive card battles, trade NFT Monster Cards of varying rarities, and build their collections, all while maintaining control over their gaming data. This project leverages blockchain technology to create an engaging and secure gaming experience.

Note: The information provided here serves as an introduction to the Monster Duel Masters project, outlining its purpose, unique features, and the problem it aims to solve. Please be aware that this is a basic outline and may undergo slight modifications as actual development work progresses.

Value

Benefits

Privacy Matters in Blockchain Gaming: In the world of blockchain gaming, privacy is frequently overlooked, creating challenges for players who value data security during gameplay.

Monster Duel Masters' Privacy Solution: Our project directly addresses this challenge by implementing a robust decentralized access control system powered by Lit Protocol. This ensures players' privacy in crucial areas such as marketplace access, profile control, and in-battle special attacks.

Balancing Transparency and Privacy: With these advanced measures in place, Monster Duel Masters strikes the ideal balance between transparency and privacy, offering a secure and enjoyable blockchain gaming experience.

Collaboration with LIT Protocol: We are actively collaborating with LIT Protocol to address these challenges as outlined in the RFP provided by @a1ttech. We understood the main idea behind this grant proposal from this issue here.

Deliverables

For more detailed information on each component and its progress, please refer to the roadmap section below.

Development Roadmap

Milestone 1: Card Texture Design and NFT Art Generator Logic

In Milestone 1, our primary focus is on designing intricate SVG textures for the cards, involving multiple layers that converge into a single card. This task requires meticulous work in Figma to create diverse variations of assets. Additionally, we aim to develop the NFT art generator logic, which harnesses these layers to construct the unique cards. Simultaneously, we'll establish the integration with IPFS, ensuring seamless uploads using Pinata.

Estimated Duration: 1.5 Weeks

Milestone 2: Smart Contracts and Chainlink Keeper Integration

Milestone 2 takes us deep into the realm of smart contracts, where we build the fundamental infrastructure for our project's core functionality. This phase extends beyond mere contract creation; it includes the integration of Chainlink keepers. These keepers play a pivotal role in automating and enhancing the reliability of our system, particularly concerning match-making logic and the management of in-game currency staking during battles. Additionally, we will implement the crucial NFT minting logic, allowing players to create and manage their unique in-game assets. Moreover, should the need arise, we will comprehensively address on-chain access controls to bolster security and user experience.

Estimated Duration: 1.5 Weeks

Milestone 3: Integration of Server Logic, Smart Contracts, and NFT Art Generation

Milestone 3 marks a pivotal step in our project, where we seamlessly combine server logic, smart contracts, and NFT art generation into a harmonious and cohesive unit. This integration is essential for ensuring fluid communication with the frontend, ultimately optimizing the user experience. As part of this milestone, we will create our custom Node.js API to connect to our Redis database, enhancing the efficiency and responsiveness of our system. In parallel, should the need arise, we will implement off-chain access controls, ensuring that security and user privacy are upheld throughout the platform.

Estimated Duration: 1 Weeks

Milestone 4: Web App Development and Access Control Integration

In the final Milestone 4, we embark on the creation of the web application using Angular. This phase involves the integration of all smart contracts and backend API. We'll facilitate multiple wallet connections for Sequence and MetaMask users, ensuring broad accessibility. Additionally, we'll incorporate Lit decentralized access control on crucial pages, including the Marketplace, Profile page, and Special Attacks have all of this with good aimations ufing angular.Deploy the same for it to be available for everyone to check out as soon as possible

Time taken - 2 weeks

Total Budget Requested

Milestone Cost
Milestone 1 $800
Milestone 2 $1,200
Milestone 3 $1,000
Milestone 4 $2,000
Total Request $5,000

Maintenance and Upgrade Plans

Our commitment to Monster Duel Masters doesn't end with its initial launch. We have a robust plan in place to ensure the ongoing maintenance, enhancement, and evolution of the game to keep it engaging and up-to-date. Here's what you can expect in terms of maintenance and future upgrades:

Regular Maintenance

Content Updates

User Experience Enhancements

Team

Team Members

Vineet, a seasoned software developer with a passion for crafting innovative solutions and pushing the boundaries of technology. With over three years of experience in the development, I have had the privilege of working with some fantastic companies and honing my skills in various domains. I've worked at Cogogort, Invo, and Bridxe, where I've honed my skills in full-stack web development and cross-platform applications. Winning multiple hackathons has allowed me to showcase my creativity and teamwork. Currently, I'm a freelance developer, enjoying the flexibility and variety it brings. I'm passionate about staying at the forefront of technology, particularly in web3 and blockchain integration. Whether you need a cutting-edge web app, a versatile cross-platform mobile app, or assistance with blockchain projects, I'm here to turn your ideas into reality.

Hritwik, a proficient software developer, boasts extensive experience in Web3 integrations, having previously collaborated with Moralis. During his tenure at Cogoport, he contributed to frontend projects, demonstrating versatility in his skill set. Notably, Hritwik possesses a track record of working on smart contracts across multiple projects over the years, showcasing his expertise in the field. With over 3 years of active engagement in the web3 space, Hritwik has consistently stood out, securing victories in more than 8 international hackathons. Currently, he operates as a freelance Web3 developer, actively contributing to prominent projects such as TurboEth, Sismo, and Rotki.

Team Member LinkedIn Profiles

Hritwik Tripathi Vineet Kumar

Team code repositories

https://github.com/HV-Labs

Please note that while some of our repositories are currently private, we are actively working on integrations and new projects. Stay tuned for updates!

Additional Information

How did you learn about the Lit Open Grants Program?

I learned about the Lit Open Grants Program through multiple channels. Firstly, I came across it in the Lit Discord community, thanks to @a1ttech, where we discussed various RFPs, and I expressed my keen interest in contributing to them. Additionally, we discovered Lit Protocol through active engagement on Twitter and our participation in the EthGlobal community.

Contact Email

For discussions related to the grant agreement and general next steps, please feel free to contact me at vk.ind004@gmail.com.

Additional Details

While there may be limited details to showcase at this moment, I propose evaluating our work for the first three milestones to ensure its up-to-date and aligns with your expectations. If our work doesn't meet the standards, I kindly request not to grant the allocated funds. We are committed to making significant contributions and integrations for the Lit Protocol and can provide testimonials if required.

Ongoing Projects and Explorations

As part of our ongoing commitment to the Lit Protocol Ecosystem, we are actively seeking new collaborations and projects to further enhance the Lit community's functionality and user experience. We believe that collaboration is the key to innovation and are excited to explore new ideas and initiatives.

Stay tuned for upcoming collaborations, which will be listed as soon as they are finalized. These collaborations may include partnerships with other projects, integration of new credentials SDKs, and more. We are dedicated to actively contributing to various projects and integrations within the Lit community, aiming to make meaningful improvements.