Advertisement
Guest User

Untitled

a guest
Dec 12th, 2019
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. Traceback (most recent call last):
  2. File "main.py", line 44, in <module>
  3. Runner(host, port, token).run()
  4. File "main.py", line 34, in run
  5. unit, player_view.game, debug)
  6. File "C:\Python\aicup-python\my_strategy.py", line 79, in get_action
  7. shoot = checkWallsBetween(unit.position, target_pos)
  8. File "C:\Python\aicup-python\my_strategy.py", line 38, in checkWallsBetween
  9. if (game.level.tiles[int(x)][int(y)] == model.Tile.WALL):
  10. IndexError: list index out of range
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement