i was thrown off course by an email reminding me that halite is ending in a week so i am putting some time into halite.
resources:
- http://forums.halite.io/
- http://stats.halite.io/python-starterkit.html#module-hlt.entity
- https://pythonprogramming.net/custom-ai-halite-ii-artificial-intelligence-competition/?completed=/modify-starter-bot-halite-ii-artificial-intelligence-competition/
my bash script needed some modification to get it to work:
./halite -d "240 160" "python3 MyBot.py" "python3 MyBot_v0.py"
this is run_game.bat which is then run with bash run_game.bat
in the terminal.
i was able to get the basic bot up and running and am now working on an attack strategy.
ok so after i adopted the guy’s attack strategy this one is a very interesting attacker bot:
after implementing a “viable settlement” strategy i am now up to rank 1088.
example wins: https://halite.io/play?game_id=8245459 and example loss: https://halite.io/play?game_id=8245389
so i am falling prey to these basic issues:
- self collision (bad!! hard to fix)
- only targeting nearest planet when i need to weight vs proximity of enemy
- no defense against rambo (solo ships sent out specifically to hunt ships that are being docked)
- no rambo (easy!)
i had issues with timeouts so i implemented basic stuff: http://forums.halite.io/t/speeding-up-python-bots/306/17
my best rank is 929 now https://halite.io/user/?user_id=4342
i wasnt doing much better than my “viable settler v5” so i put that back in and im now back in the 700s.
i am obsessed with “rambo” strategies. this guy https://halite.io/user/?user_id=3093 used it on me here.