This repository has been archived by the owner on Nov 10, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 36
/
index.html
139 lines (130 loc) · 5.92 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-8HZ96T7NQD"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'G-8HZ96T7NQD');
</script>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href='https://fonts.googleapis.com/css?family=Rubik Vinyl' rel='stylesheet'>
<link rel="stylesheet" href="./assets/css/all.min.css">
<link rel="stylesheet" href="./assets/css/rpg-awesome.min.css">
<link rel="stylesheet" href="./assets/css/style.css">
<link rel="icon" type="image/png" href="./assets/icon/favicon.ico">
<script src="./assets/js/howler.min.js"></script>
<title>Dungeon Crawler on Demand!</title>
</head>
<body>
<main>
<!-- ===== Rooms ===== -->
<!-- Title Screen -->
<section id="title-screen" class="game-container">
<div>
<i class="fa-solid fa-dungeon fa-5x"></i>
<h1>Dungeon Crawler on Demand!</h1>
</div>
<p>Tap to explore the dungeon</p>
</section>
<!-- Character Creation -->
<section id="character-creation" class="game-container">
<form id="name-submit">
<h1>What is your name?</h1>
<input type="text" id="name-input" autocomplete="off">
<p id="alert"></p>
<button type="submit">Confirm</button>
</form>
</section>
<!-- Hub -->
<section id="dungeon-main" class="game-container scrollable">
<header>
<p id="player-name"></p>
<p id="player-exp"></p>
<p id="player-gold"></p>
<button onclick="openInventory()"><i class="fas fa-bars" style="font-size: 1.3rem;"></i></button>
</header>
<div class="stat-panel">
<div class="box">
<h4>Stats</h4>
<p><i class="fas fa-heart"></i>HP: <span id="player-hp"></span></p>
<p><i class="ra ra-sword"></i>ATK: <span id="player-atk"></span></p>
<p><i class="ra ra-round-shield"></i>DEF: <span id="player-def"></span></p>
<p><i class="ra ra-plain-dagger"></i>ATK.SPD: <span id="player-atkspd"></span></p>
<p><i class="ra ra-dripping-blade"></i>VAMP: <span id="player-vamp"></span></p>
<p><i class="ra ra-lightning-bolt"></i>C.RATE: <span id="player-crate"></span></p>
<p><i class="ra ra-focused-lightning"></i>C.DMG: <span id="player-cdmg"></span></p>
</div>
<div class="box" id="bonus-stats"></div>
</div>
<div class="dungeon-head">
<p id="dungeonTime"></p>
<p id="floorCount"></p>
<p id="roomCount"></p>
<button id="dungeonActivity"></button>
</div>
<div class="logBox primary-panel">
<p id="dungeonAction"></p>
<div id="dungeonLog"></div>
</div>
</section>
<!-- ===== Utility ===== -->
<div id="loading" class="game-container">
<div class="loader"></div>
</div>
<!-- ===== Modals ===== -->
<div class="modal-container" id="inventory">
<div class="content">
<div class="content-head">
<h3>Inventory</h3>
<p onclick="closeInventory()"><i class="fa fa-xmark"></i></p>
</div>
<div class="content-head">
<button id="sell-all">Sell</button>
<select id="sell-rarity">
<option class="Common" value="Common">Common</option>
<option class="Uncommon" value="Uncommon">Uncommon</option>
<option class="Rare" value="Rare">Rare</option>
<option class="Epic" value="Epic">Epic</option>
<option class="Legendary" value="Legendary">Legendary</option>
<option class="Heirloom" value="Heirloom">Heirloom</option>
<option class="Common" value="All">All</option>
</select>
</div>
<div class="inventorySlots" id="playerInventory"></div>
<div class="stat-panel">
<div class="box">
<div class="box-head">
<h4>Equipment</h4>
<p id="unequip-all"><i class="fa fa-circle-xmark"></i></p>
</div>
<div id="playerEquipment"></div>
</div>
</div>
<button id="menu-btn">Menu</button>
</div>
</div>
<div class="modal-container" id="equipmentInfo"></div>
<div class="modal-container" id="combatPanel"></div>
<div class="modal-container" id="lvlupPanel">
<div class="content" id="lvlupSelect"></div>
</div>
<div class="modal-container" id="defaultModal"></div>
<div class="modal-container" id="menuModal"></div>
<div class="modal-container" id="confirmationModal"></div>
</main>
<script src="./assets/js/utility.js"></script>
<script src="./assets/js/elements.js"></script>
<script src="./assets/js/music.js"></script>
<script src="./assets/js/player.js"></script>
<script src="./assets/js/equipment.js"></script>
<script src="./assets/js/combat.js"></script>
<script src="./assets/js/dungeon.js"></script>
<script src="./assets/js/enemy.js"></script>
<script src="./assets/js/main.js"></script>
</body>
</html>