Skip to content

Energy Exploitation and Auto Expansion

Latest
Compare
Choose a tag to compare
@CarsonBurke CarsonBurke released this 19 May 00:42

Intro

Collaborators

Pieter Brandsen
https://github.com/pieterbrandsen
has joined me to work on this project!

Media

image

Watch video

image

image

image

image

image

Changelog

1.0.0...2.0.0

Code Changes

International

  • creepOrganizer
    • Running of pre-tick managers for creeps based on their role, so creeps can initialize values preventively
  • internationalManager
    • Transition to a class-oriented program
    • Addition of a variety of QOL methods
    • Market data organization
  • remoteNeedsManager
    • preemptive manager to inform the communes of the needs of remotes
  • mapVisualsManager
    • Creation of informative text and line visuals
  • commands
    • console-accessible functions to quickly complete tasks
  • constructionSiteManager
    • Records the age of the number of cSites, and deletes old ones
  • simpleAllies
    • Reading and distribution of ally requests

Room

  • room type assignment
  • creep managers
    • commune roles
      • segregation of sourceHarvesters based on source name
      • hub and fastFiller creeps
      • defenders that use ramparts
      • complete mineral harvesting
      • controller use of containers and links
    • remote roles
      • harvesting and hauling of sources
      • reserving of controllers
      • defence from invaders and players
    • scoutManager
      • creation of claim requests with scores
    • newCommune roles
      • claiming of targets
      • building of new spawns
  • constructionManager
    • caching of some structure planning results
    • rampart with onboarding plans
  • Market logic
    • marketManager
      • Intent creation for terminals
      • Ally trading
      • market purchases and sales
    • marketFunctions
      • Quick and customizable buy and sell functions
  • claimRequestManager
    • Accepting and deletion of claim requests
  • roomGetters
    • Collection of useful getters assigned to the Room class
  • trafficManager
    • Conversion of move requests into intents
    • Queueing, swapping, and shoving of creeps
  • defenceManager
    • auto safemoding
    • rampart publication and privatization based on need
  • linkManager
    • Makes link transferEnergy intents
  • towerManager
    • Attack, heal, and repair intents
  • containerManager
    • withdraw, transfer, and offer task creation
  • droppedResourceManager
    • pickup task creation
  • structuresForSpawningManager
    • Transfer tasks for some

Other code

  • stat recording
    • use of grafana to showcase metrics in charts and graphs
  • packrat
    • UTF compression tool for saving memory and CPU
  • grafanaModel
    • example file containing the JSON model to be used in a grafana client for the bot
  • eslint
    • improved problem checking program