-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·43 lines (33 loc) · 1.4 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
<html>
<head>
<meta charset="utf-8">
<title>Mocha Tests</title>
<link href="lib/mocha.css" rel="stylesheet" />
<link href="styles.css" rel="stylesheet" />
</head>
<body>
<!-- 👍 YOUR HTML HERE 👍 -->
<div>
<h1>Hero Game</h1>
<button onclick="newPlayer()">New Player</button>
<h2>Stats</h2>
<div id="heroStats"></div>
</div>
<img src="images/png/001-inn.png" alt="inn" id="inn" />
<img src="images/png/002-miscellaneous.png" alt="dagger" id="dagger">
<img src="images/png/003-bag.png" alt="bag" id="bag">
<div>Icons made by <a href="https://www.flaticon.com/authors/freepik" title="Freepik">Freepik</a> from <a href="https://www.flaticon.com/" title="Flaticon">www.flaticon.com</a></div>
<div> Icons made by <a href="https://www.flaticon.com/authors/darius-dan" title="Darius Dan">Darius Dan</a> from <a href="https://www.flaticon.com/" title="Flaticon">www.flaticon.com</a></div>
<!-- I RECOMMEND YOU LEAVE THE REST UNTOUCHED -->
<button onclick="mocha.checkLeaks(); mocha.run();">Run the tests!</button>
<div id="mocha">
<!-- MOCHA TEST FEEDBACK WILL BE RENDERED HERE -->
</div>
<script src="lib/chai.js"></script>
<script src="lib/mocha.js"></script>
<script src="lib/sinon.js"></script>
<script>mocha.setup('bdd')</script>
<script src="YOUR_JAVASCRIPT_HERE.js"></script>
<script src="lib/game_logic.test.js"></script>
</body>
</html>