Vous n'êtes pas identifié.
Carlos a developpé plusieurs jeux en batch comme quoi tout est possible, worms est tout simplement le jeu du serpent Snake que vous avez sous doute jouer dans les salles d'attente ou en cours avec votre téléphone portable.
Télécharger Worms by Carlos
Attention ce jeu peut subir des modifications, assurez vous d'avoir la dernière version.
Hors ligne
Oui, c'est vraiment ENORME ce jeu !
Hors ligne
Hello Carlos
could you explain how you doing to assign a keyboard shortcut to perform an action?
Hors ligne
The choice command syntax depends on your version, however in the code assigned SWDA and assign it in two seconds if no keys are pressed is used that is the key variable MOVEMENT
So every time you play is stored in the variable previous movement MOVEMENT
Choice as the key errorlevel assigned, for example:
SWDA
S errorlevel 1
W errorlevel 2
D errorlevel 3
A errorlevel 4
:DECISION
FOR /F "DELIMS=, TOKENS=%ERRORLEVEL%" %%C IN (",S,W,D,A,") DO (
SET "MOVEMENT=%%C"
)
FOR /F "DELIMS=# TOKENS=%ERRORLEVEL%" %%C IN ("#ROW+#ROW-#COLUMN+#COLUMN-#") DO (
SET /A "%%C=1"
rem S set /a row+=1
rem W set /a row-=1
rem D set /a column+=1
rem A set /a column-=1
)
Dernière modification par carlos (02-02-2009 01:30:58)
Hors ligne
En effet quand on voit sa on se dit que tout est possible :)
Hors ligne