-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
30 lines (25 loc) · 959 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
26
27
28
29
30
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<title>Text Adventure</title>
<script src="src/baseobjects.js"></script>
<script src="src/adjectives.js"></script>
<script src="src/items.js"></script>
<script src="src/monsters.js"></script>
<script src="src/rooms.js"></script>
<script src="src/player.js"></script>
<script src="src/app.js"></script>
<link rel="stylesheet" href="style.css">
</head>
<body onload="TEXTAPP.start({descriptionClass:'description', textInput:'inputText', submitButtonId:'submitText', historyClass:'history'});">
<div class="descriptionInput">
<div class="description" ></div>
<div class="input">
<input id="inputText" type="text" onkeypress="if (event.keyCode == 13) document.getElementById('submitText').click()">
<button id="submitText">Enter</button>
</div>
</div>
<div class="history"></div>
</body>
</html>