-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
41 lines (40 loc) · 1.46 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Game of Life</title>
<meta charset="UTF-8">
<link rel="stylesheet" href="stylesheet.css">
<script defer src="./script.js"></script>
</head>
<!-- <body>
<div id="header">
<p>Game of Life</p>
</div>
<div id="main">
<div id="sidebar">
</div>
<div id="game">
<canvas id="gameCanvas" width="100%" height="100%">
Your browser does not support canvas!
</canvas>
</div>
</div>
</body> -->
<body>
<div id="header">
<h1>Game of life</h1>
</div>
<div id="main">
<div id="sidebar">
<p><button id="startStopButton" class="sideBarElements buttons">Start</button></p>
<p><button id="resetButton" class="sideBarElements buttons">Reset</button></p>
<p id="status" class="sideBarElements">Status: <span id="statusText">Stopped</span></p>
<p id="pauseTimerText" class="sideBarElements">Pause-Time: <span id="pauseTime">1000</span> ms</p>
<input type="range" min="100" max="5000" value="1000" step="100" class="sideBarElements slider" id="speedSlider">
<p id="generationText" class="sideBarElements">Generation: <span id="generationCount">0</span></p>
</div><div id="gameDiv">
<canvas id="gameCanvas" width="827" height="570">Your browser does not support canvas!</canvas>
</div>
</div>
</body>
</html>