-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
37 lines (30 loc) · 1.38 KB
/
index.html
File metadata and controls
37 lines (30 loc) · 1.38 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Interactive Game Hub</title>
<link rel="stylesheet" href="style.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&display=swap" rel="stylesheet">
</head>
<div class="bg-animation"></div>
<!-- UI Overlay -->
<div style="position: absolute; top: 0; left: 0; padding: 20px; z-index: 10;">
<h1 style="margin: 0; font-size: 24px; color: white; text-shadow: 0 0 10px rgba(0,0,0,0.5);">Interactive Game Hub
</h1>
<p style="margin: 5px 0 0; color: #ccc;">Use WASD or Arrows to move. Walk into portals to play.</p>
</div>
<div style="position: absolute; top: 20px; right: 20px; z-index: 10;">
<a href="community.html" class="nav-link"
style="color: white; margin-right: 20px; text-decoration: none;">Community</a>
<a href="login.html" class="nav-link" style="color: white; text-decoration: none;">Login</a>
</div>
<canvas id="gameCanvas" style="display: block;"></canvas>
<!-- Socket.io & Multiplayer -->
<script src="/socket.io/socket.io.js"></script>
<script src="assets/js/multiplayer.js"></script>
<script src="assets/js/lobby.js"></script>
</body>
</html>