Exemplo n.º 1
0
 public void CreateGame(string players)
 {
     if (players == "2")
     {
         battlefield = new RockPaperScissorsLizardSpock();
     }
     else
     {
         battlefield = new RockPaperScissorsLizardSpock(true);
     }
 }
Exemplo n.º 2
0
        static void Main(string[] args)
        {
            RockPaperScissorsLizardSpock run = new RockPaperScissorsLizardSpock();
            int roundResult = run.ScoreRound();

            /*          PayCalculator run = new PayCalculator();
             *          string PayRate = run.RunPayCalculator();
             *          fizzbuzz letsFizzBuzz = new fizzbuzz();
             *          string PlayFizzBuzz = letsFizzBuzz.LetsPlay();
             *          ClockRadio TurnRadioOn = new ClockRadio();
             *          string Radio = TurnRadioOn.MyVirtualClockRadio();
             *          Adventure turn = new Adventure();
             *          string Turn = turn.Crossroads();
             */
        }