Skip to content

rakhimov/nit

Repository files navigation

Nit

Travis-CI Appveyor-CI Coverity Scan Build Status codecov

Nit is a PokerStove fork aimed at rejuvenating the project. The name "nit" is chosen because it is short (like "git") and is a derogatory (like "git") poker term for hyper-tight-passive players who only play premium starting hands.

PokerStove is a highly hand optimized C++ poker hand evaluation library. The Win32 Hold'em GUI was first released in 2002, and has been available as freeware since it's first release.

The core libraries of pokerstove are being open sourced. The project is currently in the process of reviewing and publishing the code. As code is reviewed and code sanitized further commits will be added.

Libraries

nit/eval

This is a c++ poker hand evaluation library. The main design goals of the library are generality, extensibility, and ease of use. There are evaluators for fourteen variants of poker. Additionally, there are various card manipulation and query tools built into the CardSet class.

Programs

nit-eval

A tool for poker hand evaluation. It demonstrates how to use the nit/eval library, and to create evaluators for the different variants of poker.

nit-colex

A utility for viewing colexicographical index for sets of cards.

Building

The nit comes with build scripts for cmake. This should allow you to build it on any platform with minimal tweaking.

In order to build the libraries, you'll need the following installed on your platform of choice:

  • C++11 compliant compiler: gcc (>=4.8), clang (>=3.3), msvc (>=2015)
  • boost, version 1.46 or higher
  • cmake, version 3.1 or higher
  • Python (optional), version 2.7+ or 3.3+

Linux

To install the dependencies with apt get:

apt-get install libboost-all-dev cmake

To build under linux using cmake, create a build directory, invoke cmake in the build directory, then build.

git clone --recursive https://github.com/rakhimov/nit
mkdir nit/build
cd nit/build
cmake -DCMAKE_BUILD_TYPE=Release ..
make

macOS

To install the dependencies with homebrew:

brew install cmake boost

The building instructions are the same as for Linux

Releases

No releases published

Packages

No packages published

Languages