Exemple #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=FirstCallPolicyImpl(),
                          tuoguanPolicy=TuoguanPolicyDefault(),
                          buyinPolicy=DefaultBuyinPolicy(),
                          autoChupaiPolicy=AutoChupaiPolicyDefault(),
                          settlementPolicy=DefaultSettlementPolicy())
Exemple #2
0
 def __init__(self):
     super(DDZDealerErdou,
           self).__init__(sm=SM_NORMAL,
                          playMode=PLAY_MODE_ERDOU,
                          jiabeiMode=JiabeiMode.AFTER_FLIP_BASE_CARD,
                          roundIdGenPolicy=RoundIdGenRedis(),
                          callPolicy=CallPolicyErdou(),
                          sendCardsPolicy=SendCardsPolicyErdou(),
                          firstCallPolicy=FirstCallPolicyImpl(),
                          tuoguanPolicy=TuoguanPolicyDefault(),
                          buyinPolicy=DefaultBuyinPolicy(),
                          autoChupaiPolicy=AutoChupaiPolicyDefault(),
                          settlementPolicy=DefaultSettlementPolicy())
Exemple #3
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=SendCardsPolicy3PlayerDefault(),
                          firstCallPolicy=FirstCallPolicyImpl(),
                          tuoguanPolicy=TuoguanPolicyDefault(),
                          buyinPolicy=DefaultBuyinPolicy(),
                          autoChupaiPolicy=AutoChupaiPolicyDefault(),
                          settlementPolicy=DefaultSettlementPolicy())
Exemple #4
0
 def __init__(self):
     super(DDZDealerLaizi,
           self).__init__(sm=SM_LAIZI,
                          playMode=PLAY_MODE_LAIZI,
                          jiabeiMode=JiabeiMode.AFTER_FLIP_BASE_CARD,
                          roundIdGenPolicy=RoundIdGenRedis(),
                          callPolicy=CallPolicyLaizi(),
                          sendCardsPolicy=SendCardsPolicy3PlayerDefault(),
                          firstCallPolicy=FirstCallPolicyRandom(),
                          tuoguanPolicy=TuoguanPolicyDefault(),
                          buyinPolicy=BuyinPolicyFriend(),
                          autoChupaiPolicy=AutoChupaiPolicyDefault(),
                          settlementPolicy=SettlementPolicyFriendTable())
Exemple #5
0
 def __init__(self):
     super(DDZDealerMixHappy,
           self).__init__(sm=SM_NORMAL,
                          playMode=PLAY_MODE_NORMAL_HAPPY,
                          jiabeiMode=JiabeiMode.AFTER_FLIP_BASE_CARD,
                          roundIdGenPolicy=RoundIdGenRedis(),
                          callPolicy=CallPolicyHappy3Player(),
                          sendCardsPolicy=SendCardsPolicy3PlayerDefault(),
                          firstCallPolicy=FirstCallPolicyImpl(),
                          tuoguanPolicy=TuoguanPolicyDefault(),
                          buyinPolicy=BuyinPolicyMix(),
                          autoChupaiPolicy=AutoChupaiPolicyDefault(),
                          settlementPolicy=SettlementPolicyMix())
Exemple #6
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=SendCardsPolicy3PlayerChampionLimit(),
         firstCallPolicy=GroupMatchFirstCallPolicyImpl(),
         tuoguanPolicy=TuoguanPolicyDefault(),
         buyinPolicy=None,
         autoChupaiPolicy=AutoChupaiPolicyDefault(),
         settlementPolicy=SettlementPolicyMatch(),
     )