示例#1
0
 def multi(self, n):
     pnames = [p["name"] for p in option("players")
               if p.get("enabled", False)][:n]
     sealhunter.new_game(pnames, SH_CONSOLE)
     self.done = True
示例#2
0
 def chooseplayer(self):
     sealhunter.new_game([self.selected], SH_CONSOLE)
     self.done = True