-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
44 lines (44 loc) · 2.38 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
<html>
<head>
<title>Rhythm</title>
<link rel="stylesheet" href="assets/styling/stylesheet.css" type="text/css">
<img id="arrow" src="./assets/pictures/arrow_button.png" alt="arrow" style="display:none"/>
<img id ="right" src="./assets/pictures/Note_Right.png" alt="notes" style="display:none"/>
<img id ="left" src="./assets/pictures/Note_Left.png" alt="notes" style="display:none"/>
<img id ="up" src="./assets/pictures/Note_Up.png" alt="notes" style="display:none"/>
<img id ="bg" src="./assets/pictures/background.png" alt="bg" style="display:none"/>
<img id ="down" src="./assets/pictures/Note_Down.png" alt="notes" style="display:none"/>
<audio class="sound" id="music" src="./assets/audio/loud_pipe.mp3"></audio>
<script src="https://code.jquery.com/jquery-2.2.3.min.js" integrity="sha256-a23g1Nt4dtEYOj7bR+vTu7+T8VP13humZFBJNIYoEJo=" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
</head>
<body>
<canvas id="canvas" class="canvas"></canvas>
<button id="start">Start Game</button>
<button id="retry" class="hidden">Retry</button>
<!-- <script type="application/javascript" src="vendor/keymaster.js"></script> -->
<script type="application/javascript" src="./bundle.js"></script>
<div class="git">
<img onclick="window.open('https://github.com/phchung/Keyboard-Hero');" src="./assets/pictures/git_logo.png"/ width="60px" height="60px" style="cursor: pointer">
</div>
<div class="modal fade" id="myModal" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<h4 class="modal-title">Welcome to Keyboard Hero!</h4>
</div>
<div class="modal-body">
<div class="instruction_text">
<div id="numbered_instruction">
<div>1. Use Q W E R to match the timing of the floating arrows </div>
<div>2. 100 Points are rewarded for every matched arrow</div>
</div>
</div>
<img class="arrow_instruction" src="./assets/pictures/instruction_arrow.png"/>
</div>
</div>
</div>
</body>
</html>