-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
156 lines (154 loc) · 7.37 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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
<!DOCTYPE html>
<html>
<head>
<title>0 Cookies</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<template id="added-cookies-from-click">
<h2 class="added-cookies-from-click-message">+0 Cookies</h2>
</template>
<template id="upgrade-template">
<div class="upgrade-item">
</div>
</template>
<template id="upgrade-info-template">
<div id="upgrade-info-container">
<div id="upgrade-name-and-price-container">
<h3 id="upgrade-name"></h3>
<h3 id="upgrade-price"></h3>
</div>
<hr>
<h4 id="upgrade-description"></h4>
<q id="upgrade-quote"></q>
</div>
</template>
<template id="golden-cookie-prize-display-template">
<div id="golden-cookie-prize-display-container">
<h1>Lucky!</h1>
<h4 id="golden-cookie-prize-message"></h4>
</div>
</template>
<img src="images/GoldenCookie.png" alt="Golden Cookie" id="golden-cookie" onclick="handleGoldenCookieClick()">
<noscript>
<div id="noscript">
<h1>Well...</h1>
<h2>This page looks a bit boring. Doesn't it?</h2>
<h1 style="font-size: 120pt; margin: 1px;">😐</h1>
<h1>Please turn on JavaScript to enjoy this game!</h1>
</div>
</noscript>
<div id="game-container">
<div id="cookie-container">
<h3 id="multiplier-time-left" class="golden-cookie-multiplier-flash"></h3>
<h1 id="cookie-amount">0 Cookies</h1>
<h2 id="cps-amount">0 CPS</h2>
<h3 id="extra-cps-amount"></h3>
<img src="images/cookie.png" alt="Cookie" id="cookie-image">
</div>
<div id="middle-container">
<h1 style="text-align: center;">Stuff will be put here soon</h1>
<h2 style="text-align: center;">Upgrades, stats, settings, and more items will be coming soon as well</h2>
<button class="dangerous" onclick="resetGame()">Reset Game</button>
</div>
<div id="buy-container">
<h1>Buy Upgrades</h1>
<div id="buy-upgrades-container">
</div>
<h1>Buy Items</h1>
<div id="buy-multiplier-container">
<h3 id="1x-multiplier" class="selected-multiplier" onclick="changeBuyMultiplier(1)">1x</h3>
<h3 id="10x-multiplier" onclick="changeBuyMultiplier(10)">10x</h3>
<h3 id="25x-multiplier" onclick="changeBuyMultiplier(25)">25x</h3>
<h3 id="50x-multiplier" onclick="changeBuyMultiplier(50)">50x</h3>
<h3 id="100x-multiplier" onclick="changeBuyMultiplier(100)">100x</h3>
</div>
<div class="item-buy-container not-affordable" id="buy-cursor-container" onclick="buyCursor()">
<div class="item-info-container">
<img src="images/cursor.webp" alt="Cursor">
<div class="item-name-and-price-container">
<h1>Cursor</h1>
<h5 id="cursor-price">10 Cookies</h5>
</div>
</div>
<div class="item-amount-container">
<h1 id="cursor-amount">0</h1>
</div>
</div>
<div class="item-buy-container not-affordable" id="buy-grandma-container" onclick="buyGrandma()">
<div class="item-info-container">
<img src="images/grandma.webp" alt="Grandma">
<div class="item-name-and-price-container">
<h1>Grandma</h1>
<h5 id="grandma-price">100 Cookies</h5>
</div>
</div>
<div class="item-amount-container">
<h1 id="grandma-amount">0</h1>
</div>
</div>
<div class="item-buy-container not-affordable" id="buy-farm-container" onclick="buyFarm()">
<div class="item-info-container">
<img src="images/farm.webp" alt="Farm">
<div class="item-name-and-price-container">
<h1>Farm</h1>
<h5 id="farm-price">1,100 Cookies</h5>
</div>
</div>
<div class="item-amount-container">
<h1 id="farm-amount">0</h1>
</div>
</div>
<div class="item-buy-container not-affordable" id="buy-mine-container" onclick="buyMine()">
<div class="item-info-container">
<img src="images/mine.webp" alt="Mine">
<div class="item-name-and-price-container">
<h1>Mine</h1>
<h5 id="mine-price">12,000 Cookies</h5>
</div>
</div>
<div class="item-amount-container">
<h1 id="mine-amount">0</h1>
</div>
</div>
<div class="item-buy-container not-affordable" id="buy-factory-container" onclick="buyFactory()">
<div class="item-info-container">
<img src="images/factory.webp" alt="Factory">
<div class="item-name-and-price-container">
<h1>Factory</h1>
<h5 id="factory-price">130,000 Cookies</h5>
</div>
</div>
<div class="item-amount-container">
<h1 id="factory-amount">0</h1>
</div>
</div>
<div class="item-buy-container not-affordable" id="buy-bank-container" onclick="buyBank()">
<div class="item-info-container">
<img src="images/bank.webp" alt="Bank">
<div class="item-name-and-price-container">
<h1>Bank</h1>
<h5 id="bank-price">1,400,000 Cookies</h5>
</div>
</div>
<div class="item-amount-container">
<h1 id="bank-amount">0</h1>
</div>
</div>
<div class="item-buy-container not-affordable" id="buy-temple-container" onclick="buyTemple()">
<div class="item-info-container">
<img src="images/temple.webp" alt="Temple">
<div class="item-name-and-price-container">
<h1>Temple</h1>
<h5 id="temple-price">20,000,000 Cookies</h5>
</div>
</div>
<div class="item-amount-container">
<h1 id="temple-amount">0</h1>
</div>
</div>
</div>
</div>
</body>
<script src="script.js"></script>
</html>