-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
78 lines (74 loc) · 4.06 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<!DOCTYPE html>
<html lang="en-us">
<head>
<meta charset="UTF-8">
<title>Star Wars Hangman Trivia</title>
<meta name="description" content="Star Wars Hangman Trivia">
<meta name="keywords" content="Star Wars">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link href="https://fonts.googleapis.com/css?family=Expletus+Sans" rel="stylesheet">
<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" type="text/css" href="assets/css/style.css">
</head>
<body>
<div class="wrapper">
<div class="container middle">
<div id="game">
<header class="row vertical-align pt-3">
<div class="col-5 col-sm-3 col-md-4 text-center">
<img class="banner" src="assets/images/swlogo.png" alt="Star Wars Logo">
</div>
<div class="col-5 col-sm-8 col-md-7 text-center">
<h1 class="d-inline">HANGMAN TRIVIA</h1>
</div>
<div class="col-2 col-sm-1 col-md-1 text-center">
<a id="soundicon" href="#"><img id="mute" src="assets/images/sound_off.png" alt="sound icon" title="sound_icon" onclick="soundModule.changeImage(this)" /></a>
</div>
</header>
<div class="row mt-5 p-1">
<div class="col-12 hidden-md-up">
<p>This game is not currently optimized for tablets or mobile devices. Please play on a desktop computer!</p>
</div>
</div>
<div class="row mt-4 p-3 stage vertical-align">
<div class="col-12 col-md-8 text-center">
<div id="game-status">
<p>Press any key to get started!</p>
</div>
<div>
<p>Star Wars Character</p>
</div>
<div id="hold"></div>
<div id="guessesRemaining"></div>
<p>Letters Already Guessed:</p>
<div id="usedLetters"></div>
<div id="wins"></div>
</div>
<div class="col-12 col-md-4 p-2 image-holder-container">
<div id="image-holder"></div>
</div>
</div>
<div class="row">
<div id="music-holder">
<audio id='musicplayer' preload='auto' autoplay loop>
<source id="musicSource" src="assets/songs/intro.mp3" type='audio/mpeg'> Your browser does not support the audio element.</audio>
</div>
</div>
</div>
</div>
<footer>
<p class="text-center text-white">©
<script>
document.write(new Date().getFullYear());
</script> Xander Rapstine</p>
</footer>
</div>
<script type="text/javascript" src="assets/javascript/game.js"></script>
<script type="text/javascript" src="assets/javascript/sound.js"></script>
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
</body>
</html>