Halite Home

Total Values of enemy bots


Is it possible to get the total production, strength etc. of all bots in the game as shown in the visualiser without iterating through the entire map?


No, you'll need to iterate through the game map and collect that information yourself.


Ok thanks. just wondering because my bot does it every turn at the moment, and I was considering either using a function like this or only updating every 4 or 5 turns...