示例#1
0
 @Override
 public String getVictoryMessage(PlayerList players) {
   if (players.wolfCount() == 1) {
     return String.format(
         "After turning on the last remaining %svillager%s, %s prowls on to terrorize somewhere else.",
         Team.Villagers.getColor(),
         Colors.NORMAL,
         StringHandler.listToString(players.getWolves()));
   } else {
     return String.format(
         "%s turn on the last villagers. With all food depleted, "
             + "they leave the village behind to find fresh meat elsewhere.",
         bold(StringHandler.listToString(players.getWolves())));
   }
 }