Halite Home

Any way to distinguish between enemy tiles and neutral tiles?


I was wondering whether there was a way to distinguish between tile owner. We know whether a tile is ours, but can we somehow know if the tile is of an enemy or neutral. This can be interesting, because you want to move to areas that have high productivity, but maybe not if they are taken by another player.

TLDR: Does the neutral player have a special ID that differentiates it from other players?


Neutral tiles are player 0.


From what I gathered, in ruby:

if square.owner != 0 and square.owner != myplayertag