Skip to content
/ poker Public
forked from JankoDedic/poker

Poker game model written in C++

License

Notifications You must be signed in to change notification settings

douxsh/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++

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 98.8%
  • CMake 1.2%