func (g *Game) Leave() {
	g.id = 0
	g.setFinalBoards(nil)
	g.hide(true)
	g.dom.SetChecked("#tab-lobby", true)
}
// Leave changes the view for game by hiding it.
Leave changes the view for game by hiding it.
// Leave changes the view for game by hiding it .
func (g *Game) Leave() {
	g.id = 0
	g.setFinalBoards(nil)
	g.hide(true)
	g.dom.SetChecked("#tab-lobby", true)
}
func ( g * Game ) Leave ( ) { g . id = 0 g . setFinalBoards ( nil ) g . hide ( true ) g . dom . SetChecked ( " " , true ) }
Leave changes the view for game by hiding it.
Leave changes the view for game by hiding it .