Lucas Colas
Lucas Colas
Good. Thank you.
I don't know how to how to fix that : `texasholdem/game/game.py:1279:4: R0912: Too many branches (16/12) (too-many-branches)` I tried to fix that with several solutions. But it's still here.
Another thing I don't understand is about test. I have tests that fail related to `game._deck`. Sometimes `_deck` is `NoneType`. But I don't understand why.
Yes, We can use `deck` I think.
I don't understand. Whever I run `poetry run black .` all files are left unchanged.
Everything is good for `pytest`, `pylint` and `black`.
Ok, I tried to copy every attribute but there's still some issues. The issues are often related to the generators.
Hello, I tried another way to make a copy. I copy the cards of each board. However I have an issue when there's an evaluation. ```prime_product_from_rankbits``` gives a number that...
I tried to do a copy using hand_history. Here is my code (taken from the ```_import_history(history: History)``` method) : ```py num_players = len(history.prehand.player_chips) game = TexasHoldEm( buyin=1, big_blind=history.prehand.big_blind, small_blind=history.prehand.small_blind, max_players=num_players,...
I think this issue is related to ```_prehand``` method (from TexasHoldem). "Because" of this : ```py self.btn_loc = active_players[0] self.sb_loc = active_players[1] # heads up edge case => sb =...