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=FirstCallPolicyImpl(),
                          tuoguanPolicy=TuoguanPolicyDefault(),
                          buyinPolicy=DefaultBuyinPolicy(),
                          autoChupaiPolicy=AutoChupaiPolicyDefault(),
                          settlementPolicy=DefaultSettlementPolicy())
Exemplo n.º 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())
Exemplo n.º 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())
Exemplo n.º 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())
Exemplo n.º 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())
Exemplo n.º 6
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.º 7
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(),
     )