public EnumForResult.Result CheckRow() { int j = 0, resultCount = 1; EnumForResult.Result result = EnumForResult.Result.INPROGRESS; for (int i = 1; i < board.GetBoard().Length; i++) { if (!board.GetBoard()[j].Equals("-")) { if (++resultCount == board.GetSize()) { result = EnumForResult.Result.WIN; break; } } } return(result); }
public EnumForResult.Result CheckDiagonal() { EnumForResult.Result result = EnumForResult.Result.INPROGRESS; return(result); }
public EnumForResult.Result CheckColumn() { EnumForResult.Result result = EnumForResult.Result.INPROGRESS; return(result); }