-
Notifications
You must be signed in to change notification settings - Fork 54
/
Copy pathCaseClicker.html
227 lines (223 loc) · 13.7 KB
/
CaseClicker.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
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>CaseClicker</title>
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<link href='https://fonts.googleapis.com/css?family=Rajdhani:600' rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
<link rel="stylesheet" href="./css/stylesheet.css" media="screen" title="no title" charset="utf-8">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script>
<script>
</script>
</head>
<body>
<div class="container noselect">
<div class="notification hidden" id="notif">This is a Work-In-Progress Case Clicker Game for CS:GO.</div>
<div class="navbar">
<ul>
<li><a href="https://KingofKFCJamal.github.io/CaseClicker" class="headerLogo"></a></li>
<div class="settings"></div>
<div class="about">About</div>
</ul>
</div>
<div class="settingsList hidden">
<li><h1>SETTINGS</h1></li>
<li>Disable Popup: <input type="checkbox" id="popupCheckbox"></li>
<div class="audio">
<div class="sg">
<audio id="startgame" src="sounds/start-game.mp3" type="audio/mp3"></audio><input type="image" src="https://i.imgur.com/DerV5hu.png" onclick="audiosg();"/><input type="image" src="https://i.imgur.com/jHVbUvE.png" onclick="audiosgup();" value="Volume Max"/><input type="image" src="https://i.imgur.com/SwyIqRg.png" onclick="audiosgdown();" value="Volume Lowered"/><input type="image" src="https://i.imgur.com/tViMF8c.png" onclick="audiosgmute();" value="Volume Mute"/><b><font size="56" style="color:white;">You lost</font></b><br>
</div>
<div class="be">
<audio id="botentered" src="sounds/new-item.mp3" type="audio/mp3"></audio><input type="image" src="https://i.imgur.com/DerV5hu.png" onclick="audiobe();"/><input type="image" src="https://i.imgur.com/jHVbUvE.png" onclick="audiobeup();" value="Volume Max"/><input type="image" src="https://i.imgur.com/SwyIqRg.png" onclick="audiobedown();" value="Volume Lowered"/><input type="image" src="https://i.imgur.com/tViMF8c.png" onclick="audiobemute();" value="Volume Mute"/><b><font size="56" style="color:white;">Bot joins</font></b><br>
</div>
<div class="won">
<audio id="youwon" src="sounds/win-pot.mp3" type="audio/mp3"></audio><input type="image" src="https://i.imgur.com/DerV5hu.png" onclick="audiowon();"/><input type="image" src="https://i.imgur.com/jHVbUvE.png" onclick="audiowonup();" value="Volume Max"/><input type="image" src="https://i.imgur.com/SwyIqRg.png" onclick="audiowondown();" value="Volume Lowered"/><input type="image" src="https://i.imgur.com/tViMF8c.png" onclick="audiowonmute();" value="Volume Mute"/><b><font size="56" style="color:white;">You won</font></b><br>
</div>
<div class="a">
<audio id="accepted" src="sounds/click.wav" type="audio/wav"></audio><input type="image" src="https://i.imgur.com/DerV5hu.png" onclick="audioa();"/><input type="image" src="https://i.imgur.com/jHVbUvE.png" onclick="audioaup();" value="Volume Max"/><input type="image" src="https://i.imgur.com/SwyIqRg.png" onclick="audioadown();" value="Volume Lowered"/><input type="image" src="https://i.imgur.com/tViMF8c.png" onclick="audioamute();" value="Volume Mute"/><b><font size="56" style="color:white;">Accepted</font></b><br>
</div>
<div class="mc">
<audio id="menu" src="sounds/menuclick.wav" type="audio/wav"></audio><input type="image" src="https://i.imgur.com/DerV5hu.png" onclick="audiomc();"/><input type="image" src="https://i.imgur.com/jHVbUvE.png" onclick="audiomcup();" value="Volume Max"/><input type="image" src="https://i.imgur.com/SwyIqRg.png" onclick="audiomcdown();" value="Volume Lowered"/><input type="image" src="https://i.imgur.com/tViMF8c.png" onclick="audiomcmute();" value="Volume Mute"/><b><font size="56" style="color:white;">Menu</font></b><br>
</div>
<div class="ub">
<audio id="unbox" src="sounds/itemreveal.mp3" type="audio/mp3"></audio><input type="image" src="https://i.imgur.com/DerV5hu.png" onclick="audioub();"/><input type="image" src="https://i.imgur.com/jHVbUvE.png" onclick="audioubup();" value="Volume Max"/><input type="image" src="https://i.imgur.com/SwyIqRg.png" onclick="audioubdown();" value="Volume Lowered"/><input type="image" src="https://i.imgur.com/tViMF8c.png" onclick="audioubmute();" value="Volume Mute"/><b><font size="56" style="color:white;">Unbox</font></b><br>
</div>
</div>
<div class="clearGameState">Clear Game Save</div>
</div>
<div class="aboutContainer">
<div class="aboutInfo">
<div class="aboutHeader">Welcome to CaseClicker.</div>
<div class="aboutBody">CaseClicker is an incremental clicker game based around csgo and the jackpot/skin community. The goal is to open cases and get rich.</div>
<div class="aboutDevelopers">
<div class="aboutDev">
<a class="aboutDevName" href="https://steamcommunity.com/id/bnned">banned</a>
<div class="aboutDevDesc">With CSGOClicker just being a thought, banned took it on as a learners project. Since version one, CSGOClicker has come a long way.</div>
</div>
<div class="aboutDev">
<a class="aboutDevName" href="https://steamcommunity.com/id/roflzilla_">roflzilla</a>
<div class="aboutDevDesc">Helping with logic and ideas, roflzilla assists in bringing the project to life.</div>
</div>
<div class="aboutDev">
<a class="aboutDevName" href="https://steamcommunity.com/id/KingofKFC">King of KFC Jamal</a>
<div class="aboutDevDesc">Continuing the project by editing and providing updates for it.</div>
</div>
</div>
<div class="aboutLinks"></div>
</div>
</div>
<div class="tooltipAnchor"></div>
<div class="main">
<div class="modalWindow">
<div class="modalMain">
</div>
</div>
<canvas id="drawing"></canvas>
<!-- <canvas id="canvas"></canvas> -->
<div class="left">
<div class="display">
<div class="jackpot">
<div class="jackpotTopContainer">
<div class="jackpotTop">
<!--
<div class="canvasContainer">
<canvas id="canvasCircle" width="450" height="450"></canvas>
</div>
-->
<div class="jackpotStats">
<div class="jackpotCountDownLabel">Time Left</div>
<div class="jackpotCountDown">00</div>
<div class="winnerIs"></div>
<div class="jackpotCurrentWorth"></div>
<div class="jackpotPercentOfTickets"></div>
</div>
<div class="depositorLabel">
<div class="depositorNameLabel">Name</div>
<div class="depositorPriceLabel">Price</div>
<div class="depositorItemsLabel">Items</div>
</div>
</div>
</div>
<div class="jackpotBottomContainer">
<div class="depositorMainInfo">
</div>
<div class="depositorContainer">
<!--
<div class="jackpotDepositor">
<div class="depositorInfo">
<img src="http://i.imgur.com/BzuCWzL.png" class="depositorProPic" id="">
<div class="depositorName">Platinum (diff7)</div>
<div class="depositorValue">$942.65</div>
<div class="depositorSkinContainer">
<div class="depositorSkin">
<div class="itemPrice">$5.50</div>
<img src="">
</div>
</div>
</div>
</div>
-->
</div>
</div>
</div>
<div class="unboxing">
<div class="backgroundImage"></div>
<div class="caseDisplay" id="case">
<img src="https://steamcommunity-a.akamaihd.net/economy/image/-9a81dlWLwJ2UUGcVs_nsVtzdOEdtWwKGZZLQHTxDZ7I56KU0Zwwo4NUX4oFJZEHLbXU5A1PIYQNqhpOSV-fRPasw8rsUFJ5KBFZv668FFUuh6qZJmlD7tiyl4OIlaGhYuLTzjhVupJ12urH89ii3lHlqEdoMDr2I5jVLFFSv_J2Rg/240fx182f" id="caseDisplayImage" />
<div class="caseInfoContainer">
<div class="caseName" id="caseName"></div>
<div class="priceContainer">
<div class="casePrice" id="casePrice"></div>
<div class="keyPrice" id="keyPrice"></div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="right">
<div class="mainInfo">
<div class="mainInfoLabel wallet">Wallet: <span class="money" id="money"></span></div>
<div class="mainInfoLabel inv" id="invSpace">Inventory Space: <span class="inventorySpace" id="inventorySpace"></span> <div class="mainInfoLabelWarning tt" data-tt="Inventory over max capacity."><i class="fa fa-exclamation-triangle"></i></div></div>
</div>
<div class="tabContainer">
<div class="tab active" id="inventoryTab">Inventory</div>
<div class="tab" id="upgradeTab">Shop</div>
<div class="tab" id="caseTab">Case</div>
<div class="tab" id="jackpotTab">Jackpot</div>
<div class="tab" id="coinTab">Coin Flip</div>
</div>
<div class="rightMain">
<div class="inventoryContainer">
<div class="inventoryTagContainer"><span class="inventoryTag">Inventory</span><span class="inventoryValue">Value: </span></div>
<div class="inventoryItemContainer">
</div>
<!--
<div class="inventoryItem">
<div class="itemPrice">$5.50</div>
<img src="http://steamcommunity-a.akamaihd.net/economy/image/-9a81dlWLwJ2UUGcVs_nsVtzdOEdtWwKGZZLQHTxDZ7I56KU0Zwwo4NUX4oFJZEHLbXH5ApeO4YmlhxYQknCRvCo04DEVlxkKgposbaqKAxf0v73dS9D69O4q4eHmPT_DLfYkWNF18lwmO7Eu4mh2lXj-RJtajjxJoWcIQ83Y13X-QO2ye_ojJ61u8yfynUwvXYq4XbD30vgIiQpgfY/360fx360f">
</div>
-->
</div>
<div class="upgradeContainer">
<div class="stackingUpgradeContainer">
</div>
<div class="permUpgradeContainer">
<div class="permUpgrade" id="permUpgrade1"><i class="fa fa-cubes fa-2x"></i><span class="permUpgradeLabel" id="permUpgradeLabel1">..........</span></div>
<div class="permUpgrade locked" id="permUpgrade2"><i class="fa fa-exchange fa-2x"></i><span class="permUpgradeLabel" id="permUpgradeLabel2">..........</span></div>
<div class="permUpgrade locked" id="permUpgrade3"><i class="fa fa-cubes fa-2x"></i><span class="permUpgradeLabel" id="permUpgradeLabel3">..........</span></div>
<div class="permUpgrade locked" id="permUpgrade4"><i class="fa fa-cubes fa-2x"></i><span class="permUpgradeLabel" id="permUpgradeLabel4">..........</span></div>
</div>
<!--
<div class="upgrade cantAfford">
<div class="upgradePicture"></div>
<div class="upgradeInfo">
<div class="upgradeName">Test Upgrade</div>
<div class="upgradeDesc">Test Description lorem ipsum dolar sit amet</div>
<div class="upgradePrice">$999999999.00</div>
</div>
</div>
-->
</div>
<div class="caseContainer">
<!--
<div class="case locked">
<div class="casePicture"></div>
<div class="caseInfo">
<div class="caseName"></div>
<div class="caseValue"></div>
</div>
</div>
-->
</div>
<div class="jackpotRightContainer">
<div class="jackpotDifficultyContainer">
<div class="jackpotDifficulty active" id="low">Low</div>
<div class="jackpotDifficulty" id="medium">Medium</div>
<div class="jackpotDifficulty" id="high">High</div>
</div>
<div class="inventoryTagContainer"><span class="inventoryTag">Inventory</span><span class="inventoryValue">Value: </span></div>
<div class="jackpotRightPlayer"></div>
<div class="jackpotRightSTBTag">Skins to bet:</div>
<div class="jackpotRightToBet"></div>
<div class="jackpotRightInfo">
<div class="jackpotRightValue"><span class="spanTag">Value: </span><span class="jackpotRightValueTotal">$0.00</span></div>
<div class="jackpotRightSkins"><span class="spanTag">Skins: </span><span class="jackpotRightSkinsTotal">0/6</span></div>
<div class="jackpotRightStartButton">Enter Jackpot</div>
</div>
</div>
<div class="coinContainer"><br><br><br>
<center><button onclick="myFunction()"><img src="http://i.imgur.com/Ga7WRKc.png"></button></center>
</div>
<div class="tradeButtonContainer">
<div class="tradeButton" id="acceptButton">ACCEPT</div>
</div>
</div>
</div>
</div>
<script src="./js/script.js" type="text/javascript"></script>
</body>
</html>