func (g *Game) handleGameChat(ctx context.Context, m message.Message, send messageSender) error {
	info := fmt.Sprintf("%v : %v", m.PlayerName, m.Info)
	for n := range g.players {
		m2 := message.Message{
			Type:       message.GameChat,
			PlayerName: n,
			Info:       info,
		}
		send(m2)
	}
	return nil
}
// handleGameChat sends a chat message from a player to everyone in the game.
handleGameChat sends a chat message from a player to everyone in the game.
// handleGameChat sends a chat message from a player to everyone in the game .
func (g *Game) handleGameChat(ctx context.Context, m message.Message, send messageSender) error {
	info := fmt.Sprintf("%v : %v", m.PlayerName, m.Info)
	for n := range g.players {
		m2 := message.Message{
			Type:       message.GameChat,
			PlayerName: n,
			Info:       info,
		}
		send(m2)
	}
	return nil
}
func ( g * Game ) handleGameChat ( ctx context . Context , m message . Message , send messageSender ) error { info := fmt . Sprintf ( " " , m . PlayerName , m . Info ) for n := range g . players { m2 := message . Message { Type : message . GameChat , PlayerName : n , Info : info , } send ( m2 ) } return nil }
handleGameChat sends a chat message from a player to everyone in the game.
handleGameChat sends a chat message from a player to everyone in the game .