Skip to content

PokerAI is a poker artificial intelligence that uses machine learning to predict the next drawn/hands cards and calculate odds and possible hands.

License

Notifications You must be signed in to change notification settings

CorvusCodex/PokerAI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PokerAI

PokerAI is a poker artificial intelligence that uses machine learning to predict the next drawn cards/hands and print calculated odds based on cards currently in hand and on the table.

For people without technical experience you can buy the pretrained on 1m of simulated games compiled standalone application for windows with Easy and Fast Graphical interface from here:

https://www.buymeacoffee.com/corvuscodex/e/216605

Support my work for month or year so i can continue to work on my projects:

https://www.buymeacoffee.com/corvuscodex/membership

Installation

To install PokerAI, you will need to have Python 3.x and the following libraries installed:

  • numpy
  • tensorflow
  • keras
  • tkinter
  • PIL

You can install these libraries using pip by running the following command:

'''pip install numpy tensorflow keras tkinter pillow'''

Usage

To use pokerAI start the script by running '''python pokerai.py''' , wait to training to finish and than add poker cards in hand first and then on the table in format 2 oh hearts, k of spades etc comma separated.

Support my work:
BTC: bc1q7wth254atug2p4v9j3krk9kauc0ehys2u8tgg3
ETH & BNB: 0x68B6D33Ad1A3e0aFaDA60d6ADf8594601BE492F0
Buy me a coffee: https://www.buymeacoffee.com/CorvusCodex

Buy me some equipment (To develop more powerfull versions and to develop standalone versions for MacOS):

https://www.buymeacoffee.com/corvuscodex/wishlist

Disclaimer

The code within this repository comes with no guarantee, the use of this code is your responsibility. I take NO responsibility and/or liability for how you choose to use any of the source code available here. By using any of the files available in this repository, you understand that you are AGREEING TO USE AT YOUR OWN RISK. Once again, ALL files available here are for EDUCATION and/or RESEARCH purposes ONLY. Please keep in mind that while PokarAI.py uses advanced machine learning techniques to predict next poker card and hand, there is no guarantee that its predictions will be ever accurate. Poker draws results are inherently random and unpredictable, so it is important to use PokerAI responsibly and not rely solely on its predictions.

MIT License

Copyright (c) 2024 CorvusCodex

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.