コード例 #1
0
 public override string Play(Player p)
 {
     if (p.getCurrentRoom() == 1)
     {
         choseChip chose = new choseChip(1, 0, 1, p);
         p.addChipChosen(chose.getChoice());
         return(p.getPlayerName() + " played " + thisImage + " for " + chose.getChoice());
     }
     return(p.getPlayerName() + " played " + thisImage + " FAILED");
 }
コード例 #2
0
 public override string Play(Player p)
 {
     if (p.getCurrentRoom() < 10 && p.getCurrentRoom() != 6)
     {
         choseChip chose = new choseChip(1, 1, 1, p);
         p.addChipChosen(chose.getChoice());
         return (p.getPlayerName() + " played " + thisImage + " for " + chose.getChoice());
     }
     return (p.getPlayerName() + " played " + thisImage + " FAILED");
 }
コード例 #3
0
 public override string Play(Player p)
 {
     if (p.getCurrentRoom() == 18 && p.getCChip() > 2)
     {
         choseChip chose = new choseChip(1, 1, 1, p);
         p.addChipChosen(chose.getChoice());
         return(p.getPlayerName() + " played " + thisImage + " for " + chose.getChoice());
     }
     p.addQPoint(-2);
     return(p.getPlayerName() + " played " + thisImage + " FAILED: Lose 2 Quality Points");
 }
コード例 #4
0
 public override string Play(Player p)
 {
     if (p.getCurrentRoom() == 19 && p.getIChip() > 2)
     {
         choseChip chose = new choseChip(1, 1, 1, p);
         p.addChipChosen(chose.getChoice());
         return (p.getPlayerName() + " played " + thisImage + " for " + chose.getChoice());
     }
     p.discardPick();
     return (p.getPlayerName() + " played " + thisImage + " FAILED");
 }
コード例 #5
0
 public override string Play(Player p)
 {
     if (p.getCurrentRoom() == 18 && p.getCChip() > 2)
     {
         choseChip chose = new choseChip(1, 1, 1, p);
         p.addChipChosen(chose.getChoice());
         return (p.getPlayerName() + " played " + thisImage + " for " + chose.getChoice());
     }
     p.addQPoint(-2);
     return (p.getPlayerName() + " played " + thisImage + " FAILED: Lose 2 Quality Points");
 }
コード例 #6
0
 public override string Play(Player p)
 {
     if (p.getCurrentRoom() == 11 && p.getIChip() > 3)
     {
         p.addQPoint(3);
         choseChip chose = new choseChip(1, 1, 1, p);
         p.addChipChosen(chose.getChoice());
         return(p.getPlayerName() + " played " + thisImage + " for 3 Quality Points and " + chose.getChoice());
     }
     p.discardPick();
     return(p.getPlayerName() + " played " + thisImage + " FAILED");
 }
コード例 #7
0
 public override string Play(Player p)
 {
     if ((p.getCurrentRoom() == 12 || p.getCurrentRoom() == 15) && p.getIChip() > 1)
     {
         p.addQPoint(3);
         choseChip chose = new choseChip(1, 1, 1, p);
         p.addChipChosen(chose.getChoice());
         return (p.getPlayerName() + " played " + thisImage + " for 3 Quality Points" + chose.getChoice());
     }
     p.discardPick();
     return (p.getPlayerName() + " played " + thisImage + " FAILED");
 }