コード例 #1
0
ファイル: postflop.py プロジェクト: thisispoker/screenshot
def action_after_cc_postflop(screen_area, deck, x_coordinate, y_coordinate, width, height, image_path, stack_collection,
                             db):
    try:
        if check_is_river(screen_area, deck, stack_collection, db): return
        if check_is_turn(screen_area, deck, stack_collection, db): return
        if introduction.check_is_fold(screen_area, x_coordinate, y_coordinate, width, height, image_path, db): return
        if get_opponent_flop_reaction(screen_area, stack_collection, db): return
    except Exception as e:
        error_log.error_log('action_after_cc_postflop', str(e))
        print(e)
コード例 #2
0
ファイル: postflop.py プロジェクト: ctac1412/screenshot
def action_after_cbet(x_coordinate, y_coordinate, width, height, image_path,
                      screen_area, deck, stack_collection, db):
    try:
        if introduction.check_is_fold(screen_area, x_coordinate, y_coordinate,
                                      width, height, image_path, db):
            return
        if check_is_turn(screen_area, deck, stack_collection, db): return
        current_stack.get_actual_game_data(screen_area, stack_collection, db)
        if check_is_raise_cbet(screen_area, stack_collection, db): return
    except Exception as e:
        error_log.error_log('action_after_cbet', str(e))
        print(e)
コード例 #3
0
ファイル: postflop.py プロジェクト: ctac1412/screenshot
def action_after_value_bet(screen_area, x_coordinate, y_coordinate, width,
                           height, image_path, db):
    if introduction.check_is_fold(screen_area, x_coordinate, y_coordinate,
                                  width, height, image_path, db):
        return
    if check_is_raise_river_value_bet(screen_area, db): return
コード例 #4
0
ファイル: postflop.py プロジェクト: thisispoker/screenshot
def action_after_turn_cbet(x_coordinate, y_coordinate, width, height, image_path, screen_area, deck, stack_collection,
                           db):
    if introduction.check_is_fold(screen_area, x_coordinate, y_coordinate, width, height, image_path, db): return
    if check_is_river(screen_area, deck, stack_collection, db): return
    if check_is_raise_cbet(screen_area, stack_collection, db): return