-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
52 lines (46 loc) · 1.17 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Eco-Sim</title>
</head>
<body>
<div class="game">
<canvas id="game-canvas"/>
</div>
<div class="stats">
<div class='stats__table'>
<h2>Plants (<span id="plant-count"></span>)</h2>
<table>
<thead>
<tr>
<th colspan="2">Age</th>
</tr>
</thead>
<tbody id="plants">
</tbody>
</table>
</div>
<div class='stats__table'>
<h2>Herbivores (<span id="herbivore-count"></span>)</h2>
<table>
<thead>
<tr>
<th colspan="2">Age</th>
<th>Health</th>
<th>Hunger</th>
<th>Behavior</th>
<th>Pregnancy</th>
<th>Digestion</th>
</tr>
</thead>
<tbody id="herbivores">
</tbody>
</table>
</div>
</div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>