Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposal for Web3 Game Inspired by Splinterlands and Clash Royale with Enhanced Privacy Using FHEVM #104

Closed
Uday-kiran9147 opened this issue Mar 4, 2024 · 3 comments
Assignees
Labels
📁 fhEVM library targeted: fhEVM 📄 Grant application This project is currently being reviewed by the Zama team ❌ Not selected Proposition or submission not selected

Comments

@Uday-kiran9147
Copy link

Proposal for Web3 Game Inspired by Splinterlands and Clash Royale with Enhanced Privacy Using FHEVM

Bounty Details:

  • Bounty Name: Proposal for Web3 Game Inspired by Splinterlands and Clash Royale with Enhanced Privacy Using FHEVM
  • Bounty Type: Major Bounty
  • Library Targeted: Fhevm
  • Reward: € 6500

Introduction:

The world is increasingly focusing on Web3 games. However, one of the main challenges facing Web3 games is ensuring privacy between players while maintaining the integrity of the gaming experience.

Revenue of Splinterlands is $30 million per month

Revenue of Clash Royale is $4 billion

Game Description:

Components:

  • 16 unique NFT troops (each with Attack, Defense, and Mana cost)
  • Deck-building system (allows players to choose 8 troops from the 16)
  • Objective: Defeat your opponent by reducing their health to zero.

Gameplay:

  • Deck Building: Before the match, players choose 8 troops from their collection to form their deck.
  • Match Start: At the beginning of the match, both players are randomly dealt a hand of 4 troops from their deck.
  • Turn Structure: Each turn, players alternate between taking two actions: Attack and Defense. Players also have the option to play a troop from their hand or draw a new one.
  • Mana System: Each troop has a Mana cost, and successful defense grants the player additional Mana.
  • Winning: The player who reduces their opponent's health to zero wins the game.

Game Flow

In this game, users will be given 16 NFT Troops. Before starting a match, the user has to choose a deck of 8 troops according to their strategy. Similar to traditional Clash Royale, the user will be given a random selection of 4 troops from their deck at the beginning of the match.

During the match, players take turns placing one troop at a time according to the game rules. If the attack of troops dominates, the opponent's health will be decreased. If a player runs out of MANA, they must play defense to increase their Mana. If a player reduces the opponent's health to zero, they will be declared the winner.

Game Rules

  • If both Players choose Attack, both Players' Health is decreased by the respective amount.
  • If Player 1 chooses Attack and Player 2 chooses Defence, Player 2's health will decrease by (Player 1’s ATTACK - Player 2’s DEFENCE) only if Player 1’s ATTACK > Player 2’s DEFENCE.
  • If Player 1 chooses Defence and Player 2 chooses Attack, Player 1's health will decrease by (Player 2’s ATTACK - Player 1’s DEFENCE) only if Player 2’s ATTACK > Player 1’s DEFENCE.
  • If both Players choose Defence, there will be no change in Health.
  • Whenever a Player attacks with a troop, the MANA of the Player will be reduced by the MANA cost of the respective troop.
  • Whenever a Player defends with a troop, the MANA of the Player will be increased by the MANA cost of the respective troop.

Additional Part of the Game

An additional feature we can introduce is special troops that players can obtain by completing specific tasks. For example, players may unlock special troops by following Zama on LinkedIn or engaging in other social media activities. These special troops will have enhanced powers compared to the original troops, adding an element of uniqueness and reward to the game.

Difficulties of Project:

  • Implementation of New Encrypted-NFT for Each Troop
  • Creating a Deck System with Euint of Zama’s Fhevm
  • Selecting 4 Random Troops [Encryptedly]
  • Implementing Battle System of Selected Troops (attack/defense)

Deliverables:

The deliverables will be an MVP (minimum viable product) consisting of:

  1. Smart contract of the project
  2. Frontend showcasing the effective use of FHEVM in Web3 gaming
  3. Tests for smart contract
  4. Documentation and tutorial of the project's workings

Timeline:

Since this project is a major one, it is estimated to take around 45-70 days.

Conclusion:

Our proposal outlines a Web3 game inspired by Clash Royale and Splinterlands, incorporating FHEVM technology to address privacy concerns and enhance security. By leveraging decentralized technologies such as blockchain and cryptographic protocols, we aim to create a game that offers a secure, transparent, and engaging gaming experience for players worldwide. We believe that our project has the potential to set a new standard for privacy-preserving Web3 games while capturing the imagination of gamers everywhere.

Thank you for considering our grant proposal.

Warm regards,

Uday-Kiran9147

@Uday-kiran9147 Uday-kiran9147 added the 📄 Grant application This project is currently being reviewed by the Zama team label Mar 4, 2024
@zama-bot
Copy link

zama-bot commented Mar 4, 2024

Hello Uday-kiran9147,

Thank you for your Grant application! Our team will review and add comments in your issue! In the meantime:

  1. Join the FHE.org discord server for any questions (pick the Zama library channel you will use).
  2. Ask questions privately: [email protected].

@zaccherinij zaccherinij added the 👀 Grant application under review The Zama team is currently reviewing this grant application label Mar 7, 2024
@zaccherinij
Copy link
Collaborator

zaccherinij commented Mar 7, 2024

Uday-kiran9147 We'll get back to you soon about this! Thanks for your patience!

@aquint-zama
Copy link
Collaborator

Hello @Uday-kiran9147,

We took some time to decide as you did a great job explaining your proposal. It's definitely a good idea and a good project to showcase fhevm but it is not really fitting the grant program goal, as we want to showcase new usages of encrypted blockchain and this one is too close to our previous bounty program topic (creating an on chain game).

I am gonna close this grant proposal but if you are motivated it's definitely a good idea to build this project.

@aquint-zama aquint-zama added ❌ Not selected Proposition or submission not selected and removed 👀 Grant application under review The Zama team is currently reviewing this grant application labels Mar 25, 2024
@zaccherinij zaccherinij added the 📁 fhEVM library targeted: fhEVM label May 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📁 fhEVM library targeted: fhEVM 📄 Grant application This project is currently being reviewed by the Zama team ❌ Not selected Proposition or submission not selected
Projects
None yet
Development

No branches or pull requests

4 participants