Is there any way to generate a list of opponent ships?


#1

Is this possible? I’d like to know things like:
How many ships my opponent has
How many opponent ships are full/which is currently most loaded.

I can’t find any reference that would allow me to find opponent player id. So instead of me.getships I could create an opponent.getships for each opponent in the game.


#2
for player in game.players:
    if player is not game.me:
        player.ships

#3

I was manually checking every mapcell for a ship that wasn’t mine, I like your implementation a lot better! :grinning:


#4

Lol. You really should look through hlt package code. There are no so much lines. The docs of it is incomplete (e.g. game docs not mentions players list attribute).