func (g *Game) sendMessage(out chan<- message.Message) messageSender {
	return func(m message.Message) {
		if m.Game == nil {
			var g game.Info
			m.Game = &g
		}
		m.Game.ID = g.id
		message.Send(m, out, g.Debug, g.log)
	}
}
// sendMessage creates a messageSender that adds the gameId to the message before sending it on the out channel.
sendMessage creates a messageSender that adds the gameId to the message before sending it on the out channel.
// sendMessage creates a messageSender that adds the gameId to the message before sending it on the out channel .
func (g *Game) sendMessage(out chan<- message.Message) messageSender {
	return func(m message.Message) {
		if m.Game == nil {
			var g game.Info
			m.Game = &g
		}
		m.Game.ID = g.id
		message.Send(m, out, g.Debug, g.log)
	}
}
func ( g * Game ) sendMessage ( out chan <- message . Message ) messageSender { return func ( m message . Message ) { if m . Game == nil { var g game . Info m . Game = & g } m . Game . ID = g . id message . Send ( m , out , g . Debug , g . log ) } }
sendMessage creates a messageSender that adds the gameId to the message before sending it on the out channel.
sendMessage creates a messageSender that adds the gameId to the message before sending it on the out channel .