Running out of halite trying to move?


#1

I’ve been working on fixing a bug in my bot for a couple days now. It turns out that movement does not cost 10% of the halite on a ship, but it costs 10% of the halite that is on the cell the ship is currently standing on. Pretty big difference.

I went from 6 self-collisions a game to 0 after fixing that and jumped up 350 slots in the rankings.


#2

Indeed! You can find it here: https://halite.io/learn-programming-challenge/game-overview :slight_smile:

Move: North, South, East, West Cost: 10% of halite available at turn origin cell is deducted from ship’s current halite.
When a ship moves over a friendly shipyard or dropoff, it deposits its halite cargo.