-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
55 lines (55 loc) · 2.32 KB
/
index.html
File metadata and controls
55 lines (55 loc) · 2.32 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Deadline Dread - Prototype V3.0.0</title>
<link rel="stylesheet" href="/src/style.css" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
</head>
<body>
<h1>Deadline Dread</h1>
<div id="game-container">
<canvas id="gameCanvas"></canvas>
<div id="startScreen" class="overlay">
<div class="overlay-content">
<h2>Welcome, Developer!</h2>
<p>A nightmare unfolds. Survive the onslaught of... 'features'!</p>
<p>Use <strong>W, A, S, D</strong> keys to move. You auto-attack.</p>
<button id="startButton">Start Surviving</button>
</div>
</div>
<div id="gameOverScreen" class="overlay" style="display: none;">
<div class="overlay-content">
<h2>Issue Unresolved!</h2>
<p>You've been overwhelmed by the backlog.</p>
<p>Time Survived: <span id="timeSurvived">00:00</span></p>
<p>Level Reached: <span id="levelReachedDisplay">1</span></p>
<button id="restartButton">Try Again?</button>
</div>
</div>
<div id="levelUpScreen" class="overlay" style="display: none;">
<div class="overlay-content">
<h2>Level Up! Choose an Upgrade:</h2>
<div id="upgradeOptionsContainer">
<!-- Upgrade buttons will be dynamically added here by JS -->
</div>
</div>
</div>
<div id="hud">
<div>Health: <span id="playerHealth">100</span></div>
<div>Time: <span id="gameTimer">00:00</span></div>
<div>Level: <span id="playerLevel">1</span></div>
<div>XP: <div id="xpBarContainer"><div id="xpBar"></div></div></div>
</div>
</div>
<div class="footer-version">
Prototype Version 3.0.0 – For Testing Only
|
<a href="https://github.com/jshields-ca/deadlinedread" target="_blank" rel="noopener">GitHub</a>
|
<a href="https://scootr.ca" target="_blank" rel="noopener">scootr.ca</a>
</div>
<script type="module" src="/src/main.js"></script>
</body>
</html>