mirror of
https://github.com/Cpt-Adok/SNAKE.git
synced 2026-01-25 12:34:07 +00:00
* correction de probleme et ajout d'un quick multi * correction de probleme * changer le main * programme fini~ pour l'ia * correction de probleme * Robot (#3) * Robot qui marche pas encore * Robot teubé mais marche bien, marche très bien en local mais problème en réseau * Robot fini mais problème en réseau * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md --------- Co-authored-by: Cpt-Adok <theo.faria@laposte.net> Co-authored-by: Cpt-Adok <126670243+Cpt-Adok@users.noreply.github.com> * correction de probleme et ajout de learn.ser --------- Co-authored-by: Cpt-Adok <theo.faria@laposte.net> Co-authored-by: Cpt-Adok <126670243+Cpt-Adok@users.noreply.github.com>
19 lines
448 B
Batchfile
19 lines
448 B
Batchfile
@echo off
|
|
|
|
set "error_file=error.txt"
|
|
|
|
REM ceci est pour mettre un batch en utf-8 car sinon, nous aurons des problèmes avec les caractères.
|
|
chcp 65001
|
|
|
|
make channel=%1 adversaire=%2 2> %error_file%
|
|
|
|
for %%A in ("%error_file%") do set "errror_size=%%~zA"
|
|
|
|
if %errror_size% gtr 0 (
|
|
@echo Vous avez besoin d'installer make ou allez sur le repertoire ou contient Makefile pour lancer correctement le programme.
|
|
)
|
|
|
|
del /Q %error_file%
|
|
|
|
pause
|
|
exit |