Skip to content

JankoDedic/poker

Repository files navigation

poker

Build Status Build status GitHub license

Introduction

This component provides a fully functional No-Limit Hold'em poker model with hand evaluation. API is not stable. Support for other games is planned and in development.

Usage

A normal use case of playing a game with user input should look something like this:

auto dealer = poker::dealer(players, button, blinds, deck, community_cards);
dealer.start_hand();
while (not dealer.done()) {
    while (not dealer.betting_round_over())
        dealer.action_taken(get_user_action());
    dealer.end_betting_round();
}
dealer.showdown();

About

Poker game model written in C++

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published