Bot submission for the Halite-II Challenge in Python
feature_matrix[planet.id] = [
planet.health,
remaining_docking_spots,
planet.remaining_resources,
signed_current_production,
gravity,
my_best_distance,
enemy_best_distance,
ownership,
distance_from_center,
health_weighted_ship_distance,
is_active
]
We have observed one particular "enemy" bot that was sending some ships flying near the border clockwise. They triggered our own ships. Imagine the situation: One of our own is already chasing it and another friendly ship is more or less orthogonally positioned to it; it gets triggered and persues the ship. Because it will try to reach the current position of the enemy, the angle between our ships will close and one will destroy the other one. We conclude: When you want to intercept a ship don't fly to the current position but anticipate the future position!