Giter Site home page Giter Site logo

pkiage / testnet-gamefi-nft-miniturnbasedgame-zimamoto Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 173 KB

Home Page: https://testnet-gamefi-nft-mini-turnbased-game.vercel.app/

License: MIT License

Solidity 27.79% HTML 6.06% JavaScript 46.06% CSS 20.09%
hardhat javascript web3 rinkeby ethereum nft gamefi turnbased game ipfs

testnet-gamefi-nft-miniturnbasedgame-zimamoto's Introduction

Zima Moto

Installation and Setup to Contribute/Remix:

  1. Run npm install at the root of your directory
  2. Run npm run start to start the project
  3. Start coding!

Running Contract Locally

npx hardhat run scripts/run.js

Deploying to Rinkeby Testnet

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

Connecting Web App to Deployed Smart Contract on Rinkeby Testnet

  1. Update Contract Address in src/constants.js
  2. Copy json file from artifacts/contracts/MyEpicGame.sol/MyEpicGame.json
  3. Paste what copied in step 2 into src/utils/MyEpicGame.json

Hardhat tasks

npx hardhat accounts
npx hardhat compile
npx hardhat clean
npx hardhat test
npx hardhat node
node scripts/sample-script.js
npx hardhat help

Wallet & Coin:

Wallet: Metamask

Rinkeby Faucet: https://faucets.chain.link/rinkeby

Token:

Token: https://rinkeby.etherscan.io/token/0xD8605777E42DFD702BD0174b479421b380B7B528

Pin Manager

Pinata

Inspiration:

Create your own mini turn-based NFT browser game

Further development ideas:

  • Refill extinguisher (or mint another one)
    • Yours
    • Another player's
    • Multiple players'
  • Switch extinguisher
  • Leaderboard
  • Critical hit
  • Audio effects
  • Game history
  • Mainnet donations towards causes e.g. climate change, public health, & security
  • Responsive design
  • Multiple extinguishers at once (multiplayer)
  • Game levels

Docs creation

Dependency cruiser to validate and visualize dependencies

depcruise --exclude "^node_modules" --output-type dot src | dot -T svg > docs/dependencygraph-src.svg

testnet-gamefi-nft-miniturnbasedgame-zimamoto's People

Contributors

pkiage avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.