dgets / nightMiner

Halite III Bot - rewriting Halite III bot from scratch with better project structure plans
6 stars 1 forks source link

Scuttle for dropoff at game end #5

Closed dgets closed 5 years ago

dgets commented 5 years ago

If the end of the game (turnwise) is within 2 * the distance from the shipyard/dropoff to the farthest ship, every ship we have should have the primary_mission set to dropoff, and return to the shipyard to dump the halite, for proper score increase prior to end of game.

dgets commented 5 years ago

Created branch feature/scuttle-for-finish to work on this.

dgets commented 5 years ago

Okay, so things are almost working, but processing for getting out of the way after dropping at the shipyard is not working. This is probably an issue with the way that the current_assignments.destination field is set; perhaps adding some verification that it isn't the same spot as the shipyard would help.

dgets commented 5 years ago

This is implemented up to the point that we're stuck at in issue #29.