Poker game made for CIS4390
Project description
GatorHoldEm
Github Repo: https://github.com/y0sh12/GatorHoldEm
Description: GatorHoldEm is a desktop poker application which allows users to play one another or with an Artificial Intelligence robot. In order to play, users just have to open the application and play on a room of their choice. The first person to join a room becomes the 'VIP' and has the ability to add and remove players and AI bots as well as start the game. In order to start the game, you must have atleast two people in the room (including AI bots) and a maximum of 6 people. Once in the game, use the start game button to start the game. At the end of the game you will be returned to the main menu.
Artificial Intelligence Implementation:
- The AI bots in this game are programmed to make a calculated choice depending on its own hand of cards.
- It uses the Two Plus Two evaluator which consists of a large lookup table containing some thirty-two million entries (32,487,834 to be precise).
- It considers all possible 7 card hands that can be held by the other players to determine its own hand strength which is turn used to perform a Call, Fold or Raise.
- It also includes a method of decision when it comes to the bluffing of certain actions.
- A game cannot be played with ONLY two AI bots playing against each other.
Installation:
-
Use
pip install GatorHoldEm
to install the library dependencies -
Run the command
gatorholdemserver
to start the server. -
Run the command
gatorholdem
to run a client*. -
If you want to play with multiple real players, run
gatorholdem
in another terminal to start a new client.*If using WSL, you will need an X server to support graphical display
Members of the group:
-
Yaswanth Potluri
-
Azharullah Baig
-
Sean O'Reilly
-
Bharat Samineni
-
Adriel Mohammed
CONTRIBUTIONS:
- Backend Game Logic (Bharat and Adriel)
- Server and Client creation and communication (Yaswanth)
- AI Bot (Sean and Bharat)
- Front end UI (Sean, Azhar and Adriel) (Important Note)
- Sean and Bharat have worked together on the Visual Studio Code's LiveShare for the AI, which is a tool platform that lets multiple individuals work together on the same code simulataneously. Therefore, most of the commits of Bharat's git is a reflection of both Bharat AND Sean's work. Please consider this when evaluating the contributions.
CITED SOURCES:
https://github.com/chenosaurus/poker-evaluator/blob/master/lib/PokerEvaluator.js (For the AI)
https://github.com/christophschmalhofer/poker/blob/master/XPokerEval/XPokerEval.TwoPlusTwo/HandRanks.dat (For the AI)
https://en.wikipedia.org/wiki/Poker_Effective_Hand_Strength_(EHS)_algorithm (For the AI)
https://www.codingthewheel.com/archives/poker-hand-evaluator-roundup/#2p2 (For the AI)
Attributions for Art: wordart.com, Chips image(poker_chips.png) from vector stock Poker Chip (tablebet.png) by Linh Nguyen from the Noun Project
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file GatorHoldEm-2.1.tar.gz
.
File metadata
- Download URL: GatorHoldEm-2.1.tar.gz
- Upload date:
- Size: 29.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ffc01a0e4ef5d41f6cb0be73d93382e91fafca22b24d4495e7d2e2cc2dbf49ec |
|
MD5 | df91a40f0dd4c69b1baffe85edcdad01 |
|
BLAKE2b-256 | edcb97b77376d5db141e3da7fa8494a497c322392961c33896c18a4a0b0f01f4 |
File details
Details for the file GatorHoldEm-2.1-py3-none-any.whl
.
File metadata
- Download URL: GatorHoldEm-2.1-py3-none-any.whl
- Upload date:
- Size: 29.0 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0af95566736bf94867d2318796226db74c5df891193e933b19a91c963845f048 |
|
MD5 | 61383e04624cfdc0cf7403c86cc1de79 |
|
BLAKE2b-256 | 67080b7986009a57535952bcf92086ed8119049845855d12821aab2271da2ac8 |