% fonction appelée par CompteBonDemo
% pour créer un nouveau jeu.

set(e_solution,'string','')
for i=1:6
	eval(['set(t_plaque',int2str(i),',''string'',',int2str(plaques(fix(rand*nbp)+1)),');']);
end
set(t_chiffre1,'string',fix(rand*9)+1);
set(t_chiffre2,'string',fix(rand*9));
set(t_chiffre3,'string',fix(rand*9));
set(t_inter1,'string','','enable','on')
set(t_inter2,'string','','enable','on')
set(t_inter3,'string','','enable','on')
set(t_inter4,'string','','enable','on')
set(t_inter5,'string','','enable','on')
set(t_inter6,'string','','enable','on')
set(t_plaque1,'enable','on')
set(t_plaque2,'enable','on')
set(t_plaque3,'enable','on')
set(t_plaque4,'enable','on')
set(t_plaque5,'enable','on')
set(t_plaque6,'enable','on')
pla1=0;
pla2=0;
opc=' ';
preminter=1;
