コード例 #1
0
 public override string Play(Player p)
 {
     if (p.getCurrentRoom() == 5)
     {
         p.addIChip(1);
         return (p.getPlayerName() + " played " + thisImage + " for 1 integrity chip");
     }
     return (p.getPlayerName() + " played " + thisImage + " FAILED");
 }
コード例 #2
0
 public override string Play(Player p)
 {
     if (p.getCurrentRoom() == 5)
     {
         p.addIChip(1);
         return(p.getPlayerName() + " played " + thisImage + " for 1 integrity chip");
     }
     return(p.getPlayerName() + " played " + thisImage + " FAILED");
 }
コード例 #3
0
 public override string Play(Player p)
 {
     if (p.getCurrentRoom() == 1 && p.getLChip() > 2)
     {
         p.addIChip(1);
         p.addCChip(1);
         return (p.getPlayerName() + " played " + thisImage + " for 1 integrity chip and 1 craft chip");
     }
     p.setCurrentRoom(20);
     return (p.getPlayerName() + " played " + thisImage + " FAILED");
 }
コード例 #4
0
 public override string Play(Player p)
 {
     if (p.getCurrentRoom() == 1 && p.getLChip() > 2)
     {
         p.addIChip(1);
         p.addCChip(1);
         return(p.getPlayerName() + " played " + thisImage + " for 1 integrity chip and 1 craft chip");
     }
     p.setCurrentRoom(20);
     return(p.getPlayerName() + " played " + thisImage + " FAILED");
 }
コード例 #5
0
 public override string Play(Player p)
 {
     if (p.getCurrentRoom() == 0 && p.getCChip() > 2)
     {
         p.addQPoint(5);
         p.addIChip(1);
         return (p.getPlayerName() + " played " + thisImage + " for 5 Quality Points and 1 integrity chip");
     }
     p.setCurrentRoom(2);
     return (p.getPlayerName() + " played " + thisImage + " FAILED");
 }
コード例 #6
0
 public override string Play(Player p)
 {
     if (p.getCurrentRoom() == 0 && p.getCChip() > 2)
     {
         p.addQPoint(5);
         p.addIChip(1);
         return(p.getPlayerName() + " played " + thisImage + " for 5 Quality Points and 1 integrity chip");
     }
     p.setCurrentRoom(2);
     return(p.getPlayerName() + " played " + thisImage + " FAILED");
 }