Skip to content

travisstaloch/PokerHandEvaluator.cs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PokerHandEvaluator.cs

A port of HenryRLee/PokerHandEvaluator from c++ to c#

Usage

Have a look in the pheval.Tests folder.

Testing

In monodevelop or visual studio, select the pheval.Tests project and choose Run -> 'Run Unit Tests'. The tests depend on the presence of libpheval.so (or .dll). This shared object was created as follows:

$ git clone https://github.com/HenryRLee/PokerHandEvaluator
$ cd PokerHandEvaluator/cpp
$ # edit CMakeLists.txt changing STATIC to SHARED on line 16
$ mkdir build && cd build
$ cmake -DBUILD_TESTS=OFF -DBUILD_EXAMPLES=OFF ..
$ make
$ # now copy libpheval.so (or .dll) into the pheval.Tests directory of this project

If you're on windows, you'll have to add libpheval.dll to the pheval.Tests project and select 'Copy To Output Directory' (in monodevelop right-click the file -> 'Quick Properties')

About

A port of HenryRLee/PokerHandEvaluator to c#

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages