41 lines
1.6 KiB
HTML
41 lines
1.6 KiB
HTML
<!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="text_horror/style.css">
|
|
<script src="text_horror/app.js"></script>
|
|
<title>TextHorror</title>
|
|
</head>
|
|
|
|
<body onpageshow="load()">
|
|
<p onclick="resetGame()"> <u>Reset</u></p>
|
|
<div hidden="true" class="box" id="fight">
|
|
<img draggable="false" id="enemy-texture"><br>
|
|
<p><span id="enemy-name"></span> Leben: <span id="enemy-health"></span></p>
|
|
<img draggable="false" onclick="fight()" src="text_horror\assets\sword.png" width="100px">
|
|
<br><br><br>
|
|
<p><span id="weapon"></span>
|
|
(<span id="weapon-damage"></span>)
|
|
|
|
Leben:<span id="health"></span>
|
|
</p>
|
|
</div>
|
|
<div class="box" id="bubble" onclick="nextDlg()">
|
|
<p id="title"></p>
|
|
<p id="dlg-text"></p>
|
|
</div>
|
|
<div hidden="true" id="answer-box">
|
|
<p class="answer" id="0" onclick="answered(this.id)"></p>
|
|
<p class="answer" id="1" onclick="answered(this.id)"></p>
|
|
<p class="answer" id="2" onclick="answered(this.id)"></p>
|
|
<p class="answer" id="3" onclick="answered(this.id)"></p>
|
|
</div>
|
|
<img draggable="false" hidden="true" id="triangle" src="text_horror/assets/triangle.png">
|
|
<p class="thx-for-playing">Danke fürs spielen!</p>
|
|
<p class="thx-for-playing" onclick="reloadGame()"><br><br><u>Zum letzten Checkpoint</u></p>
|
|
</body>
|
|
|
|
</html> |