CardModel : ->suit([val]); # returns (and optionally sets) the # suit to value (data type undecided) ->value([val]); # returns (and optionally sets) the # card number to value (1-13,A,K,Q,J) ->isSameColor(CardModel c); ->isSameSuit(CardModel c); CardController: # returns (and optionally sets) the # pile where card is placed ->where(cardmodel, [pile]); # Sets card to be face up/face down ->state(cardmodel, [state]); CardView : # displays card on screen, optionally with the # upper-left coordinate being (x,y) ->show(cardmodel, [x,y]);