Skip to content

PRB-R-NINE-T/pokerBets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pokerBets

A user-intuitive game where players can bet on multiple hands of poker at different stage of the game.

If you don't know how to use a tkinter file:

  • Clone the repo into your desktop.
  • Install the packages that are in the requirements.txt. Google how to install python packages if you don't know how.
  • Open the gui-final.py file and run it.

FYI: users - the human playing the game - most likely you

players - the two players in the table

  • The flow of the game:
  1. Betting round 1: The cards are hidden and users can bet on either player (there are two players on the table). The odds initially are 1 to 1.
  2. Betting round 2: The hole cards are dealt and the odds are shown. Odds are approximate at this point because of the amount of time brute forcing 48C5 combination takes. (If you want to see why it is an approximate, go to the preFlopChecker.py file and read the comment.)
  3. Betting round 3: The flop is shown and users can bet again on players. Odds are precise at this point but modified slightly from the original odds. It is the users' job to identify this discrepancy. Bet for inflated odds and against deflated odds. ... After the river, the cards are shown and the result is displayed.

Other challenges:

  • Can you write more efficient ways to check the rank of the cards? I used an algorithm that scores the cards. Maybe there is a better technique.
  • How would you organize the main gui class if you wrote it from the scratch? I crammed everything under a single class and the instances are quite packed.

Let me know how the design of the program is. It is simple and beautiful in my opinion. Open the screenshots below in a new tab for better visibility. image image image image image

About

A user-intuitive game where players can bet on multiple hands of poker at different stage of the game.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages