Phase 1 - Web DApp Game
Decentralized NFT War Game, 1st Award in Aptos Seoul Hackathon
Introduction
The first phase of our game, "Werewolf and Witch," won the 1st Award in the Move category at the Aptos Blockchain 1st Seoul Hackathon. In this phase, we implemented the decentralized NFT war game using the Move smart contract in a fully decentralized manner. We focused on the issue of why existing Web2 games fail to transition to Web3 games, and implemented a fighting algorithm for two NFT factions (Werewolf and Witch) through the Aptos smart contract's Move language.
There were two main issues we addressed. Firstly, Web2 services typically produce and provide items/contents to users on an ongoing basis, while Web3 services aim to profit from the "First Come First Serve" concept of obtaining items/NFTs first. These two approaches have different directions and are difficult to coexist, which hinders the transition of Web2 games to Web3 games.
The second issue is vulnerability. The security of Web3 games is still weak. Many well-known Web3 games have experienced incidents where assets were lost due to hacking after building a decentralized ecosystem for their assets. To address this, we designed a fully decentralized form of NFT war game using the Move smart contract. In this system, the two NFT factions on the Move smart contract grow their own NFTs while engaging in wars, and rewards are also received in a decentralized manner after the war. In-game design, we ensured that all participants in the game store their invested fiat assets (Aptos) in the smart contract's vault and can retrieve the assets from the vault in a decentralized manner after combat, following a predetermined protocol. We also provided limited unique items through Move to prevent inflation that may occur in Web2 games and designed a fair economic system.
The gameplay of this decentralized NFT game service is as follows:
Purchasers of NFTs store the minting fee they paid in the Vault within Move.
NFTs obtained can be either Werewolf or Witch.
With the purchased NFT, players can engage in Challenges (Battles) and fight against the opposing Faction.
Winning a battle allows players to obtain NFTs from the opposing Faction.
Consuming NFTs from the opposing Faction strengthens the player's own NFT, increasing the chances of winning battles.
The war ends when one Faction holds more than 70% of the total share, and they can then burn their NFTs in the Vault to claim their share in a decentralized manner.
2023/05/03 new update in move contract
Shop to buy items - Heros, Lands, Potions.
Potion feature added
Fighter NFTs (Werewolf and Witch NFTs) can become stronger by drinking potions.
Battle with betting feature added
You can now bet and engage in battles using War coins. In War Coin Battles, you will not lose your NFTs. The probability of winning an NFT is determined by its Strength, and the lower the probability of winning, the greater the amount you can win from your bet
Land staking added
You can stake Werewolf or Witch NFTs on the Land purchased from the Shop. The staking speed depends on the Strength of the Fighter NFT you use for staking.
War Hero added
War Heroes are born with stronger attributes, enabling them to make a greater impact in battles with their powerful strength
Last updated