def player(self, name):
return [index for index, player in enumerate(self.players) if player.name == name][<NUM_LIT:0>]<EOL>
:param name: name of player to get index of
:return int: index of the player in the players array.