Open rougeayrn opened 2 years ago
As a Remote Manager, I want to abandon remotes that aren't making a profit, either due to harassment or just because the room sucks.
remoteSites
{ [roomName]: stuff }
remoteConditions
{ [condition]: info }
potRemoteSites
[roomName, potProf ][ ]
rejectedRemoteSites
[roomName, tickToReconsider ][ ]
allowedNumberOfRemotes
goal
RemoteManager.goal()
Game_Extended
Game
Game_Extended.ownedRooms
Typeguards.isCenterRoom
Utility.getRoomNamesInRange
getBody()
CreepRole
creep.bodyArray
Consider a precursor heuristic.
What if we did a precursor that considers the important parts and didn't do a complete calc of profitability? Think about it.
User Story:
As a Remote Manager, I want to abandon remotes that aren't making a profit, either due to harassment or just because the room sucks.
Acceptance Criteria:
remoteSites
:{ [roomName]: stuff }
remoteConditions
:{ [condition]: info }
potRemoteSites
:[roomName, potProf ][ ]
rejectedRemoteSites
:[roomName, tickToReconsider ][ ]
OLD Acceptance Criteria:
allowedNumberOfRemotes
goal
, because it might not be met and its a shorter name.RemoteManager.goal()
to actually calculate average expense for spawntime and cpu.Game_Extended
to the global scope given we can't prototypeGame
.Game_Extended.ownedRooms
.Typeguards.isCenterRoom
.Utility.getRoomNamesInRange
.getBody()
toCreepRole
.creep.bodyArray
.