<reponame>kitman0804/BoardGame<gh_stars>0
from ..prototype.mnkgame.GameBoard import GameBoard


class GameBoard(GameBoard):
    def __init__(self, shape=(6, 7), array=None):
        super().__init__(shape=shape, array=array)
    
    @property
    def available_coords(self):
        coords = []
        n_row, n_col = self._array.shape
        for c in range(n_col):
            for r in range(n_row):
                if self._array[r, c] == -1:
                    coords.append((r, c))
                    break
                else:
                    pass
        return coords
