-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
70 lines (70 loc) · 2.45 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Advanced Cookie Clicker</title>
<!-- Google Fonts -->
<link href="https://fonts.googleapis.com/css2?family=Kavoon&family=Roboto:wght@400;700&display=swap" rel="stylesheet">
<!-- External Stylesheet -->
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div id="mainContainer">
<!-- Left Panel -->
<div id="leftPanel">
<!-- Settings Button -->
<div id="settingsButton" onclick="openSettings()">⚙️</div>
<!-- Cookie Section -->
<div id="cookieSection">
<div id="cookie"></div>
<div id="counter">Cookies: 0</div>
<div id="cpsCounter">CPS: 0</div>
</div>
<!-- Upgrades Section -->
<div id="upgrades">
<!-- Upgrades will be dynamically added here -->
</div>
<!-- Prestige Button -->
<div id="prestigeButton" onclick="prestige()">Reincarnate</div>
</div>
<!-- Right Panel -->
<div id="rightPanel">
<!-- Toggle Buttons -->
<div id="toggleButtons">
<div class="toggle-button" onclick="setPurchaseAmount(1)" id="toggle-1">1</div>
<div class="toggle-button" onclick="setPurchaseAmount(10)" id="toggle-10">10</div>
<div class="toggle-button" onclick="setPurchaseAmount(100)" id="toggle-100">100</div>
<div class="toggle-button" onclick="setPurchaseAmount('max')" id="toggle-max">Max</div>
</div>
<!-- Buildings Section -->
<div id="buildings">
<!-- Buildings will be dynamically added here -->
</div>
</div>
</div>
<!-- Achievements Modal -->
<div id="achievementsModal">
<div id="achievementsModalContent">
<div class="close-modal" onclick="closeAchievements()">✖</div>
<h2>Achievements</h2>
<div id="achievementsList"></div>
</div>
</div>
<!-- Settings Modal -->
<div id="settingsModal">
<div id="settingsModalContent">
<div class="close-modal" onclick="closeSettings()">✖</div>
<h2>Settings</h2>
<label>
<input type="checkbox" id="soundToggle" onchange="toggleSound()"> Sound Effects
</label>
<label>
<input type="checkbox" id="notificationsToggle" onchange="toggleNotifications()"> Notifications
</label>
<button onclick="resetGame()">Reset Game</button>
</div>
</div>
<!-- External JavaScript -->
<script src="script.js"></script>
</body>
</html>