8000 GitHub - spiritofsim/phe: golang poker hand evaluation library
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

spiritofsim/phe

Repository files navigation

Poker Hand Evaluator

This is a Texas Holdem poker hand evaluation go library.

Can evaluate 5,6 and 7 card combinations.

It uses TwoPlusTwo algorithm with pre-build ranks table.

On my machine (i7-7700HQ 2.80 GHz) it can evaluate 53 millions 7-cards hands per second.

Installation

go get github.com/spiritofsim/phe

Usage

Eval func returns hand struct. Hands can be evaluated with Hand.Compare method.

See test fo examples.

About

golang poker hand evaluation library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0