Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

17 lines (14 sloc) 0.607 kb
USING: help.markup help.syntax math sequences strings ;
IN: poker
HELP: best-holdem-hand
{ $values { "hand" sequence } { "n" integer } { "cards" sequence } }
{ $description "Creates a new poker hand containing the best possible combination of the cards specified in " { $snippet "seq" } "." }
{ $examples
{ $example "USING: kernel poker prettyprint ;"
"HAND{ AS KD JC KH 2D 2S KC } best-holdem-hand drop value>hand-name ."
""""Full House""""
}
} ;
HELP: <deck>
{ $values { "deck" sequence } }
{ $description "Returns a vector containing a standard, shuffled deck of 52 cards." } ;
Jump to Line
Something went wrong with that request. Please try again.