Skip to content

MgMap/PokerAnalysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Poker Analysis Program

Overview

The Poker Analysis Program is a sophisticated tool designed to analyze poker hands and calculate the probabilities of various hand rankings. Developed using C++ and integrated with the SFML (Simple and Fast Multimedia Library) for graphical user interface (GUI), this program provides insights into the statistical likelihood of different poker hands, with a special focus on the coveted Royal Flush.

Features

  • Hand Analysis: Analyze poker hands to determine their rank and potential.
  • Probability Calculation: Calculate the probability of obtaining different hand rankings based on the number of simulations.
  • User-friendly Interface: The graphical user interface built with SFML ensures easy interaction and visualization of results.
  • Royal Flush Detection: Continuously runs simulations until a Royal Flush is achieved, providing statistical data along the way.
  • Detailed Statistics: Obtain detailed statistics on the frequency of each hand type encountered during simulations.

Installation

  1. Clone the repository from GitHub.
  2. Ensure you have C++ compiler installed on your system.
  3. Install SFML library following the instructions on their official website.
  4. Build the project using your preferred IDE or compile using command line tools.

Usage

  1. Launch the Poker Analysis Program.
  2. Configure simulation parameters such as the number of decks, players, and simulation iterations.
  3. Start the simulation to analyze poker hands.
  4. Monitor the progress until a Royal Flush is achieved.
  5. Review the statistical data and probabilities of different hand rankings.
  6. Customize settings and run additional simulations as needed.

Demo

Poker Analysis Program Demo
A link to how it works. https://youtu.be/oH2hz7r4S0c A link explaining the code. https://youtu.be/QMxY61YZSvE

Contributing

Contributions are welcome! If you have suggestions or want to contribute to the project, please follow these steps:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature/improvement).
  3. Make your changes.
  4. Commit your changes (git commit -am 'Add new feature').
  5. Push to the branch (git push origin feature/improvement).
  6. Create a pull request.

About

Project containing C++ and sfml. This project analysis the probability of card hands in Poker.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors