-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
71 lines (63 loc) · 3.37 KB
/
index.html
File metadata and controls
71 lines (63 loc) · 3.37 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
64
65
66
67
68
69
70
71
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0">
<title>imagine reading this</title>
<link rel="stylesheet" href="style.css">
</head>
<body onload="load()">
<div id="loadingscreen" style="position: absolute; left: 0%; top: 0%; width: 100%; height: 100%; background-color: gray;"><h1 style="position: absolute; width: 20%; left: 40%; top: 47.5%; height: 5%;">The game is loading</h1></div>
<script src="OmegaNum.min.js"></script>
<script src="format-omeganum.js"></script>
<script src="clicking.js"></script>
<script src="saving.js"></script>
<script src="sleep.js"></script>
<div id="game" style="display: none;">
<!-- Variable Display -->
<div class="variable-display">
<div class="var-row">
<p class="vartext" id="score_txt">Score: <span id="score">1.000</span></p>
<p class="vartext" id="a3_txt">a<sub>3</sub>: <span id="a3">1.000</span></p>
<p class="vartext" id="a2_txt">a<sub>2</sub>: <span id="a2">0.0010</span></p>
</div>
<div class="var-row">
<p class="vartext" id="a1_txt">a<sub>1</sub>: <span id="a1">1.000</span></p>
<p class="vartext" id="a_txt">a: <span id="a">1.000</span></p>
<p class="vartext" id="b_txt">b: <span id="b">1.000</span></p>
<p class="vartext" id="c_txt">c: <span id="c">1.000</span></p>
<p class="vartext" id="dt_txt">dt: <span id="dt">1.000</span></p>
<p class="vartext" id="t_txt">t: <span id="t">0.000</span></p>
</div>
</div>
<!-- Main Button Section -->
<div id="main-button-container">
<button onclick="Click()" id="clickbutton">score = score • e<sup>a<sub>1</sub>a<sub>2</sub>dt</sup></button>
</div>
<!-- Upgrade Buttons -->
<div class="upgrade-buttons">
<button onclick="buyup1()" class="upgrades" id="up1">Multiply a by 2 for <span id="up1cost">2.000</span>
score</button>
<button onclick="buyup2()" class="upgrades" id="up2">Multiply b by 2 for <span id="up2cost">500.000</span>
score</button>
<button onclick="buyup3()" class="upgrades" id="up3">Multiply c by 2 for <span id="up3cost">1.000e308</span>
score</button>
<button onclick="buyup4()" class="upgrades" id="up4">Add 1 to dt for <span id="up4cost">1.000e18</span>
score</button>
<button onclick="buyall()" id="buyallbutton">Buy all upgrades</button>
<button onclick="toggleautobuy()" id="toggleautoup">Toggle autobuying <br>currently: <span id="autobuy">false</span></button>
<button onclick="buyprestigeup1()" id="buypup1">Reset all progress to automatically buy all upgrades every
tick</button>
<button onclick="prestige()" id="prestigebutton">a<sub>2</sub> = <span id="prestigegain">0.0010</span></button>
<button onclick="rebirth()" id="rebirthbutton">a<sub>3</sub> = <span id="rebirthgain">1.000</span></button>
</div>
<!-- Mobile Detection -->
<p id="mobiledetection">Detected as mobile device: <span id="answer"></span> (switch to wide view if on mobile)</p>
<!-- Progress Bar -->
<div class="progress-container">
<div id="progress"></div>
</div>
<!-- Tutorial Box -->
<p id="tutorial">Formulas for the nerds<br> a1 = abc(sqrt(0.1t)) <br>t = t+dt</p>
</div>
</html>