-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
50 lines (48 loc) · 2.2 KB
/
index.html
File metadata and controls
50 lines (48 loc) · 2.2 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
<!DOCTYPE html>
<html lang="en">
<head>
<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 rel="stylesheet" href="dicefight.css">
<link rel="icon" href="data/dice.png" type="image/icon type">
<title>Dice Fight!</title>
</head>
<body>
<div id="game">
<p id="placeholder">1</p>
<p id="placeholder2">1</p>
<progress id="hpPY" value="" max=""></progress>
<progress class="hpbar" id="hpPC" value="" max=""></progress>
<p class="diceCounter" id="diceCounterPY">.</p>
<p class="diceCounter" id="diceCounterPC">.</p>
<p id="PCmult">x1.00</p>
<p id="PYmult">x1.00</p>
<p class="hptxt" id="hptxtPY"></p>
<p class="hptxt" id="hptxtPC"></p>
<p id="coin">0</p>
<img src="data/coin.png" class="coinico" id="coinbank"></img>
<img src="data/coin.png" class="coinico" id="refillCoin"></img>
<img src="data/coin.png" class="coinico" id="maxCoin"></img>
<img src="data/coin.png" class="coinico" id="diceCoin"></img>
<p id="level">Level: 1</p>
<p id="winner">Ready for next battle!</p>
<button class="buttons" id="restart">Restart</button>
<button class="buttons" id="highscore" onclick="window.location.href='/highscores.html'">High Scores </button>
<button class="buttons" id="rollDice">Roll Dice </button>
<button class="buttons" id="refillHp">Restore +3 HP 3</button>
<button class="buttons" id="maxHp">Upgrade +2 HP 6</button>
<button class="buttons" id="diceBoost">Boost dice +1 2</button>
<div class="form" id="highscoreForm">
<label for="fname">Your name:</label><br>
<input type="text" id="fname" value="hakandede"><br>
<input type="button" onclick="highScoreButton()" value="Submit">
<p>Your score is!</p>
<p id="scoreForm">00</p>
</div>
<p class="form" id="formFiller"></p>
<script src="dicefight.js"></script>
<p id="info">Hakan Uludag @ 2022</p>
</div>
</body>
</html>