An AI integrated poker capstone project written with Python, using pygame and pygame_gui
Created by Jacob Penman, Jonah Brawley, Dylan Lau, and Jeremiah Oh for CSC412 at California Baptist University
xtcards (aka Kingdom Cards) is a digital Texas Hold 'Em style poker game that integrates a custom trained poker AI as well as image recognition in order to demonstrate the capabilities and viability of a digital poker game that is playable with real cards
The goal of the Christian integration is to provide a more positive impact and have healthier implications than traditional poker. Additionally, in order to play the game you must use a deck of standard Bicycle playing cards, as this is what our image recognition model was trained off of in order to achieve a high 99.9% accuracy.
- Clone project
- Run
pip install -r requirements.txt
to install dependencies needed - Play by running
main.py
Disable image detection by running python main.py --debug-tf=true
. This is only useful if you are making modifications
to the game and would like faster loading times.
- If new dependencies are added or removed, use
pipreqs --force [PATH TO XTCARDS HERE]
to automatically updaterequirements.txt
- Tip: if you are located inside your xtcards folder, use
pipreqs --force .
(period means current directory)