Hunter Trautz and Gabriel Aponte
- Download the source code from Github and unzip the folder.
- Open the PokerAI_TermProject-master folder in PyCharm by clicking File -> Open and then selecting the folder.
- Ensure that the project interpreter is set to Python 3.7 in File -> Settings -> Project: PokerAI_TermProject-master -> Project Interpreter
- Also in Project Interpreter Settings, install the PyPokerEngine and PyPokerGUI packages by clicking the "+" button.
- PyPokerGUI has an exisiting bug that does not allow it to run with Python 3.7, so we have to now edit one file so that our project can run.
- Navigate to venv/python3.7/lib/site-packages/pypokergui/server/templates/round_state.html
- Under the "seats-upper-row row-center" div replace "{% for idx, player in zip(range(len(round_state['seats']))[:len(round_state['seats'])/2], round_state['seats']) %}" with "{% for idx, player in zip(range(len(round_state['seats']))[:int(len(round_state['seats'])/2)], round_state['seats']) %}"
- Lastly, under the "seats-lower row row-center" div replace "{% for idx, player in zip(range(len(round_state['seats']))[len(round_state['seats'])/2:], round_state['seats'][len(round_state['seats'])/2:]) %}" with "{% for idx, player in zip(range(len(round_state['seats']))[int(len(round_state['seats'])/2):], round_state['seats'][int(len(round_state['seats'])/2):]) %}"
- After completing all of the installation steps, open the Terminal inside of PyCharm located in the bottom left corner.
- Type: "pypokergui serve poker_conf.yaml --port 8000 --speed moderate" and then press enter.
- The program will open in your default browser.
- Enter your name in the "Register Me" textbox and then press register.
- Press "Start Poker".


