Welcome to part 3 of the Halite tutorials. So far, we’ve found a way to drastically improve our rank just by making a slight modification to the starter code given to us. At this point, I notice there are a few issues. One issue is that my ships often “forget” their objective and give the impression that they’re changing their minds. We need to remember our objectives beyond the single turn. Also, we noticed that the ends of matches had our ships often just sitting there idle, stacking up until the end of the match. We might as well use our ships to attack. Doing this means we can lower enemy numbers, but we can also over-take planets that our enemy owns and make them our own, furthering our chances of winning.
Text tutorials and sample code: https://pythonprogramming.net/custom-ai-halite-ii-artificial-intelligence-competition/
https://pythonprogramming.net/support-donate/
Tweets by Sentdex
https://www.facebook.com/pythonprogramming.net/
https://www.twitch.tv/sentdex
https://plus.google.com/+sentdex
UCfzlCWGWYyIQ0aLC5w48gBQ
source