-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
69 lines (63 loc) · 2.6 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Rhythm Game</title>
<link rel="stylesheet" href="style.css">
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🧠</text></svg>" />
</head>
<body>
<div id="game-container">
<!-- Game Screen -->
<div id="note-container"></div>
<div id="hit-zone-container"></div>
<!-- Pause Button -->
<button id="pause-btn">Pause</button>
<!-- Score and Combo Displays -->
<div id="score">Score: 1000</div>
<div id="combo">Combo: 0</div>
</div>
<!-- Admin Panel HTML (Initially hidden) -->
<div id="admin-panel" style="display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.7); color: white; font-size: 20px; padding: 20px;">
<h2>Admin Panel</h2>
<label for="set-score">Set Score:</label>
<input type="number" id="set-score" value="1000" min="0" step="1">
<button id="save-score">Save Score</button>
<button id="close-admin-panel">Close</button>
</div>
<!-- Cogwheel Button -->
<button id="cogwheel"><span>⚙️</span></button>
<div id="song-menu">
<div id="song-selection">
<h3>Song Selection</h3>
<ul id="song-list">
<li class="song-btn" data-path="timokapper.mp3">Timo</li>
<li class="song-btn" data-path="tetris.mp3">Tetris Theme</li>
<li class="song-btn" data-path="">Song 3</li>
</ul>
</div>
<div class="divider"></div>
<div id="speed-controls">
<h3>Speed Control</h3>
<button id="speed-up" class="control-btn">Speed Up</button>
<button id="slow-down" class="control-btn">Slow Down</button>
</div>
<div class="divider"></div>
<div id="other-settings">
<h3>Other Settings</h3>
<div>
<label>
Hardcore Mode:
<input type="checkbox" id="hardcore-mode-toggle" style="display: none;">
</label>
</div>
<!-- Additional settings can go here -->
<button id="secret-btn" style="display: none;">Secret Admin Panel</button>
<button id="wipe" class="control-btn">Reset Highest Score</button>
</div>
<h3>Made by Jurre</h3>
</div>
<script src="game.js"></script>
</body>
</html>