package
0.0.0-20211129030614-83cae81df646
Repository: https://github.com/joshprzybyszewski/cribbage.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

AvoidCribFifteens tries to return a set of cards which does not add up to 15.
AvoidCribPairs tries to return a set of cards which does not make a pair (unequal value).
GiveCribFifteens tries to return a set of cards which adds up to 15.
GiveCribHighestPotential gives the crib the highest potential pointed crib.
GiveCribLowestPotential gives the crib the lowest potential pointed hand.
GiveCribPairs tries to return a set of cards that makes a pair (equal value).
KeepHandHighestPotential will keep the hand with the highest potential score.
KeepHandLowestPotential will keep the hand with the lowest potential score.
No description provided by the author
PegToFifteen returns a card that yields a fifteen if it can.
PegToPair returns a card from the hand iff that card makes a pair and does not push the count over 31.
PegToRun returns a card that forms the longest run if one is possible.
PegToThirtyOne returns a card that yields 31 if it can.