Skip to content

Latest commit

 

History

History
34 lines (21 loc) · 827 Bytes

README.md

File metadata and controls

34 lines (21 loc) · 827 Bytes

CactusKev

A Ruby port of the Cactus Kev's Poker Hand Evaluator using Paul Senzee's perfect hash technique.
http://www.suffecool.net/poker/evaluator.html
http://www.paulsenzee.com/2006/06/some-perfect-hash.html

This was derived from the XPokerEval compilation put together by James Devlin
http://www.codingthewheel.com/archives/poker-hand-evaluator-roundup#xpokereval

Installation

Add this line to your application's Gemfile:

gem 'cactus_kev'

And then execute:

$ bundle

Or install it yourself as:

$ gem install cactus_kev

Usage

See specs

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request