Beispiel #1
0
                discards.move_cards(aShoe, len(discards.cards))
            pickle.dump(aShoe, shoe_file)
    except IOError as err:
        print('Problem writing shoe. File error: ' + str(err))

if __name__ == '__main__':
    walk = 0
    walkHistory = []
    scorecard = []
    
    gameShoe, discards = prepareShoe()
    burn_top_cards(gameShoe, discards)

    bfb = Player.BankerFlatBettor() 
    pfb = Player.PlayerFlatBettor()
    b2b = Player.Banker2of5Bettor()
    p2b = Player.Player2of5Bettor()
    w2b = Player.Walk2of5Bettor()
    bw1 = Player.BankerWinUp1Bettor()
    pw1 = Player.PlayerWinUp1Bettor()
    rw1 = Player.PatternWinUp1Bettor()
    s2b = Player.Stake2of5Bettor()
    pt2b = Player.Pattern2of5Bettor()
    r2b = Player.Repeat2of5Bettor()
    players = [w2b, r2b, s2b, pt2b, bw1, pw1, b2b, p2b]

    file = open('data.out', 'a')
    file.seek(0,2)

#----------- Main Game Loop ------------#