protected bool LineHasTwoCellsOfEvaluatedType(Board board, int[] line) { int cellCount = board.CountCellsOfTypeInLine(markToEvaluate, line); return cellCount == 2; }
protected bool LineHasOneEmptyCell(Board board, int[] line) { int cellCount = board.CountCellsOfTypeInLine(' ', line); return cellCount == 1; }