ulope / planetwars-python-kit

An python interface to the second Google AI-Contest (PlanetWars) at http://ai-contest.com
16 stars 12 forks source link

Updated distance caching #6

Closed simu closed 14 years ago

simu commented 14 years ago

The current code does not take into account that the distance from planet A to planet B is the same as the distance from planet B to planet A. This is fixed in http://github.com/simu/planetwars-python-kit/commit/2347c13d0864f9cd423b39c3801e2140f1f5e96c

ulope commented 14 years ago

Good idea. I've pulled it in.