func (b *Board) removeUnusedTile(t tile.Tile) {
	delete(b.UnusedTiles, t.ID)
	for i, id2 := range b.UnusedTileIDs {
		if t.ID == id2 {
			b.UnusedTileIDs = append(b.UnusedTileIDs[:i], b.UnusedTileIDs[i+1:]...)
			return
		}
	}
}
// removeUnusedTile removes a tile from the unused tiles.
removeUnusedTile removes a tile from the unused tiles.
// removeUnusedTile removes a tile from the unused tiles .
func (b *Board) removeUnusedTile(t tile.Tile) {
	delete(b.UnusedTiles, t.ID)
	for i, id2 := range b.UnusedTileIDs {
		if t.ID == id2 {
			b.UnusedTileIDs = append(b.UnusedTileIDs[:i], b.UnusedTileIDs[i+1:]...)
			return
		}
	}
}
func ( b * Board ) removeUnusedTile ( t tile . Tile ) { delete ( b . UnusedTiles , t . ID ) for i , id2 := range b . UnusedTileIDs { if t . ID == id2 { b . UnusedTileIDs = append ( b . UnusedTileIDs [ : i ] , b . UnusedTileIDs [ i + 1 : ] ... ) return } } }
removeUnusedTile removes a tile from the unused tiles.
removeUnusedTile removes a tile from the unused tiles .