Skip to content

4rapid/SpecialKEval

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SpecialKEval

SpecialKEval is a lightweight 32-bit Texas Hold'em 5- and 7-card hand evaluator written in C++.

Travis status

Build Status

Build instructions

From the root directory of the project execute:

./configure && cmake . && make && ctest

This will build the library and run unit tests.

Example

#include <iostream>
#include "SevenEval.h"

int main() {
  SevenEval const eval;
  // Get the rank of the seven-card spade flush, ace high.
  std::cout << eval.GetRank(0, 4, 8, 12, 16, 20, 24) << std::endl;
  return 0;
}

About

7-card Texas Hold'em hand evaluator

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 85.3%
  • Shell 9.0%
  • Python 5.0%
  • Other 0.7%