Hello,
I recently tried to run a python script with gui but it's not working. I have no gui. And I have no error. I run my script from a powershell in windows.
Here's the code :
from texasholdem.game.game import TexasHoldEm
from texasholdem.gui.text_gui import TextGUI
game = TexasHoldEm(buyin=500, big_blind=5, small_blind=2, max_players=6)
gui = TextGUI(game=game)
while game.is_game_running():
game.start_hand()
while game.is_hand_running():
gui.run_step()
path = game.export_history('./pgns') # save history
gui.replay_history(path)
My python version : 3.12.1
My texasholdem version : 0.10.0. I can't install the 0.11.0 version. pip doesn't find this version.
Hello, I recently tried to run a python script with gui but it's not working. I have no gui. And I have no error. I run my script from a powershell in windows. Here's the code :
My python version : 3.12.1 My texasholdem version : 0.10.0. I can't install the 0.11.0 version. pip doesn't find this version.