コード例 #1
0
ファイル: dragon_heart.py プロジェクト: neuront/sgs
def hint_d(game_control, player):
    return hints.one_card_filter(game_control, player, SKILL,
                                 lambda c: category.is_slash(c.name()))
コード例 #2
0
ファイル: dragon_heart.py プロジェクト: neuront/sgs
def hint_s(game_control, player):
    return hints.one_card_filter(game_control, player, SKILL,
                                 lambda c: c.name() == 'dodge')
コード例 #3
0
ファイル: player_response.py プロジェクト: neuront/sgs
 def hint(self, gc, player):
     return hint_common.one_card_filter(gc, player, self.name,
                                        lambda c: c.name() == self.name)
コード例 #4
0
ファイル: player_response.py プロジェクト: neuront/sgs
 def hint(self, gc, player):
     return hint_common.one_card_filter(gc, player, self.name,
                                        lambda c: self.category(c.name()))
コード例 #5
0
ファイル: martial_saint.py プロジェクト: neuront/sgs
def hint_r(gc, player):
    return hints.one_card_filter(gc, player, SKILL,
                                 lambda c: c.color() == card.RED)