-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
53 lines (50 loc) · 1.93 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
<!DOCTYPE html>
<html>
<head>
<title></title>
<link rel="stylesheet" href="main.css">
<link rel="stylesheet" href="slider.css">
<meta name="viewport" content="width=device-width,
initial-scale=1, maximum-scale=1" />
</head>
<body>
<main>
<div id="info">
<div id="buttons">
<button class="hover-btns" onclick="start()">Start</button>
<button class="hover-btns" onclick="stop()">Stop</button>
<button class="hover-btns" onclick="step()">Step</button>
<button class="hover-btns" onclick="reset()">Reset</button>
<div class="size-wrapper">
<p>Rows:</p>
<div class="number-input">
<button onclick="changeRow(-1)"></button>
<div class="size">
<p id="rows">4</p>
</div>
<button onclick="changeRow(1)" class="plus"></button>
</div>
</div>
<div class="size-wrapper">
<p>Columns:</p>
<div class="number-input">
<button onclick="changeColumn(-1)"></button>
<div class="size">
<p id="columns">4</p>
</div>
<button onclick="changeColumn(1)" class="plus"></button>
</div>
</div>
</div>
</div>
<h3>Speed: <span id="speed">1</span></h3>
<div id="speedWrapper">
<input type="range" value="0" min="1" id="speedInput">
</div>
<h3>Action: <span id="actionSpan">None</span></h3>
<h3>Episodes: <span id="episodesSpan">0</span></h3>
<h3>Exp rate: <span id="expSpan">1</span></h3>
<canvas id="canvas"></canvas>
</main>
<script src="js.js"></script>
</body></html>