What is DROPOFF_PENALTY_RATIO?


#1

It doesn’t seem to be used but Constants.hpp has this:

DROPOFF_PENALTY_RATIO = 4; /**< The cost ratio of using another player’s dropoff. */


#2

There are somethings that are in constants.hpp that are no longer used, but never removed. This maybe is one of them. There is another constant for capturing ships that is no longer used as well.


#3

Yup, originally you had to explicitly dump halite into a dropoff/base, and you could choose to do so in an enemy dropoff. You would lose 25% of the halite to the opponent in that case. We ended up removing this to simplify things, however.


#4

That’s an interesting piece of trivia. Thank you.