-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
110 lines (104 loc) · 5.51 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Cookie Clicker</title>
<!-- css -->
<link rel="stylesheet" type="text/css" href="https://necolas.github.io/normalize.css/latest/normalize.css">
<link rel="stylesheet" type="text/css" href="./css/interface.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/simple-notify.min.css" />
<!-- script -->
<script type="text/javascript" src="./js/loadScript.js" async></script>
</head>
<body>
<header>
<span>Auto save every minute</span>
<a href="https://github.com/RickyLam11/cookie-clicker" target="_blank">
<img alt="GitHub Repo stars" src="https://img.shields.io/github/stars/rickylam11/cookie-clicker?style=social">
</a>
<a href="https://github.com/RickyLam11/cookie-clicker/actions/workflows/pages/pages-build-deployment" target="_blank">
<img alt="GitHub Repo Workflow" src="https://github.com/RickyLam11/cookie-clicker/actions/workflows/pages/pages-build-deployment/badge.svg?branch=gh-page">
</a>
</header>
<div id="">
<h1>Simple Cookie Clicker</h1>
<h2>Current Cookies: <span id="cookie">0</span></h2>
<p>Max Cookies: <span id="maxCookie">0</span></p>
<p>Auto Cookie Rate: <span id="cookieRate">0</span>/s</p>
<button onClick="cookieClick(clickPower)">Click</button>
<br />
<p>Click Power: <span id="clickPower">1</span></p>
<p>Cost: <span id="clickPowerCost">20</span></p>
<button onClick="buyClickPower()">Increase Click Power</button>
</div>
<hr />
<div id="auto">
<div id="cursorLv1" class="cursor">
<p>Lv1 Cursors: <span class="amount">N/A</span></p>
<p>Cost: <span class="cost">N/A</span></p>
<p class="rate">N/A</p>
<div class="progress"><div class="bar"></div></div>
<p><span class="contribution">N/A</span> of total production</p>
<button onClick="cursorLv1.buyCursor(1)">Buy Cursor</button>
<button onClick="cursorLv1.buyCursor(5)">Buy 5 Cursors</button>
<button onClick="cursorLv1.buyMaxCursor()">Buy Max Cursors (<span class="maxBuy">N/A</span>)</button>
</div>
<div id="cursorLv2" class="cursor">
<p>Lv2 Cursors: <span class="amount">N/A</span></p>
<p>Cost: <span class="cost">N/A</span></p>
<p class="rate">N/A</p>
<div class="progress"><div class="bar"></div></div>
<p><span class="contribution">N/A</span> of total production</p>
<button onClick="cursorLv2.buyCursor(1)">Buy Cursor</button>
<button onClick="cursorLv2.buyCursor(5)">Buy 5 Cursors</button>
<button onClick="cursorLv2.buyMaxCursor()">Buy Max Cursors (<span class="maxBuy">N/A</span>)</button>
</div>
<div id="cursorLv3" class="cursor">
<p>Lv3 Cursors: <span class="amount">N/A</span></p>
<p>Cost: <span class="cost">N/A</span></p>
<p class="rate">N/A</p>
<div class="progress"><div class="bar"></div></div>
<p><span class="contribution">N/A</span> of total production</p>
<button onClick="cursorLv3.buyCursor(1)">Buy Cursor</button>
<button onClick="cursorLv3.buyCursor(5)">Buy 5 Cursors</button>
<button onClick="cursorLv3.buyMaxCursor()">Buy Max Cursors (<span class="maxBuy">N/A</span>)</button>
</div>
<div id="cursorLv4" class="cursor">
<p>Lv4 Cursors: <span class="amount">N/A</span></p>
<p>Cost: <span class="cost">N/A</span></p>
<p class="rate">N/A</p>
<div class="progress"><div class="bar"></div></div>
<p><span class="contribution">N/A</span> of total production</p>
<button onClick="cursorLv4.buyCursor(1)">Buy Cursor</button>
<button onClick="cursorLv4.buyCursor(5)">Buy 5 Cursors</button>
<button onClick="cursorLv4.buyMaxCursor()">Buy Max Cursors (<span class="maxBuy">N/A</span>)</button>
</div>
<div id="cursorLv5" class="cursor">
<p>Lv5 Cursors: <span class="amount">N/A</span></p>
<p>Cost: <span class="cost">N/A</span></p>
<p class="rate">N/A</p>
<div class="progress"><div class="bar"></div></div>
<p><span class="contribution">N/A</span> of total production</p>
<button onClick="cursorLv5.buyCursor(1)">Buy Cursor</button>
<button onClick="cursorLv5.buyCursor(5)">Buy 5 Cursors</button>
<button onClick="cursorLv5.buyMaxCursor()">Buy Max Cursors (<span class="maxBuy">N/A</span>)</button>
</div>
</div>
<hr />
<div id="prestige">
<p>Prestige #<span id="prestigeCount">N/A</span></p>
<p>You current have <span id="muffin">N/A</span> muffin</p>
<p>Each muffin will give you a 15% boost!! How good is that.</p>
<p>You will get <span id="muffinFromPrestige">N/A</span> muffin if you prestige.</p>
<p>You will need raise your max cookie <span id="cookieForNextMuffin">N/A</span> more for the next Muffin.</p>
<button onClick="buyPrestige()">Prestige Now!!!</button>
</div>
<hr />
<div id="save">
<button onClick="save(false)">Save</button>
<button onClick="clearSave()">Clear Save</button>
</div>
</body>
</html>