Giter Site home page Giter Site logo

bliss-screeps's Introduction

bliss-screeps

A screeps game world.

TODO

优化

  • wall和rampart一次只能发布一个任务 (WALL/RAMPART)
  • 选择creep时,可以根据creep离开source或者target的距离排序;也可以选择包含能量最多的;
  • Link创建完成后配置能量传输模式
  • 优化creep任务执行逻辑,如果creep已经包含一部分能量,则不需要采集直接去目标处
  • 任务优先级改为建筑优先级,建筑优先级可以根据离开source/container/storage的距离来推算
  • 调整storage的位置
  • 优化信息收集模块
  • 优化不同种类任务数量和任务优先级
  • 压缩task对象的属性名称和属性值,减少memory的占用量
  • 优化creep寻路机制,将路线预先保存在内存中,减少cpu消耗

新功能

  • 实现link的能量传输 (LINK)
  • 使用tower来辅助修复wall、rampart
  • upgrade、build、repair都可以从storage获取能量
  • 增加hauler(运输者),只包含CARRY和MOVE
  • 维护道路,如果road\wall\rampart消失需要自动重新创建
  • 维护建筑,如果建筑消失需要自动重新创建
  • 自动建路,统计creep走过每个tile的次数,次数最多的tile建路
  • 可以通过设置不同颜色的flag,实现自动铺路
  • 新建工具方法
  • 开发命令模块,可以直接在console中输入命令

bliss-screeps's People

Contributors

ammeyjohn avatar

Watchers

 avatar  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.