diff --git a/Cards.m b/Cards.m index 0b6f8c7..14845a8 100644 --- a/Cards.m +++ b/Cards.m @@ -1,3 +1,7 @@ +% Original author: En Yi +% The card class used in the solitaire game +% Not optimised though +% Anyone can modify it, just need to give credits to the original author classdef Cards properties(SetAccess = private) value diff --git a/cardHolder.m b/cardHolder.m index 2491e97..cbb104b 100644 --- a/cardHolder.m +++ b/cardHolder.m @@ -1,3 +1,7 @@ +% Original author: En Yi +% The card container class used in the solitaire game +% Not optimised though +% Anyone can modify it, just need to give credits to the original author classdef cardHolder < handle %% Deck Properties properties (SetAccess = private) diff --git a/sulitear.m b/sulitear.m index 79f0e2b..085b307 100644 --- a/sulitear.m +++ b/sulitear.m @@ -1,4 +1,9 @@ function sulitear() +% Original author: En Yi +% A solitaire game on MATLAB, very self-explanatory +% Not optimised though +% Have fun! +% Anyone can modify it, just need to give credits to the original author clc; % Construct the window with the axes scrsz = get(0,'ScreenSize');