%% 初始化
global piece pieces_types all_pieces running interface plane max_column max_row
max_row = 23;...max_column = 15;
plane = zeros(max_row,max_column);
interface = figure; initialize_window();
load_pieces...()
global pieces_types all_pieces
pieces_types = struct('long_flat',[2,2,2,2,2],......'right_corner',[2,0; 2,2]);
all_pieces = {'long_flat','left_l','right_l','left_zig',......all_pieces max_column
piece = pieces_types.