예제 #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())
예제 #2
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())
예제 #3
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())
예제 #4
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())