示例#1
0
    public void Validate()
    {
        if (tryNumber < 12)
        {
            answers[tryNumber].Fill(_board.GetRounds());
            hasWin = _checker.Fill(_board.GetCOLORS(), tryNumber);

            tryNumber += 1;
        }
        if (tryNumber >= 12 && !hasWin)
        {
            _endGame.InstanciateEndGame(hasWin);
        }
        if (hasWin)
        {
            _endGame.InstanciateEndGame(hasWin);
        }
    }