I am making card game with batch-file but I get I was unexpected at this time so what i can do without changing variables.
set n1=IJ I
set m1=I HI
set n2=IJ I
set m2=I DI
if %n1%==%n2% (
if %n1%==IJ I set WL=win
)else (
set WL=lose
)
echo +--+ +--+
echo %n1% %n2%
echo %m1% %m2%
echo +--+ +--+
echo %WL%
so do I need to change the shape of card or what?
Aucun commentaire:
Enregistrer un commentaire