예제 #1
0
파일: Game.cs 프로젝트: willcurry/CS-TTT
    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');
        }
    }