Git Product home page Git Product logo

crypto-zombie's Introduction

crypto-zombie

僵尸世界-区块链NFT游戏


在线Demo:

需要使用Chrome浏览器和Metamask钱包插件,连接goerli测试网

RPC Chain ID browser
https://goerli.infura.io/v3/ 5 https://goerli.etherscan.io

效果图:

20211129150336

20211129150410


项目安装-Web

# 进入前端目录
$ cd zommbie

# 安装前端依赖
$ npm install

# 启动游戏
$ npm run serve

访问 http://YourIp:9090/preview


需求列表:

基因:

  • 每个僵尸有一个16位10进制数字作为基因
  • 根据名称和随机数创建僵尸基因
  • 每人可以免费领养2只僵尸

升级:

  • 每分钟只能喂食一次(原本设置为每天,后面忘记改了)
  • 每次喂食需要消耗0.01ether,可获得1000xp
  • 每分钟只能冒险一次(原本设置为每天,后面忘记改了)
  • 每次冒险可获得250xp
  • 升1级需要250xp,升2级需要500xp
  • 每一级递增250xp

交易:

  • 可以把自己的僵尸放到市场定价并销售
  • 可以购买市场的僵尸

Refs:

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.