image thumbnail

Best Cribbage Hand

version 1.0.0.0 (4.74 KB) by Brandon Armstrong
This function finds the best possible hold cards for a given cribbage hand.

235 Downloads

Updated 01 Jun 2012

View License

Input the 6 cards you are dealt, and this function calculates the best hold card for counting points. It does not take into account pegging or what two cards the opponent may put in his/her crib, only the six cards you have and the turnover card. It returns statistics for each of the 15 possible 4 card combinations you can choose. See the documentation at the beginning for an example of how to use it.

Cite As

Brandon Armstrong (2021). Best Cribbage Hand (https://www.mathworks.com/matlabcentral/fileexchange/36960-best-cribbage-hand), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!