Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Romain De Laage De Bellefaye
LO21-projet
Commits
99542619
Commit
99542619
authored
Jun 07, 2021
by
Leon Do Castelo
Browse files
Update brians_brain.sql
parent
c785ac89
Changes
1
Hide whitespace changes
Inline
Side-by-side
sql/brians_brain.sql
View file @
99542619
...
...
@@ -8,7 +8,7 @@ INSERT INTO EnsembleEtats VALUES(
"Brian's brain"
);
//
3
é
tats
:
on
,
dying
and
off
--> vivant (blanc), mourant (gris), mort (noir)
--
3 états : on, dying and off --> vivant (blanc), mourant (gris), mort (noir)
INSERT
INTO
Etats
VALUES
(
1
,
...
...
@@ -37,7 +37,7 @@ INSERT INTO Etats VALUES(
0
);
//
utilise
un
voisinage
de
Moore
--
utilise un voisinage de Moore
INSERT
INTO
regles_voisinage
VALUES
(
"Brian's brain"
,
...
...
@@ -45,9 +45,9 @@ INSERT INTO regles_voisinage VALUES(
1
);
//
r
è
gles
transition
:
--
règles transition :
//
cellule
devient
vivante
si
elle
est
morte
et
a
2
voisins
vivants
--
cellule devient vivante si elle est morte et a 2 voisins vivants
INSERT
INTO
regles_transition
VALUES
(
"Brian's brain"
,
...
...
@@ -71,7 +71,7 @@ INSERT INTO regles_transition VALUES(
0
);
//
cellule
vivante
devient
mourante
--
cellule vivante devient mourante
INSERT
INTO
regles_transition
VALUES
(
"Brian's brain"
,
...
...
@@ -95,7 +95,7 @@ INSERT INTO regles_transition VALUES(
1
);
//
cellule
mourante
devient
morte
--
cellule mourante devient morte
INSERT
INTO
regles_transition
VALUES
(
"Brian's brain"
,
...
...
@@ -119,7 +119,7 @@ INSERT INTO regles_transition VALUES(
2
);
//
Grille
de
test
--
Grille de test
INSERT
INTO
reseaux
VALUES
(
0
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment