I was wondering if there is a function in Python that tells you the total number of players in a game.
Summary: if there are 2 or 4 people in a match.
I don't know if there is a function for it but in the start you can use the function: map.all_players() to get the list of all player objects and divide its length by 3 since all players start with 3 ships. That should give you the number of players.
Thanks This helped me!