-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
63 lines (55 loc) · 1.81 KB
/
index.html
File metadata and controls
63 lines (55 loc) · 1.81 KB
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
61
62
63
<link rel="stylesheet" type="text/css" href="styles.css">
<div align=center>
<div class=main>
<div align=center class=core>
<h2><span round=true class=core.temp></span>°C</h2>
<h1><span class=core.water_display></span>%</h1>
<button onClick="core.addwater(0.1)">
+10% Water
</button>
<button onClick="core.addwater(-0.1)">
-10% Water
</button><br>
<button onClick="core.addwater(0.01)">
+1% Water
</button>
<button onClick="core.addwater(-0.01)">
-1% Water
</button>
<h1><span round=true class=core.power></span>MW</h1>
</div>
<div align=center class=job>
<div width=50%>
<h2 style="color:red">
<span class=job.message></span><br>
</h2>
</div>
<div width=50%>
<h3>
Reputation: <span round=true class=job.reputation></span>
</h3>
</div>
<div style="width:400px;height:10px;background:gray; text-align:left" id=bar class=job.reputation_bar>
<div style="width:300px;height:10px;background:blue">
</div>
</div>
</div>
<div align=center class=water>
<div class=watertank>
<div class=tankdisplay>
</div>
</div>
<h2>
<span class=water.liters_display></span>L
</h2>
<button onClick="water.reset()">
Refill Tank
</button>
</div>
</div>
</div>
<script src=noise.js></script>
<script src=game.js></script>
<script>
setup();
</script>