Add credits comment
parent
37b4a8a477
commit
f3b3af18f1
4
Cards.m
4
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
|
classdef Cards
|
||||||
properties(SetAccess = private)
|
properties(SetAccess = private)
|
||||||
value
|
value
|
||||||
|
|
|
@ -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
|
classdef cardHolder < handle
|
||||||
%% Deck Properties
|
%% Deck Properties
|
||||||
properties (SetAccess = private)
|
properties (SetAccess = private)
|
||||||
|
|
|
@ -1,4 +1,9 @@
|
||||||
function sulitear()
|
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;
|
clc;
|
||||||
% Construct the window with the axes
|
% Construct the window with the axes
|
||||||
scrsz = get(0,'ScreenSize');
|
scrsz = get(0,'ScreenSize');
|
||||||
|
|
Loading…
Reference in New Issue