Best Cribbage Hand

This function finds the best possible hold cards for a given cribbage hand.
Updated 1 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 (2024). Best Cribbage Hand (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Card games in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes