[Tutorial] Big and Small Card Game Portal Network
Card game powered by blockchain and ERC-721 (NFT)
Introduction
Big and Small is a card game that is built under the ERC-721 (NFT, non-fungible token) standard with truffle framework. Each card in the game is a ERC-721, so each card in the game is unique under a specific ownership.
The game is running on Ropsten Test Net, so it won’t cost you to play this game!
Getting started
First, you will need MetaMask to run the game. To download MetaMask, click here.
Once you downloaded MetaMask, create a wallet so you can receive testnet ETH later on. See tutorial.
Go to Big and Small, and switch to Ropsten Test Network via your MetaMask.
***You may also play the ‘Big and Small’ on website hosted on IPFS, completely decentralized. Visit game.portalnetworkweb.eth***
You will need Portal Network extension to help you redirect this BNS (blockchain name service). Download now.
How to play the game?
Acquiring the card
Now everything is ready. To play the game, acquire a ERC-721 card first, which will cost you 0.01 ETH. Once you sign a transaction and send it to our smart contract, you will receive a card with a random number on it. The number will be used to determine the winner later in the battle.
Battle time!
Once you have a card, you can compete with our bot.
Each round, the smart contract will randomly decide either card with larger number or smaller number wins the round. At the same time, the smart contract will also randomly generate a number in order to compete with the player.
Winner of the game will be able to win 150% of the bet put in.
All smart contracts are available at our github page and there is one more thing…
Our developers have hidden several Easter Eggs in the game, so go ahead and search for it now!