When I try to run my bot in the online editor it keeps giving me this error: TypeError: unhashable type: ‘Position’
Which is wierd since it works fine when i run it locally.
Code piece in question:
for u in unpacked_grid: halite = game_map[u].halite_amount halite_at_pos[u] = halite
So I figured I could just convert the folder to a zip and then upload that, however whenever I try to upload that, it doesn’t do anything when I click submit.
Help is much appreciated, since I don’t want to rewrite my entire code.