My screeps code.
npm install grunt
grunt test # generates dist/main.js
grunt upload # generates, tests, and uploads to default branch on screeps.com
http://screeps.com
My screeps code.
npm install grunt
grunt test # generates dist/main.js
grunt upload # generates, tests, and uploads to default branch on screeps.com
introduce miners - three per source all work, slow move, move into place and mine the rest of their lives.
increase # of sweepers - keep spawn and extensions full
dedicated upgrade feeder
dedicated storage feeder - morphed hoarders
introduce 1st class upgraders - as many as can reach the controller in the room, feed by sweepers - high work - slow movement. They move into place and just work for the rest of their lives
this would eliminate workers as they exist today
Sets of four explorers that I want , but it gives an error :
[14:47:48][undefined] Attempting to spawn a level 2 explorer.
[14:47:48][spawn] Spawning explorer returned: ERR_INVALID_ARGS
What can I do?
add an evaluate controller function that looks at the terrain around a controller and determines max access points - then update room.memory so this function only gets called once.
update overrides to reduce upgraders to this number if above
see workers for example.
since hoarders are vital to a constant stream of new energy, if they are spawned during a low energy period they are less effective.
add code to check energy levels and the level of the hoarder, if there is room to build a 3 or above (they are all the same at that point) then exceed maximum and spawn a H3, then once H3 is alive, suicide the summoner.
See Secret room code for previousrole creeps as an example of tracking creep making request for improved Hoarder and then the execution of summoner
guards should not change hostiles outside of ramparts toward exists...
stayAlive.js should do more inspection of flags and see if any of them have a manned memory value that is set to a creep that is still alive, but out of room and if so still count that creep.
I feel these methods are sort of redundant, but should be reviewed
findNearestStorageLink(creep)
if a link is closer than storage us it.
then add logic to refill the link.
flags by color currently control MAX # of creeps in the room by class.
Need to add code so it's color plus the first letter being correct, so that reporting flags don't cause extra creeps to spawn.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.