le jeu des motos dans tron - retour accueil
git clone git://bebou.netlib.re/tron
Log | Files | Refs | README |
commit 3b9292719cbbce725217c320a900c3b4b300991d parent 89e79175f91b4710ff39e727e056ece635f622e2 Auteurice: Arthur Pons <arthur.pons@unistra.fr> Date: Thu, 26 Jun 2025 18:57:22 +0200 On optimise u peu Diffstat:
M | makefile | | | 2 | +- |
M | tron.c | | | 1 | + |
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/makefile b/makefile @@ -1,7 +1,7 @@ PREFIX = /usr/local tron: tron.c termbox2.h - cc -Wall -Wextra -Wpedantic -std=c99 tron.c -o tron + cc -Wall -Wextra -Wpedantic -std=c99 -Os tron.c -o tron .PHONY: clean clean: diff --git a/tron.c b/tron.c @@ -150,6 +150,7 @@ int main(int argc, char **argv) { /*TITRE*/ + /*Comme ça on sait dans quelle direction vont les vélos*/ for(int i=0;i<bikes.count;i++) if(bikes.list[i].status==ALIVE) update(&bikes.list[i],incs);