My first NFT turn based game, where I write + deploy a smart contract to the ETH blockchain, and build a Web3 client app to interact with my contract.
The 42 Metaverse Slayer game allows players to choose, and mint, a unique character with whom they can fight, together with other players, the evil Vogons.
Click here to JOIN the fight.
Note: You will need a Meta Mask wallet and be connected to Rinkeby test network.
- Minting your own NFT from three characters
- Multiplayer support:
- Highscore board of all players, ranked by the total damage dealt.
- 10% chance of critical hit
- 20% change that the Vogons miss the attack
- Meta Mask support
- Rinkeby test network support
git clone https://github.com/avocadohooman/42-metaverse-slayers.git
cd 42-metaverse-slayers
yarn install
cd client
yarn install
cd client
yarn run start
npx hardhat run scripts/run.js
Establish local blockhain and keep it running:
npx hardhat node
Deploy smart contract on local network
npx hardhat run scripts/deploy.js --network localhost