reddavis / poker
- Source
- Commits
- Network (0)
- Issues (0)
- Downloads (1)
- Wiki (1)
- Graphs
-
Branch:
master
poker /
| name | age | message | |
|---|---|---|---|
| |
.autotest | ||
| |
.document | ||
| |
.gitignore | ||
| |
LICENSE | ||
| |
README.textile | ||
| |
Rakefile | ||
| |
VERSION.yml | ||
| |
lib/ | ||
| |
poker.gemspec | ||
| |
test/ |
README.textile
Poker Hands
This is a problem that we tried to solve at Coding Dojo London:http://groups.google.com.br/group/coding-dojo-london
The problem:http://acm.uva.es/p/v103/10315.html
Install
gem sources -a http://gems.github.com
sudo gem install reddavis-poker
To Use
require 'rubygems'
require 'reddavis-poker'
a = Poker.new('3D 4D 5D 6D 7D 4D 4C 4S KS AH')
a.who_wins?
#=> Black wins
Copyright
Copyright © 2009 Red Davis. See LICENSE for details.

