func (g Game) handleInfoChanged(send messageSender) {
	i := game.Info{
		ID:        g.id,
		Status:    g.status,
		Players:   g.playerNames(),
		CreatedAt: g.createdAt,
		Capacity:  g.MaxPlayers,
	}
	m := message.Message{
		Type: message.GameInfos,
		Game: &i,
	}
	send(m)
}
// handleInfoChanged sends the game's info in a message.
handleInfoChanged sends the game's info in a message.
// handleInfoChanged sends the game ' s info in a message .
func (g Game) handleInfoChanged(send messageSender) {
	i := game.Info{
		ID:        g.id,
		Status:    g.status,
		Players:   g.playerNames(),
		CreatedAt: g.createdAt,
		Capacity:  g.MaxPlayers,
	}
	m := message.Message{
		Type: message.GameInfos,
		Game: &i,
	}
	send(m)
}
func ( g Game ) handleInfoChanged ( send messageSender ) { i := game . Info { ID : g . id , Status : g . status , Players : g . playerNames ( ) , CreatedAt : g . createdAt , Capacity : g . MaxPlayers , } m := message . Message { Type : message . GameInfos , Game : & i , } send ( m ) }
handleInfoChanged sends the game's info in a message.
handleInfoChanged sends the game ' s info in a message .