forked from wdi-sg/project-1
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
66 lines (59 loc) · 1.95 KB
/
Copy pathindex.html
File metadata and controls
66 lines (59 loc) · 1.95 KB
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Star Power !</title>
<link rel="stylesheet" type= "text/css" href="./assets/css/stylesheet.css">
<link href="https://fonts.googleapis.com/css?family=Press+Start+2P" rel="stylesheet">
</head>
<body>
<!-- <h1> Star Power !</h1> -->
<aside class ="leaderBoard">
</aside>
<aside class ="sideinstructions">
<h3> ArrowKeys to move Left & Right. Avoid Ghost! Collect Stars! 30seconds! Go! </h3>
</aside>
<div class = "container">
<div class = "clickme">
<h5> Star Power! </h5>
<button id="startbtn" type="button "><img src="./assets/images/PinkCatGirl.gif"></button>
<h5> Click Me! </h5>
</div>
<audio src="./assets/sound/flicker.mp3"autoplay>
</audio>
<div class = "timer">
Time: 30
</div>
<div class = "score">
Score: 0
</div>
<div class = "gameover">
<h6>Score: 0</h6>
</div>
<div class = "highscore">
</div>
</div>
<div class = "bottom">
<div class = "instructions">
<h2> <img src="./assets/images/catGhost.gif">
<img src="./assets/images/star2.gif">
<img src="./assets/images/star3.gif">
<img src="./assets/images/star6.gif">
<img src="./assets/images/bottleStar.gif">
</h2>
<div class="wrapper">
<div class="one">Score:-3 Time:-1.5s</div>
<div class="two">Score:+1 Time:+0</div>
<div class="three">Score:+2 Time:+0 </div>
<div class="four">Score:+3 Time:+0s</div>
<div class="five">Score:+4 Time:+1s</div>
</div>
</div>
<div class = "gamestart">
<button id="restartbtn">Play Again</button>
</div>
</div>
<script src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
<script src="./assets/js/script.js" charset="utf-8"></script>
</body>
</html>