boolean function ( ) { return getTotalCount ( ) == numRows * numCols ; }
returns whether the game is over . the game is over when all squares are filled with a piece . concode_field_sep int NUM_COLS concode_elem_sep int numRows concode_elem_sep UI ui concode_elem_sep int blackCount concode_elem_sep Color[][] squares concode_elem_sep int NUM_ROWS concode_elem_sep int numCols concode_elem_sep int whiteCount concode_field_sep int getNumRows concode_elem_sep int getWhiteCount concode_elem_sep int getNumCols concode_elem_sep Color oppositeColor concode_elem_sep void updateUI concode_elem_sep int getTotalCount concode_elem_sep void countIncrement concode_elem_sep void countDecrement concode_elem_sep void setUI concode_elem_sep String getWinnerMessage concode_elem_sep int getBlackCount concode_elem_sep Color getContents concode_elem_sep void setContents concode_elem_sep Color getContentsOfSquare