-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
25 lines (25 loc) · 848 Bytes
/
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>RPG Adventure Game</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="game-container">
<h1>RPG Adventure Game</h1>
<div id="battle-log"></div>
<div class="stats">
<div id="hero-stats">Hero: ❤️ <span id="hero-health">100</span></div>
<div id="monster-stats">Monster: ❤️ <span id="monster-health">50</span></div>
</div>
<div class="inventory">
<button id="attack-btn">Attack</button>
<button id="heal-btn">Heal (Potion)</button>
<button id="inventory-btn">Inventory</button>
</div>
</div>
<script src="script.js"></script>
</body>
</html>