classdef TicTacToeSquare
    properties
        button
        position_x
        position_y
    end
    methods
        function square=TicTacToeSquare(position_x, position_y, size)
            square.button = uicontrol('Style','PushButton',...
                'Position',[position_x,position_y,size,size],...
                'String',' ',...
                'FontSize',18,...
                'Fontweight','b',...
                'Background',[1 1 1],...
                'Foreground',[.1 .1 .1]);
            square.position_x = position_x;
            square.position_y = position_y;
        end
    end
end
