func (g Game) playerNames() []string {
	playerNames := make([]string, 0, len(g.players))
	for n := range g.players {
		playerNames = append(playerNames, string(n))
	}
	sort.Strings(playerNames)
	return playerNames
}
// playerNames returns an array of the player name strings.
playerNames returns an array of the player name strings.
// playerNames returns an array of the player name strings .
func (g Game) playerNames() []string {
	playerNames := make([]string, 0, len(g.players))
	for n := range g.players {
		playerNames = append(playerNames, string(n))
	}
	sort.Strings(playerNames)
	return playerNames
}
func ( g Game ) playerNames ( ) [ ] string { playerNames := make ( [ ] string , 0 , len ( g . players ) ) for n := range g . players { playerNames = append ( playerNames , string ( n ) ) } sort . Strings ( playerNames ) return playerNames }
playerNames returns an array of the player name strings.
playerNames returns an array of the player name strings .