Closed 1NF053C closed 1 year ago
Once this MVP is implemented, it might be reasonable to enhance with: https://github.com/team-remember-to-hydrate/battlecode23-team-remember-to-hydrate/issues/8
Insights / recommendations I've jotted down from discussion with @mklapp2 :
[x] Picks up anchor if its available
[ ] Go to nearest _unclaimed_ island (not just nearest island in gen)
[x] Use Odyhibits HQ logic for anchor production logic
[ ] At least one base should prioritize making an anchor as its first action..
One change:
- Only do it if the carrier is at full health (anchor is big expense).
Maybe:
- Wary of enemies sensed? (could backfire if enemies always there).
Notes for self
// Ody's HQ logic
// if we are holding an anchor we saw an island, lets build a carrier.
// Pick a direction to build in.
Direction dir = RobotPlayer.directions[RobotPlayer.rng.nextInt(RobotPlayer.directions.length)];
MapLocation newLoc = rc.getLocation().add(dir);
if(rc.getNumAnchors(Anchor.STANDARD) > 0){
// Let's try to build a carrier.
rc.setIndicatorString("Trying to build a carrier");
if (rc.canBuildRobot(RobotType.CARRIER, newLoc)) {
rc.buildRobot(RobotType.CARRIER, newLoc);
}
}
Goal: Implement the simplest "working" version of this strategy as possible
Rationale: This will enable the team to decide on how to "enhance" this strategy (if needed) once this is functional (depending on individual bandwidth)
Strategy:
Capabilities:
How to decide what to implement for the next version of this strategy: "Resilient" Iteration: