func (b Board) hasTile(t tile.Tile) bool {
	if _, ok := b.UnusedTiles[t.ID]; ok {
		return true
	}
	if _, ok := b.UsedTiles[t.ID]; ok {
		return true
	}
	return false
}
// hasTile returns true if the board has any unused or used tiles with the same id.
hasTile returns true if the board has any unused or used tiles with the same id.
// hasTile returns true if the board has any unused or used tiles with the same id .
func (b Board) hasTile(t tile.Tile) bool {
	if _, ok := b.UnusedTiles[t.ID]; ok {
		return true
	}
	if _, ok := b.UsedTiles[t.ID]; ok {
		return true
	}
	return false
}
func ( b Board ) hasTile ( t tile . Tile ) bool { if _ , ok := b . UnusedTiles [ t . ID ] ; ok { return true } if _ , ok := b . UsedTiles [ t . ID ] ; ok { return true } return false }
hasTile returns true if the board has any unused or used tiles with the same id.
hasTile returns true if the board has any unused or used tiles with the same id .