Code covered by the BSD License  

Highlights from
Cribbage Suite

image thumbnail
from Cribbage Suite by Bryan
Cribbage Suite is a GUI interface designed to help teach and play the game of cribbage.

person(varargin)
function r = person(varargin)
%CONSTRUCTOR for class "person"
%The only possible input for the constructor is the name of the person. The
%name will be looked up and their previous record will be located.

r.name = 'Blank';
r.score = 0;
r.prevScore = 0;
r.toAdd = 0;

r = class(r,'person');

Contact us at files@mathworks.com