Skip to content

NFT Game Players need to work together to attack the boss and bring its HP down to 0.

Notifications You must be signed in to change notification settings

changjiashuai/epic-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Epic Game NFT Project

The goal of our game will be to destroy a boss. Let's say that boss has 1,000,000 HP. What players do is when they start the game, they mint a character NFT that has a certain amount of Attack Damage and HP. Players can order their character NFT to attack the boss and deal damage to it. Kinda like a Pokemon!

The goal? Players need to work together to attack the boss and bring its HP down to 0. The catch? Every time a player hit the boss, the boss hits the player back! If the NFT's HP goes below 0, the player's NFT dies and they can't hit the boss anymore. Players can only have one character NFT in their wallet. Once the character's NFT dies, it's game over. That means many players need to join forces to attack the boss and kill it. Try running some of the following tasks:

npx hardhat help
npx hardhat test
REPORT_GAS=true npx hardhat test
npx hardhat node
npx hardhat run scripts/deploy.js

Run test case

npx hardhat run scripts/run.js

Deploy contract

npx hardhat run scripts/deploy.js --network goerli

Open source

npx hardhat verify {contract_address} --network goerli

Project url

https://nft-game-project.jiashuaichang.repl.co/

UI

UI Project

About

NFT Game Players need to work together to attack the boss and bring its HP down to 0.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published