Coder Social home page Coder Social logo

screeps's Introduction

Screeps

This is my taks-based Screeps AI. It is very powerful and its possible to reach at least TOP 30 of all players with it. Nevertheless, the implementation is very complex and not every feature is finished.

The main feature of the implementation are the tast-based approach. Every creep action is generated by tasks, so that creeps only process the given action instead of choosing by their own. This allows global optimization. Furthermore the spawn implementation is also task-based.

The code documentation is very rare, but you will figure it out.

Use deployLocalMac.sh if you are on Mac.

screeps's People

Contributors

sscholl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

screeps's Issues

"can't deliver to"

--> creeps[10].run
[11:22:56] --> Creep.run
[11:22:56] --> Creep.taskDeliver
[11:22:56] --> Creep.taskDeliver
[11:22:56] ERROR: [E18N39] [FhsnFJ] can't deliver to yxPHLf: -8
[11:22:56] <-- Creep.taskDeliver [0.35]
[11:22:56] <-- Creep.taskDeliver [0.40]
[11:22:56] <-- Creep.run [0.43]
[11:22:56] <-- creeps[10].run [3.52]

I get this a hell of a lot:

2 screeps always end up here throwing that error, one is a builder type screep with full energy preventing the transfer:

http://prntscr.com/bx7fgt

I am not sure if this is because the room is still under protection?

Anyway yeah seems to be every tick that throws up, I can suicide both creeps but 2 new ones will end up having the same issue.

Screeps seems to go in circles doing nothing.

I have noticed that I end up getting a group of screeps that simply copy one another and move in a circle doing nothing else:

http://prntscr.com/c0oi8r

That shows the 2 groups of 2 which seem to copy each others movements, there is also 4 arrows to the left which show the pattern of movement they have.,

Any ideas what is happening?

They will eventually stop doing it or what happens is they break off into 2 groups doing 2 different patterns of movement.... its weird.

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.