Exemplo n.º 1
0
    private void askForGameMode()
    {
        int pick = gameType.pickGameMode();

        if (pick == 2)
        {
            playerInactive = new ComputerPlayer('o');
        }
        else if (pick == 3)
        {
            playerActive   = new ComputerPlayer('x');
            playerInactive = new ComputerPlayer('o');
        }
        else if (pick == 4)
        {
            playerActive = new ComputerPlayer('x');
        }
    }