Exemplo n.º 1
0
 def __init__(self):
     super(DDZDealerQuickLaizi,
           self).__init__(sm=SM_LAIZI,
                          playMode=PLAY_MODE_QUICKLAIZI,
                          jiabeiMode=JiabeiMode.AFTER_FLIP_BASE_CARD,
                          roundIdGenPolicy=RoundIdGenRedis(),
                          callPolicy=CallPolicyLaizi(),
                          sendCardsPolicy=CardDizhuQuickLaiZi(),
                          firstCallPolicy=GroupMatchFirstCallPolicyImpl(),
                          tuoguanPolicy=TuoguanPolicyDefault(),
                          buyinPolicy=None,
                          autoChupaiPolicy=AutoChupaiPolicyDefault(),
                          settlementPolicy=SettlementPolicyMatch())
Exemplo n.º 2
0
 def __init__(self):
     super(DDZDealerErdaiyiMatch, self).__init__(
         sm=SM_NORMAL,
         playMode=PLAYMODE_ERDAYI,
         jiabeiMode=JiabeiMode.BEFORE_FLIP_BASE_CARD,
         roundIdGenPolicy=RoundIdGenRedis(),
         callPolicy=CallPolicyErdayi(),
         sendCardsPolicy=SendCardPolicyErdayi(),
         firstCallPolicy=FirstCallPolicyErdayi(),
         tuoguanPolicy=TuoguanPolicyErdayi(),
         buyinPolicy=None,
         autoChupaiPolicy=AutoChupaiPolicyDefault(),
         settlementPolicy=SettlementPolicyMatch(),
     )
Exemplo n.º 3
0
 def __init__(self):
     super(DDZDealerNormalHappy, self).__init__(
         sm=SM_NORMAL,
         playMode=PLAY_MODE_NORMAL_HAPPY,
         jiabeiMode=JiabeiMode.AFTER_FLIP_BASE_CARD,
         roundIdGenPolicy=RoundIdGenRedis(),
         callPolicy=CallPolicyHappy3Player(),
         sendCardsPolicy=SendCardsPolicy3PlayerDefault(),
         firstCallPolicy=FirstCallPolicyRandom(),
         tuoguanPolicy=TuoguanPolicyDefault(),
         buyinPolicy=None,
         autoChupaiPolicy=AutoChupaiPolicyDefault(),
         settlementPolicy=SettlementPolicyMatch(),
     )
Exemplo n.º 4
0
 def __init__(self):
     super(DDZDealerNormalClassic, self).__init__(
         sm=SM_NORMAL,
         playMode=PLAY_MODE_NORMAL_CLASSIC,
         jiabeiMode=JiabeiMode.AFTER_FLIP_BASE_CARD,
         roundIdGenPolicy=RoundIdGenRedis(),
         callPolicy=CallPolicyClassic3Player(),
         sendCardsPolicy=SendCardsPolicy3PlayerChampionLimit(),
         firstCallPolicy=GroupMatchFirstCallPolicyImpl(),
         tuoguanPolicy=TuoguanPolicyDefault(),
         buyinPolicy=None,
         autoChupaiPolicy=AutoChupaiPolicyDefault(),
         settlementPolicy=SettlementPolicyMatch(),
     )