jeffeharris / my-poker-face

A poker game with LLMs where you can define who you are playing against and have a conversation with them while you play.
2 stars 0 forks source link

my-poker-face

A poker game with LLMs where you can define who you are playing against and have a conversation with them while you play.

tech stack

My Poker Face uses Python, Flask, HTML, and JavaScript to host a web-based browser game

run the game locally

optional: create a venv to run the game

python -m venv my_poker_face_venv

source my_poker_face_venv/bin/activate

pip install -r requirements.txt

set up your .env file

Create a local .env file and add your OPENAI_API_KEY to it. This will be enabled to use the AI PLayers and Assistants.

Once the environment is configured and requirements installed you can run the application in either the Console or as a Flask web app

run the console app locally:

python -m console_app.console_app

run the Flask app locally:

python -m flask_app.flask_app

And now you can access the local web app by going to http://127.0.0.1:5000