コード例 #1
0
 public override string Play(Player p)
 {
     if (p.getCurrentRoom() > 10 && p.getLChip() > 2)
     {
         p.addQPoint(5);
         p.addExtraCard();
         p.addExtraCard();
         return(p.getPlayerName() + " played " + thisImage + " for 5 Quality Points and 2 game cards");
     }
     p.addQPoint(-5);
     p.setCurrentRoom(20);
     return(p.getPlayerName() + " played " + thisImage + " FAILED");
 }
コード例 #2
0
 public override string Play(Player p)
 {
     if (p.getCurrentRoom() > 10 && p.getLChip() > 2)
     {
         p.addQPoint(5);
         p.addExtraCard();
         p.addExtraCard();
         return (p.getPlayerName() + " played " + thisImage + " for 5 Quality Points and 2 game cards");
     }
     p.addQPoint(-5);
     p.setCurrentRoom(20);
     return (p.getPlayerName() + " played " + thisImage + " FAILED");
 }
コード例 #3
0
 public override string Play(Player p)
 {
     if (p.getCurrentRoom() == 7 && p.getLChip() > 1)
     {
         p.addLChip(1);
         p.addExtraCard();
         return(p.getPlayerName() + " played " + thisImage + " for 1 learning chip and 1 game card");
     }
     p.addQPoint(-2);
     return(p.getPlayerName() + " played " + thisImage + " FAILED");
 }
コード例 #4
0
 public override string Play(Player p)
 {
     if ((p.getCurrentRoom() == 12 || p.getCurrentRoom() == 15) && p.getLChip() > 2 && p.getCChip() > 2 && p.getIChip() > 2)
     {
         p.addQPoint(5);
         p.addExtraCard();
         return (p.getPlayerName() + " played " + thisImage + " for 5 Quality points and 1 game card");
     }
     p.discardPick();
     return (p.getPlayerName() + " played " + thisImage + " FAILED: lose a card");
 }
コード例 #5
0
 public override string Play(Player p)
 {
     if ((p.getCurrentRoom() == 12 || p.getCurrentRoom() == 15) && p.getLChip() > 2 && p.getCChip() > 2 && p.getIChip() > 2)
     {
         p.addQPoint(5);
         p.addExtraCard();
         return(p.getPlayerName() + " played " + thisImage + " for 5 Quality points and 1 game card");
     }
     p.discardPick();
     return(p.getPlayerName() + " played " + thisImage + " FAILED: lose a card");
 }
コード例 #6
0
 public override string Play(Player p)
 {
     if (p.getCurrentRoom() == 7 && p.getLChip() > 1)
     {
         p.addLChip(1);
         p.addExtraCard();
         return (p.getPlayerName() + " played " + thisImage + " for 1 learning chip and 1 game card");
     }
     p.addQPoint(-2);
     return (p.getPlayerName() + " played " + thisImage + " FAILED");
 }