Giter Site home page Giter Site logo

screeps's Introduction

##Screeps

Version: 0.2.12

###Changelog for v0.2.12

  • Added squads. Squads can be controlled with flags.
  • Added auto-scaling creeps with levels.
  • Disabled auto-positioning of the structures.
  • Containers for miners have to be built manually as well.
  • Miners now will only look for containers in range 1 to sources.
  • Fixed bug resulting in miner not being built properly.
  • Fixed auto-scaling not working properly.
  • Fixed bug resulting in wrong resolving source id.
  • Fixed calculating of needed transporters and couriers.
  • Fixed minor bugs regarding builders and transporters and couriers.
  • Fixed towers only repairing if room is under attack.
  • When controller level is max, upgraders will only upgrade it when its ticksToDowngrade is 1/2 of max available.
  • Towers won't repair walls with hits more than defined in config.
  • Fixed performance issues caused by creep behaviour
  • Additional minor bug fixes
  • Fix builders harvesting only 1 source
  • Transporters will first search for storages to fill up.
  • Disabled auto-spawning military creeps when enemy is detected in the room.

#####Flags to control squads

Squads can be controlled by flags. Each squad is identified by the first color of a spawn flag. If multiple spawn flags with the same main color were spawned, they will be considered as a one squad unit. The second flag color defines an action to be taken by a specific squad, which is identified by the main color of this flag. There are currently supported only 4 actions: SPAWN, MOVE_TO, ATTACK, RETREAT.

Main color Secondary color Description
squad color COLOR_YELLOW Spawn and command this squad to locate near the flag
squad color COLOR_GREEN Command this squad to locate near the flag
squad color COLOR_RED Make this squad attack the position where the secondary flag is placed
squad color COLOR_WHITE Make this squad retreat to the first spawn in Game.spawns(not to position of the retreat flag)

#####Auto-scaling creeps

Parts are added depending on the amount of energy in the room.

Creep role Description
Miner Can contain from 5 to 11 parts. Max 6 W, 1 C and 4 M
Courier or Transporter Can contain from 4 to 49 parts. Starting with 2 M and 2 C further added 2 C and 1 M up to 49 parts
Military creeps Can contain from 2 to 50 parts. Starting with 1 M and 1 A\R\H further added 1 M and 1 A\R\H up to 50 parts

screeps's People

Contributors

norienr avatar vladyslavtk avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

liveart

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.