« Automate cellulaire/Jeu de la vie » : différence entre les versions

Contenu supprimé Contenu ajouté
→‎Règles : en cours
Ligne 11 :
* 4 à 8 cellules voisines vivantes : « mort par surpopulation »
<!-- Faire des dessins, donner le code selon les seuils -->
 
=== Tableau ===
 
{| class="wikitable sortable" style="text-align: center;"
|-
! class="unsortable" | Motif initial (''t'')
! Poids à ''t''
! Valeur suivante de la cellule (''t''+1)
|-
| <math>
\begin{matrix}
0 & 0 & 0 \\
0 & {\color{Red}X} & 0 \\
0 & 0 & 0
\end{matrix}
</math>
| 0
| 0
|-
| <math>
\begin{matrix}
0 & 0 & 0 \\
0 & {\color{Red}X} & 0 \\
0 & 0 & 1
\end{matrix}
</math>
| 1
| 0
|-
| <math>
\begin{matrix}
0 & 0 & 0 \\
0 & {\color{Red}X} & 0 \\
0 & 1 & 0
\end{matrix}
</math>
| 1
| 0
|-
| <math>
\begin{matrix}
0 & 0 & 0 \\
0 & {\color{Red}X} & 0 \\
0 & 1 & 1
\end{matrix}
</math>
| 2
| X
|-
| <math>
\begin{matrix}
0 & 0 & 0 \\
0 & {\color{Red}X} & 0 \\
1 & 0 & 0
\end{matrix}
</math>
| 1
| 0
|-
| <math>
\begin{matrix}
0 & 0 & 0 \\
0 & {\color{Red}X} & 0 \\
1 & 0 & 1
\end{matrix}
</math>
| 2
| X
|-
| <math>
\begin{matrix}
0 & 0 & 0 \\
0 & {\color{Red}X} & 0 \\
1 & 1 & 0
\end{matrix}
</math>
| 2
| X
|-
| <math>
\begin{matrix}
0 & 0 & 0 \\
0 & {\color{Red}X} & 0 \\
1 & 1 & 1
\end{matrix}
</math>
| 3
| 1
|-
| <math>
\begin{matrix}
0 & 0 & 0 \\
0 & {\color{Red}X} & 1 \\
0 & 0 & 0
\end{matrix}
</math>
| 1
| 0
|-
| <math>
\begin{matrix}
0 & 0 & 0 \\
0 & {\color{Red}X} & 1 \\
0 & 0 & 1
\end{matrix}
</math>
| 2
| X
|-
| <math>
\begin{matrix}
0 & 0 & 0 \\
0 & {\color{Red}X} & 1 \\
0 & 1 & 0
\end{matrix}
</math>
| 2
| X
|-
| <math>
\begin{matrix}
0 & 0 & 0 \\
0 & {\color{Red}X} & 1 \\
0 & 1 & 1
\end{matrix}
</math>
| 3
| 1
|-
| <math>
\begin{matrix}
0 & 0 & 0 \\
0 & {\color{Red}X} & 1 \\
1 & 0 & 0
\end{matrix}
</math>
| 2
|-
| <math>
\begin{matrix}
0 & 0 & 0 \\
0 & {\color{Red}X} & 1 \\
1 & 0 & 1
\end{matrix}
</math>
| 3
| 1
|-
| <math>
\begin{matrix}
0 & 0 & 0 \\
0 & {\color{Red}X} & 1 \\
1 & 1 & 0
\end{matrix}
</math>
| 3
|-
| <math>
\begin{matrix}
0 & 0 & 0 \\
0 & {\color{Red}X} & 1 \\
1 & 1 & 1
\end{matrix}
</math>
| 4
| 0
|-
| <math>
\begin{matrix}
0 & 0 & 0 \\
1 & {\color{Red}X} & 1 \\
1 & 1 & 1
\end{matrix}
</math>
| 5
| 0
|-
| <math>
\begin{matrix}
0 & 0 & 1 \\
1 & {\color{Red}X} & 1 \\
1 & 1 & 1
\end{matrix}
</math>
| 6
| 0
|-
| <math>
\begin{matrix}
0 & 1 & 1 \\
1 & {\color{Red}X} & 1 \\
1 & 1 & 1
\end{matrix}
</math>
| 7
| 0
|-
| <math>
\begin{matrix}
1 & 1 & 1 \\
1 & {\color{Red}X} & 1 \\
1 & 1 & 1
\end{matrix}
</math>
| 8
| 0
|}
 
== Structures ==