Coder Social home page Coder Social logo

games's Introduction

区块链收藏游戏:僵尸之谜

背景

  • 这是一个真正的区块链去中心化游戏
  • 下载运行之后就可以连接到夸克区块链的智能合约
  • 所有人的游戏数据都保存在夸克区块链上
  • 无论是谁,无论在何地运行的游戏都可以连接到相同的数据

游戏介绍

  • 僵尸之谜
  • 一、基因
  • 1.每一个僵尸有16位10进制的数字作为基因,最后一个数字是标识符
  • 二、拥有
  • 1.每个人可以免费领一个僵尸(仅限前5000名),拥有超过一个僵尸后领取新的僵尸需要购买僵尸,需要1个QKI购买
  • 2.主动攻击僵尸胜利后可以获得一个僵尸后代(价值1QKI),可以改名字。
  • 3.喂食10次后可以繁殖一个僵尸后代(价值1QKI)
  • 三、对战
  • 1.每天可以对战一次,主动攻击级别高于你的僵尸,60%概率获胜。
  • 2.胜利计数,失败计数,胜利己方僵尸升级,敌方僵尸降级;失败己方僵尸降级。
  • 四、交易
  • 1.可以把自己的僵尸放到交易市场定价挂卖单,要求僵尸等级大于3,最少拥有一个僵尸可以购买僵尸,僵尸最低售价0.3QKI.
  • 2.买入方买入之后,僵尸归买方,QKI给原主人
  • 五、升级
  • 1.对战胜利可以升级一次
  • 2.低于100级的僵尸可以付费升级,升级费用是0.1QKI,升级成功的概率随等级降低,例如1级99%升级成功,2级98%,……
  • 3.每天喂食有50%概率升级,喂食十次可以繁殖得到一个僵尸后代
  • 六、查询
  • 1.找到僵尸编号可以查询僵尸的主人
  • 2.根据地址查僵尸的数量
  • 3.根据僵尸DNA查僵尸的等级

首先下载谷歌浏览器和metamask钱包

安装

使用yarn安装更为有效
yarn install

运行

yarn start

试玩

1.创建属于自己僵尸,起一个响亮的名字 -image

2.支付矿工费领取自己僵尸

  • image 3.点开我的僵尸查看详细信息,看到僵尸的主人和等级等信息 -image -image 4.喂食僵尸可以提高僵尸的等级但是要等冷却期,需要一天 -image 5.付费升级可以快速提高僵尸的等级 -image image

6.僵尸市场可以选择一个僵尸打架,打赢了可以升级 -image 7.也可以购买别人升级较高等级的僵尸 -image 8.僵尸军团可以看到全网的僵尸信息 -image

games's People

Contributors

bu-qi 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.