func (g *Game) newFinalBoardDiv(playerName string) js.Value {
	clone := g.dom.CloneElement(".final-boards .player-list template")
	cloneChildren := clone.Get("children")
	div := cloneChildren.Index(0)
	divChildren := div.Get("children")
	id := playerName + "-final-board"
	input := divChildren.Index(0)
	input.Set("id", id)
	label := divChildren.Index(1)
	label.Set("htmlFor", id)
	label.Set("innerHTML", playerName)
	return div
}
// newFinalBoardLi creates a new div to trigger drawing the board.
newFinalBoardLi creates a new div to trigger drawing the board.
// newFinalBoardLi creates a new div to trigger drawing the board .
func (g *Game) newFinalBoardDiv(playerName string) js.Value {
	clone := g.dom.CloneElement(".final-boards .player-list template")
	cloneChildren := clone.Get("children")
	div := cloneChildren.Index(0)
	divChildren := div.Get("children")
	id := playerName + "-final-board"
	input := divChildren.Index(0)
	input.Set("id", id)
	label := divChildren.Index(1)
	label.Set("htmlFor", id)
	label.Set("innerHTML", playerName)
	return div
}
func ( g * Game ) newFinalBoardDiv ( playerName string ) js . Value { clone := g . dom . CloneElement ( " " ) cloneChildren := clone . Get ( " " ) div := cloneChildren . Index ( 0 ) divChildren := div . Get ( " " ) id := playerName + " " input := divChildren . Index ( 0 ) input . Set ( " " , id ) label := divChildren . Index ( 1 ) label . Set ( " " , id ) label . Set ( " " , playerName ) return div }
newFinalBoardLi creates a new div to trigger drawing the board.
newFinalBoardLi creates a new div to trigger drawing the board .