MCPcopy Create free account

hub / github.com/dickreuter/Poker / functions

Functions680 in github.com/dickreuter/Poker

↓ 75 callersMethodconnect
(self, url, user, passwd)
poker/vboxapi/__init__.py:966
↓ 36 callersFunctioninit_table
(file, round_number=0, strategy='Default1', table_scraper_name='Official GGPoker 6player')
poker/tests/__init__.py:28
↓ 31 callersMethodeval_best_hand
(self, hands)
poker/decisionmaker/montecarlo_python.py:52
↓ 30 callersMethodevaluate_hands
(self, pocket, board, oc)
poker/decisionmaker/outs_calculator.py:126
↓ 25 callersFunctionget_config
Public accessor for config file.
poker/tools/helper.py:94
↓ 24 callersFunctionget_dir
Retrieve path (for subpath use multiple arguments). 1. path from config file under Files section (relative to staging folder), or 2. 'c
poker/tools/helper.py:186
↓ 24 callersFunctionocr
get ocr of area of screenshot Args: screenshot: pil image image_area: area name table_dict: table dict playe
poker/tools/screen_operations.py:291
↓ 20 callersFunctionpop_up
(title, text, details=None, ok_cancel=False)
poker/scraper/table_setup_actions_and_signals.py:824
↓ 17 callersMethodpreflop_table_analyser
(self, t, h, p)
poker/decisionmaker/decisionmaker.py:278
↓ 17 callersMethodread_strategy
(self, strategy_override='')
poker/tools/strategy_handler.py:118
↓ 16 callersMethodclick
Click a mouse button n times on a given x, y. Button is defined as 1 = left, 2 = right, 3 = middle.
poker/pymouse/base.py:51
↓ 16 callersMethodtake_action
(self, x1, y1, x2, y2)
poker/tools/mouse_mover.py:219
↓ 14 callersMethod__init__
(self, t, h, p, l)
poker/decisionmaker/decisionmaker.py:32
↓ 14 callersFunctionis_template_in_search_area
(table_dict, screenshot, image_name, image_area, player=None, extended=False)
poker/tools/screen_operations.py:263
↓ 13 callersMethodget_table
get full table structure, pictures, cards and coordinates Args: table_name: str Returns: dict
poker/tools/mongo_manager.py:99
↓ 12 callersMethodget_utg_from_abs_pos
(self, abs_pos, dealer_pos)
poker/scraper/table.py:96
↓ 11 callersMethodplot
()
poker/decisionmaker/curvefitting.py:53
↓ 10 callersMethodcrop
(self)
poker/scraper/table_setup_actions_and_signals.py:541
↓ 10 callersMethodget_reverse_sheetname
(self, abs_pos, t, h)
poker/decisionmaker/current_hand_memory.py:74
↓ 10 callersFunctionhandleNavLinkClick
(label)
website/src/routes/NavBar.tsx:24
↓ 10 callersMethodupdate_values
(self, t, decision_str, h, d)
poker/decisionmaker/current_hand_memory.py:54
↓ 9 callersMethoddrawfigure
(self)
poker/gui/plots/curve_plot.py:21
↓ 8 callersMethodmodify_strategy
(self, elementName, change)
poker/tools/strategy_handler.py:195
↓ 8 callersMethodmove
(self, x, y)
poker/pymouse/x11.py:125
↓ 8 callersFunctionreverse_init
(t, h, p)
poker/tests/test_reverseTables.py:12
↓ 7 callersMethodcrop_from_top_left_corner
Crop top left corner based on the current selected table dict and replace self.screnshot with it
poker/scraper/table_scraper.py:37
↓ 7 callersMethodposition
(self)
poker/pymouse/x11.py:136
↓ 6 callersMethod__init__
(self)
poker/gui/gui_launcher.py:50
↓ 6 callersFunctiondisplay_manager
Traps *X* errors and raises an :class:``X11Error`` at the end if any error occurred. This handler also ensures that the :class:`Xlib.display.
poker/pymouse/x11.py:32
↓ 6 callersMethodget_rangecards_from_sheetname
(self, abs_pos, sheet_name, t, h, p)
poker/decisionmaker/current_hand_memory.py:131
↓ 5 callersFunctionComifyName
(name)
poker/vboxapi/__init__.py:216
↓ 5 callersMethoddelete
Delete an instancee of a singleton class.
poker/tools/helper.py:56
↓ 5 callersMethodget_game_number_on_screen
(self, h)
poker/scraper/table_screen_based.py:610
↓ 5 callersMethodget_table_owner
get owner of a table Args: table_name: str Returns: dict
poker/tools/mongo_manager.py:133
↓ 5 callersMethodget_two_short_notation
(self, input_cards, add_O_to_pairs=False)
poker/decisionmaker/montecarlo_python.py:25
↓ 5 callersMethodisIterable
(self, x)
poker/tools/game_logger.py:24
↓ 5 callersMethodmouse_move_vbox
(self, x, y, dz=0, dw=0)
poker/tools/vbox_manager.py:52
↓ 5 callersFunctiontake_screenshot
Take screenshot directly from screen or via virtualbox Args: virtual_box: bool Returns: PIL screenshot
poker/tools/screen_operations.py:154
↓ 5 callersMethodupdate_strategy_editor_graphs
(self, strategy_name)
poker/gui/action_and_signals.py:535
↓ 4 callersMethod__getattr__
(self, sAttrName)
poker/vboxapi/VirtualBox_constants.py:3227
↓ 4 callersMethod_update_preview_label
Update preview label with selected picture
poker/scraper/table_setup_actions_and_signals.py:652
↓ 4 callersMethodassess_bet
(self, p, L, decision, stage, coeff1, change)
poker/decisionmaker/genetic_algorithm.py:60
↓ 4 callersMethodassess_call
(self, p, L, decision, stage, coeff1, coeff2, coeff3, coeff4, change)
poker/decisionmaker/genetic_algorithm.py:38
↓ 4 callersFunctionfind_template_on_screen
Find template on screen
poker/tools/screen_operations.py:31
↓ 4 callersFunctiongetDefaultStrategy
()
website/src/components/strategy_editor/PreFlopStrategy.tsx:11
↓ 4 callersFunctionget_ocr_float
Return float value from image. -1.0f when OCR failed
poker/tools/screen_operations.py:64
↓ 4 callersFunctionget_table_template_image
Load template from mongodb as cv2 image
poker/tools/screen_operations.py:55
↓ 4 callersFunctiongoToLink
(link, paymentType)
website/src/views/Purchase.tsx:23
↓ 4 callersFunctionhandleBetSizeChange
(betType, value, hand, scenario)
website/src/components/strategy_editor/PreFlopStrategy.tsx:41
↓ 4 callersMethodis_my_turn
Check if it's my turn
poker/scraper/table_scraper.py:141
↓ 4 callersMethodload
(self)
poker/scraper/table_setup_actions_and_signals.py:689
↓ 4 callersMethodload_image
(self, label)
poker/scraper/table_setup_actions_and_signals.py:331
↓ 4 callersMethodload_topleft_corner
(self)
poker/scraper/table_setup_actions_and_signals.py:568
↓ 4 callersMethodmouse_action
(self, decision, topleftcorner, options=None)
poker/tools/mouse_mover.py:141
↓ 4 callersFunctionpredict
(pil_image, nn_model, mapping)
poker/scraper/table_scraper_nn.py:239
↓ 4 callersMethodrun_montecarlo
(self, logger, original_player_card_list, original_table_card_list, player_amount, ui, max_runs,
poker/decisionmaker/montecarlo_python.py:238
↓ 4 callersMethodsave_image
(self, label)
poker/scraper/table_setup_actions_and_signals.py:308
↓ 4 callersMethodstop
(self)
poker/pymouse/x11.py:196
↓ 4 callersFunctiontranslate_button_code
(button)
poker/pymouse/x11.py:63
↓ 4 callersMethodupdate_file
write back to the config file
poker/tools/helper.py:87
↓ 4 callersMethodupdate_lines
(self, power1, power2, minEquityCall, minEquityBet, smallBlind, bigBlind, maxValue, maxvalue_bet,
poker/gui/plots/curve_plot.py:47
↓ 4 callersMethodupdate_strategy_analyser
(self, l, p)
poker/gui/action_and_signals.py:424
↓ 3 callersMethod__init__
(self, aoParams)
poker/vboxapi/__init__.py:262
↓ 3 callersMethodbluff
(self, t, p, h)
poker/decisionmaker/decisionmaker.py:434
↓ 3 callersMethodcalc_score
(self, hand)
poker/decisionmaker/outs_calculator.py:28
↓ 3 callersMethodcard_to_num
(self, card)
poker/decisionmaker/montecarlo_numpy2.py:21
↓ 3 callersMethodcheck_board_flush
(self)
poker/decisionmaker/outs_calculator.py:316
↓ 3 callersFunctioncheck_cropping
Checks if screenshots are cropped and match the template 'icon
poker/tools/screen_operations.py:191
↓ 3 callersMethodcheck_straight
(self, hand_list, ghost_card, straight_outs)
poker/decisionmaker/outs_calculator.py:291
↓ 3 callersFunctioncrop_screenshot_with_topleft_corner
(original_screenshot, topleft_corner, useSleep = True)
poker/tools/screen_operations.py:214
↓ 3 callersFunctiongetBackgroundColor
(value)
website/src/components/strategy_editor/PreFlopStrategy.tsx:6
↓ 3 callersMethodget_call_value
Read the call value from the call button
poker/scraper/table_scraper.py:243
↓ 3 callersMethodget_current_bet_value
(self, p)
poker/scraper/table_screen_based.py:493
↓ 3 callersMethodget_dealer_position2
Determines position of dealer, where 0=myself, continous counter clockwise
poker/scraper/table_scraper.py:125
↓ 3 callersMethodget_game_count
(self, strategy, my_computer_only=False)
poker/tools/game_logger.py:176
↓ 3 callersMethodget_my_cards2
Get my cards
poker/scraper/table_scraper.py:59
↓ 3 callersMethodget_my_funds
(self, h, p)
poker/scraper/table_screen_based.py:452
↓ 3 callersFunctionget_ocr_number2
New OCR based on tesserocr rather than pytesseract, should be much faster
poker/tools/screen_operations.py:105
↓ 3 callersMethodget_playable_strategy_list
(self)
poker/tools/strategy_handler.py:24
↓ 3 callersMethodget_players_funds
Get funds of players Returns: list of floats
poker/scraper/table_scraper.py:165
↓ 3 callersMethodget_players_in_game
Get players in the game by checking for covered cards. Return: list of ints
poker/scraper/table_scraper.py:148
↓ 3 callersMethodget_pots
Get current and total pot
poker/scraper/table_scraper.py:190
↓ 3 callersMethodget_raise_value
Read the value of the raise button
poker/scraper/table_scraper.py:252
↓ 3 callersMethodget_screenshot_vbox
(self)
poker/tools/vbox_manager.py:43
↓ 3 callersMethodget_strategy_return
(self, strategy, days, my_computer_only=False)
poker/tools/game_logger.py:183
↓ 3 callersMethodget_table_cards2
Get the cards on the table
poker/scraper/table_scraper.py:110
↓ 3 callersMethodhas_all_in_call_button
Check if all in call button is present
poker/scraper/table_scraper.py:238
↓ 3 callersMethodhas_call_button
Chek if call button is visible
poker/scraper/table_scraper.py:210
↓ 3 callersMethodhas_raise_button
Check if raise button is present
poker/scraper/table_scraper.py:217
↓ 3 callersMethodload_table_nn_weights
(self, table_name: str)
poker/tools/mongo_manager.py:79
↓ 3 callersMethodlost_everything
Check if lost everything has occurred
poker/scraper/table_scraper.py:44
↓ 3 callersMethodmove
(self, x, y)
poker/pymouse/unix.py:42
↓ 3 callersMethodmove
(self, x, y)
poker/pymouse/windows.py:70
↓ 3 callersMethodsave_coordinates
(self, label, player=None)
poker/scraper/table_setup_actions_and_signals.py:415
↓ 3 callersMethodstrategy_analyser_update_plots
(self, l, p)
poker/gui/action_and_signals.py:441
↓ 3 callersMethodupdate_ui_with_screenshot_amount
(self, amount)
poker/scraper/table_setup_actions_and_signals.py:535
↓ 3 callersFunctionwrite
(data)
poker/vboxapi/__init__.py:56
↓ 2 callersFunctionadjust_colors
(a, tol=120)
poker/scraper/table_scraper_nn.py:31
↓ 2 callersFunctionbinary_pil_to_cv2
(img)
poker/tools/screen_operations.py:235
↓ 2 callersMethodcheck_for_allincall
(self)
poker/scraper/table_screen_based.py:147
next →1–100 of 680, ranked by callers