poker.private vocabulary
Factor handbook > Vocabulary index


Summary
poker.private vocabulary

Words

Generic words
WordStack effect
>ckf( string -- n )


Ordinary words
WordStack effect
(>ckf)( rank suit -- n )
>card-rank( card -- string )
>card-suit( card -- string )
FLUSH( -- value )
FOUR_OF_A_KIND( -- value )
FULL_HOUSE( -- value )
HIGH_CARD( -- value )
ONE_PAIR( -- value )
RANKS( -- value )
STRAIGHT( -- value )
STRAIGHT_FLUSH( -- value )
SUITS( -- value )
THREE_OF_A_KIND( -- value )
TWO_PAIR( -- value )
VALUES( -- value )
card-bitfield( rank rank suit rank -- n )
card-rank( rank -- n )
card-rank-bit( rank -- n )
card-rank-prime( rank -- n )
card-suit( suit -- n )
card>string( n -- string )
flush?( cards -- ? )
hand-value( cards -- value )
lookup( cards table -- value )
parse-cards( string -- seq )
perfect-hash-find( q -- value )
prime-bits( cards -- q )
rank-bits( cards -- q )
value>rank( value -- rank )