This project is a pre-flop odds calculator for the game of Texas Hold'em, which calculates the pre-flop probabilities for different card hands.
- Calculates pre-flop odds for card hands
- Simple and intuitive interface for inputting card hands
- Displays probabilities for different hands and number of players
- Provides strategic instructions
- Developed in C++ with a graphical interface using Qt
- Clone this repository:
git clone https://github.com/silviu-dev/PokerOddsCalculator.git- Navigate to the project directory:
cd PokerOddsCalculator- Build and run the project using build.sh script:
./build.sh- Launch the application either by executing the build.sh script or by running the binary located in the build folder
- Input the card hands for each player by selecting the cards from the graphical interface. You can change your mind anytime by clicking again on selected cards
- The application provides strategic instructions based on the calculated odds.
- The odds are automatically calculated and displayed on the right side of the screen below the strategic information.
- By default, the application calculates odds for two players.
- To calculate odds for more than two players, use the arrows up or down. (The number of opponents is represented by the number of pairs of cards turned over on the screen.)
To reset the current session press space
- Qt 6.x
- cmake 3.14 or newer
- A C++ compiler compatible with Qt
Contributions are welcome! If you'd like to contribute to this project, you can fork it and then submit a pull request with your improvements.
This project is licensed under the GNU Lesser General Public License v3.0. See the LICENSE file for details.

