Python Poker Terminal Game Project

This project is to create a terminal program on python for as part of my Portfolio Project: Python Terminal Game project.

One reason for making this was that I wanted to see how the math works in ranking poker hands. I wrote code to determine the hand rankings based on the highest frequency numbered cards (Including the second highest frequency numbered card involving Two Pair or a Full House), or if the hand is a Straight (sequentially numbered cards), or a Flush (all the same suit).

Another reason for making this was to try to make “Computer AI” to replace their cards for better hand rankings, and set probabilities of actions in poker (Such as Folding, Betting, Raising, Calling, and Checking), based on their current hand. There is no concept of money involved in the program, you can freely do the poker actions above.

Here is a screenshot of the program:

In conclusion, I had fun making this. I have used to program in python before, so making this was not too difficult. There were some game logic errors I had to fix and python-related errors (Such as misnaming class fields or using type objects improperly) throughout the program. Regardless, fixing the errors was also part of the fun.

The github link: GitHub - CornSnek/python_poker

Looking fine, i will try that.

Exploring poker hand rankings and implementing AI for decision-making sounds like a solid challenge.

Seems like an interesting project. Exploring poker hand rankings and implementing AI for decision-making sounds like a solid challenge. I’ve worked with Python and explored game development for a while now, and I’ve had some of my own fun.

Right now I just haven’t been working on it so much because I’m stuck into this website that has online games, and you can make money off of them, if you are interested you can check them out at olx88 login, but I can tell you that it’s addicting.

That sounds really interesting!

Your Python Poker Terminal Game Project sounds interesting! I think it’s awesome that you’re taking on a project like this—it’s a fun way to learn Python, and poker is always a good time. Python is a solid choice for beginners because it’s straightforward and powerful.