#from .brick import DominoesBrick as Brick
#from .pool import DominoesPool as Pool
#from .snake import DominoesSnake as Snake

class DominoesTable():
  def __init__(self):
    self.possible_bricks_in_pool = []
    for side_a in range(7):
      for side_b in range(side_a, 7):
        self.possible_bricks_in_pool.append((side_a, side_b))
    self.number_of_bricks_in_pool = len(self.possible_bricks_in_pool)
    
  def remove_brick_from_pool(self, brick):
    if brick in self.possible_bricks_in_pool:
      self.possible_bricks_in_pool.remove(brick)
      self.number_of_bricks_in_pool -= 1
      return True
    else:
      return False