-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
73 lines (66 loc) · 3.22 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
71
72
73
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>PolyDND</title>
<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css" rel="stylesheet">
<!-- Bootswatch Vapor theme -->
<link rel="stylesheet" href="https://bootswatch.com/5/vapor/bootstrap.min.css">
<!-- Your custom styles -->
<style>
/* Add your custom styles here */
</style>
</head>
<body>
<header class="z-depth-1">
<nav class="navbar navbar-expand-lg navbar-dark backer-dark">
<div class="container-fluid">
<a class="navbar-brand" href="https://rebrand.ly/PolyExtended">PolyExtended</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav"
aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav">
<li class="nav-item"><a class="nav-link" href="https://rebrand.ly/PolyExtended">Home</a></li>
<li class="nav-item"><a class="nav-link" href="https://rebrand.ly/polylive">PolyLive</a></li>
<li class="nav-item"><a class="nav-link" href="https://rebrand.ly/PolyStreamLookup">PolyLookup</a></li>
<li class="nav-item"><a class="nav-link" href="https://rebrand.ly/PolyFNShop">Poly - FNSHOP</a></li>
<li class="nav-item"><a class="nav-link" href="https://rebrand.ly/polywyr">Poly - WYR?</a></li>
</ul>
</div>
</div>
</nav>
</header>
<div class="container mt-5">
<!-- Your game content goes here -->
<h1>PolyDND</h1>
<p>Start playing!</p>
<div id="game-container">
<p id="room-description">You find yourself in an empty room. Choose your path:</p>
<button class="btn btn-primary" onclick="exploreRoom('left')">Go Left</button>
<button class="btn btn-primary" onclick="exploreRoom('right')">Go Right</button>
</div>
<p>Player Status:</p>
<div class="progress">
<div id="health-progress" class="progress-bar bg-danger" role="progressbar" style="width: 100%;" aria-valuenow="100" aria-valuemin="0" aria-valuemax="100">Health: 100%</div>
</div>
<p id="player-health">Health: 100</p>
<p id="player-inventory">Inventory: </p>
<p id="player-quests">Quests: </p>
<div id="quest-actions" class="mt-3" style="display: none;">
<p>Quests Actions:</p>
<button class="btn btn-info quest-button" data-quest-id="Find the Poly Sword" disabled>Complete "Find the Poly Sword" Quest</button>
<button class="btn btn-info quest-button" data-quest-id="Rescue the PolyVillager" disabled>Complete "Rescue the PolyVillager" Quest</button>
<!-- Add more buttons for other quests -->
</div>
</div>
<!-- Bootstrap JS and Popper.js (required for Bootstrap) -->
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.6/dist/umd/popper.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.min.js"></script>
<!-- Your custom game script -->
<script src="game.js"></script>
</body>
</html>