Commit de5b6640 authored by Valentin MEUNIER's avatar Valentin MEUNIER
Browse files

jeu de la vie

parent bcc7a666
No preview for this file type
......@@ -98,7 +98,7 @@ int vie_mort(int * survie)
vie=0;
else if (total==3)
vie=1;
else if (total==2 && survie[9]==1)
else if (total==2 && survie[8]==1)
vie=1;
free(survie);
return vie;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment