-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
60 lines (56 loc) · 2.13 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
53
54
55
56
57
58
59
60
<!doctype html>
<html class="no-js" lang="en">
<head>
<meta charset="utf-8" />
<title>Game of Life</title>
<meta name="description" content="" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="css/normalize.css" />
<link rel="stylesheet" href="css/main.css" />
<meta name="theme-color" content="#fafafa" />
</head>
<body>
<div id="root">
<span id="time"></span>
<div class="controls">
<div>
<button class="btn" id="start">start</button>
<button class="btn" id="stop">stop</button>
<button class="btn" id="tick">tick</button>
<div class="field-group">
<label for="virtual">Virtual rendering</label>
<input type="checkbox" name="virtual" id="virtual" />
</div>
</div>
<div class="board-actions">
<div class="field-group">
<label for="width">Width:</label>
<input
class="input"
type="number"
id="width"
name="width"
min="1"
/>
</div>
<div class="field-group">
<label for="height">Height:</label>
<input
class="input"
type="number"
id="height"
name="height"
min="1"
/>
</div>
<button class="btn" id="random">random</button>
<button class="btn" id="clear">clear</button>
</div>
</div>
<div id="game-container">
<div id="game"></div>
</div>
</div>
<script src="js/main.js"></script>
</body>
</html>