-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
40 lines (36 loc) · 1.44 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Microbe Simulator</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<header>
<h1>Microbe Simulator</h1>
</header>
<div class="container">
<div id="petriDish"></div>
<div class="toolbar-container">
<div id="toolbar">
<div class="microbe" style="background-color: red;" draggable="true" id="predator"></div>
<div class="microbe" style="background-color: orange;" draggable="true" id="virus"></div>
<div class="microbe" style="background-color: green;" draggable="true" id="reproducer"></div>
<div class="microbe" style="background-color: blue;" draggable="true" id="prey"></div>
<button id="clearButton">Clear</button>
</div>
<div id="statistics">
<h2>Microbe Statistics</h2>
<p id="totalMicrobes">Total Microbes: 0</p>
<p id="predatorMicrobes">PRD: 0</p>
<p id="virusMicrobes">VRX: 0</p>
<p id="preyMicrobes">PRY: 0</p>
<p id="reproducerMicrobes">REP: 0</p>
</div>
</div>
</div>
<footer>Version 1.0 - © 2024 Michael Rutherford. Licensed under GNU GPL v3</footer>
<script src="game.js"></script>
</body>
</html>