Post-Mortem & Bot Source Code


#21

Ryan, please email me at my gmail address (mellendo), so I can email the comments, and we don't clutter this forum going back and forth.


#22

My code: https://github.com/Prisoner3D/Halite-II


#23

here's mine: https://github.com/klyd3r/halite


#24

Here is my code: https://github.com/FiodorG/Halite2


#25

Here's mine : https://github.com/djgandy/halite2

The basic idea is that it ranks each planet based on its available resource and how many planets are nearby and who owns them.

  • A friendly planet within 28 adds its total docking spots to the score.
  • An enemy planet within 28 subtracts 2 from the score.
  • A friendly planet within 70 adds 1 to the score.
  • An enemy planet within 70 subtracts 1 from the score.

There is also some decision making to prefer planets further from the center when there are 4 players alive and prefer planets nearer the center when 2 players are alive.

There is a basic defence that pushes the mid point between the threat and the defendee but also has a bias towards the target to prevent overcrowding and over-defensiveness. The intention was also to use the planet scoring to decide which planets were most valuable production resources and keep more ships nearby them in case of sudden attack.

Attack is generally a part of seeking resource and is still very naive, it basically just sends ships to die! I wish I'd picked this back up sooner to fix that as it was probably worth quite a few ranking points!

There is also a post processing phase that I started but never got around to finishing where the idea was to look at what decisions each ship had made then coordinate any common actions in order to have optimal outcome. This was intended to look at whether to flee and re-group or take on a group of targets.


#26

Here is my code: https://github.com/MiloATH/HaliteII
The final submission is on branch passiveDef.


#27

Here’s my final https://github.com/csheldrick/halit2bot-final


#28

#29

#30

I uploaded my final bot (python) to GitHub with a quick writeup. Rewrote navigation from scratch other than that nothing to interesting. 51st overall, pretty happy since I started with 10 days to go.


#31

Added my unfinished rl bot and Gaussian rbf bot


#32

Postmortem on how I made the #2 ML bot.


#33

My python bot is here


#34

Can you open source your replay tool? Thank you


#35

Sorry, I have no such plans at the moment.


#36

No worries. It was just to learn how you build it + we would used it for our internal competition at uni :slight_smile: