summaryrefslogtreecommitdiff
path: root/life2/simulator/site
diff options
context:
space:
mode:
Diffstat (limited to 'life2/simulator/site')
-rw-r--r--life2/simulator/site/index.html49
-rw-r--r--life2/simulator/site/simulator.js16
-rw-r--r--life2/simulator/site/style.css22
3 files changed, 0 insertions, 87 deletions
diff --git a/life2/simulator/site/index.html b/life2/simulator/site/index.html
deleted file mode 100644
index 95c0995..0000000
--- a/life2/simulator/site/index.html
+++ /dev/null
@@ -1,49 +0,0 @@
-<!DOCTYPE html>
-<meta charset="utf-8">
-<title>Life2 Web Simulator</title>
-<link rel="stylesheet" href="style.css">
-<main id="board">
-</main>
-<aside>
- <div id="simulation-control">
- <p>
- <button id="next">1-step</button>
- <button id="play">Lancer</button>
- <p>
- <label for="speed">Vitesse</label>
- <input id="speed" type="range" min="1" max="100" value="90">
- </div>
- <div id="board-control">
- <p>
- <button id="clear">Effacer</button>
- <button id="random">Aléatoire</button>
- <p>
- <label for="shape">Forme</label>
- <select id="shape">
- <option value="shape-rectangle">Rectangle</option>
- <option value="shape-circle">Cercle</option>
- <option value="shape-triangle">Triangle</option>
- </select>
- <p>
- <button id="save">Sauvegarder la grille</button>
- <p>
- <label for="load">Charger une grille</label>
- <input id="load" type="file">
- </div>
-</aside>
-<footer>
- <ul>
- <li>
- Génération : <span id="generation-stats">0</span>
- <li>
- Population : <span id="population-a-stats">0</span>/
- <span id="population-b-stats">0</span>
- <li>
- Morts : <span id="deaths-a-stats">0</span>/
- <span id="deaths-b-stats">0</span>
- <li>
- Naissances : <span id="births-a-stats">0</span>/
- <span id="births-b-stats">0</span>
- </ul>
-</footer>
-<script src="simulator.js"></script>
diff --git a/life2/simulator/site/simulator.js b/life2/simulator/site/simulator.js
deleted file mode 100644
index a760e90..0000000
--- a/life2/simulator/site/simulator.js
+++ /dev/null
@@ -1,16 +0,0 @@
-/**
- * Copyright 2024 The Life2 Authors
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * @license
- */
diff --git a/life2/simulator/site/style.css b/life2/simulator/site/style.css
deleted file mode 100644
index 9550c82..0000000
--- a/life2/simulator/site/style.css
+++ /dev/null
@@ -1,22 +0,0 @@
-/*
- * Copyright 2024 The Life2 Authors
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-footer > ul {
- list-style: none;
- display: flex;
- justify-content: center;
- gap: 5rem;
-}