-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
68 lines (62 loc) · 2.54 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Click the Target Game</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div id="game-area"></div>
<div id="top-bar">
<div id="hit-counter">Hits: 0</div>
<div id="time-counter">Time: 10</div>
</div>
<div id="result">You clicked 0 targets!</div>
<div id="pre-game-modal" class="modal">
<div class="modal-content">
<h2>Game Settings</h2>
<div class="form-group">
<label for="map-select">Map (Seed):</label>
<input type="number" id="map-select" value="1" min="1" step="1">
</div>
<div style="display: none">
<div class="form-group">
<label for="cursor-select">Cursor Type:</label>
<select id="cursor-select">
<option value="default">Default OS Cursor</option>
<option value="circular-white">Circular White</option>
<option value="circular-red">Circular Red</option>
<!-- Add more cursor options as needed -->
</select>
</div></div>
<div class="form-group">
<label for="circle-radius">Circle Radius:</label>
<input type="range" id="circle-radius" min="10" max="100" value="30">
<span id="radius-value">20</span> units
</div>
<div class="form-group">
<input type="checkbox" id="fullscreen-checkbox" checked="checked">Full Screen
</div>
<button id="start-game-btn">Start Game</button>
</div>
</div>
<div id="pause-message">Game Paused. Please return to fullscreen to resume. <button id="resume-btn">Resume</button></div>
<!-- New Stats Modal -->
<div id="stats-modal" class="modal">
<div class="modal-content">
<span class="close">×</span>
<h2>Game Statistics</h2>
<div id="stats-content"></div>
<canvas id="stats-chart"></canvas>
<!-- <div id="stats-buttons" class="dock-bottom">
<button id="retry-btn">Retry Spam</button>
<button id="next-map-btn">Next Map</button>
<button id="configure-btn">Configure</button>
</div> -->
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
<script src="script.js"></script>
</body>
</html>