func (g *Game) resizeTiles() {
	tileLengthStr := g.dom.Value(".tile-length-slider")
	tileLength, err := strconv.Atoi(tileLengthStr)
	if err != nil {
		g.log.Error("retrieving tile size: " + err.Error())
		return
	}
	g.canvas.SetTileLength(tileLength)
	m := message.Message{
		Type: message.RefreshGameBoard,
	}
	g.setBoardSize(m)
}
// resizeTiles changes the tile size of the board to be the value of the slider.
resizeTiles changes the tile size of the board to be the value of the slider.
// resizeTiles changes the tile size of the board to be the value of the slider .
func (g *Game) resizeTiles() {
	tileLengthStr := g.dom.Value(".tile-length-slider")
	tileLength, err := strconv.Atoi(tileLengthStr)
	if err != nil {
		g.log.Error("retrieving tile size: " + err.Error())
		return
	}
	g.canvas.SetTileLength(tileLength)
	m := message.Message{
		Type: message.RefreshGameBoard,
	}
	g.setBoardSize(m)
}
func ( g * Game ) resizeTiles ( ) { tileLengthStr := g . dom . Value ( " " ) tileLength , err := strconv . Atoi ( tileLengthStr ) if err != nil { g . log . Error ( " " + err . Error ( ) ) return } g . canvas . SetTileLength ( tileLength ) m := message . Message { Type : message . RefreshGameBoard , } g . setBoardSize ( m ) }
resizeTiles changes the tile size of the board to be the value of the slider.
resizeTiles changes the tile size of the board to be the value of the slider .