-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
48 lines (45 loc) · 2.13 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
44
45
46
47
48
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Hangman!</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css" integrity="sha384-rwoIResjU2yc3z8GV/NPeZWAv56rSmLldC3R/AZzGRnGxQQKnKkoFVhFQhNUwEyJ"
crossorigin="anonymous">
<link rel="stylesheet" href="assets/css/style.css" />
<script src="assets/js/game.js" type="text/javascript"></script>
</head>
<body>
<div class="container">
<img id="title-image" src="assets/images/hangman-title.jpg" alt="Hangman Title Image" />
<div class="row">
<div class="col-md-6 gameplay-column">
<img id="youwin-image" src="assets/images/you-win.jpg" alt="Winning Image" />
<img id="gameover-image" src="assets/images/gameover.jpg" alt="Game Over Image" />
<h2 id="pressKeyTryAgain">Press Any Key to Try Again!</h2>
<img id="hangmanImage" src="" alt="" />
</div>
<div class="col-md-6 gameplay-column">
<h2>Press A-Z to Make a Guess!</h2>
<h4>Wins</h4>
<h5 id="totalWins"></h5>
<h4>Current Word</h4>
<h3 id="currentWord"></h3>
<h4>Guesses Remaining</h4>
<h6 id="remainingGuesses"></h6>
<h4>Letters Guessed</h4>
<h3 id="guessedLetters"></h3>
</div>
</div>
</div>
<script>
resetGame();
updateDisplay();
</script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/tether/1.4.0/js/tether.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/js/bootstrap.min.js" integrity="sha384-vBWWzlZJ8ea9aCX4pEW3rVHjgjt7zpkNpZk+02D9phzyeVkE+jo0ieGizqPLForn"
crossorigin="anonymous"></script>
</body>
</html>