Code covered by the BSD License  

Highlights from
Chess with "Greedy Edi"

image thumbnail

Chess with "Greedy Edi"


Wolfgang Garn (view profile)


07 Nov 2009 (Updated )

Play chess against "Greedy Edi".

saveChessStatus (name)
function saveChessStatus (name)
% Save status of a chess game.
if nargin<1
    name=['ChessGame-' datestr(now,'yyyy-mm-dd-HH-MM') '.mat'];
global board;   % all information related to the chess board (NOT display)
global layer;   % display info
global cursor;  % cursor information for moving the figures
global history; % record of moves
global EDIs %EDIs information (Artificial Intelligence)
global game;


Contact us