Ejemplo n.º 1
0
    public void CheckForWinner()
    {
        bool hasWinner = scoreKeeper.CheckForWinner();

        bool isTie = scoreKeeper.CheckForTie();


        if (hasWinner)
        {
            StartNewRound();
        }
        else if (isTie)
        {
            StartNewRound(true);
        }
        else
        {
            StartNewTurn();
        }

        /*         GameHandler.Instance.
         * GameHandler.Instance.isPlayerOnesTurn = !GameHandler.Instance.isPlayerOnesTurn;*/
    }