dgets / nightMiner

Halite III Bot - rewriting Halite III bot from scratch with better project structure plans
6 stars 1 forks source link

Ships randomly stay on the shipyard #21

Closed dgets closed 5 years ago

dgets commented 5 years ago

This needs to be changed. I've not done log analysis just yet, but it looks like they're sitting there at random, whether or not the game is in the last 'scuttle' turns or not. Easiest way to do this would be to add another conditional to check if the ship's position is over the shipyard and halite_amount == 0, in which case it gets a shove and a mission reset. The proper way to do it would be to figure out why it's happening in the first place...

NOTE: This is currently blocking full implementation of #5.

dgets commented 5 years ago

Now we're just having to deal with #29.