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.
Brandon Armstrong (2021). Best Cribbage Hand (https://www.mathworks.com/matlabcentral/fileexchange/36960-best-cribbage-hand), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!