func (g *Game) sendLeave() {
	m := message.Message{
		Type: message.LeaveGame,
	}
	g.Socket.Send(m)
	g.Leave()
}
// sendLeave tells the server to stop sending messages to it and changes tabs.
sendLeave tells the server to stop sending messages to it and changes tabs.
// sendLeave tells the server to stop sending messages to it and changes tabs .
func (g *Game) sendLeave() {
	m := message.Message{
		Type: message.LeaveGame,
	}
	g.Socket.Send(m)
	g.Leave()
}
func ( g * Game ) sendLeave ( ) { m := message . Message { Type : message . LeaveGame , } g . Socket . Send ( m ) g . Leave ( ) }
sendLeave tells the server to stop sending messages to it and changes tabs.
sendLeave tells the server to stop sending messages to it and changes tabs .