implementation for Board.get_pirces