-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create local dropoff if the situation warrants #14
Comments
Okay, for what it's worth, creating a local dropoff if there isn't anything within 5 squares is going to be massive overkill. It takes 4k halite to create a dropoff point, after all. So we're going to have to do several things here...
|
… Note that this is untested. Also removed bogus try/except from nightMiner.py (yeah, not related to this branch-- oopsie).
This is going to be much easier after the |
As the above issue reference was creation of a duplicate issue, I'm simply pasting that information into this thread. NOTE: there are new factors taken into account... New (and probably some duplicate) information & factors follow: Now that we've got some bots out that are a bit better about spawning and mining, we're ending up with a lot of ships that have almost full halite that are unable to return to the shipyard, due to clogging of the main route & the pawn formation issue (#33). It would be very beneficial to pick those that are congested, and farther away from the shipyard than the others, and create a new dropoff in order to facilitate easier collection of halite. This will necessitate, at least, the following:
|
If the shipyard isn't within a certain # of squares (requiring 2x # of squares to return to), then we should probably just create a dropoff. Be aware that creating a dropoff requires 4,000 halite, so other factors should probably be taken into account as well (surrounding halite, # of ships in the vicinity, etc).
The text was updated successfully, but these errors were encountered: