-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
108 lines (90 loc) · 4.36 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
<!DOCTYPE html>
<html>
<head>
<title>
Crystal Collector Game
</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="assets/css/reset.css">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<link rel="stylesheet" href="assets/css/style.css">
</head>
<body>
<div class="container-fluid">
<div class="jumbotron">
<h1 class="display-4"> Chrystal Collector !</h1>
<hr class="my-4">
<audio id="themeaudio" controls>
<source src="assets/images/Harry Potter Theme Song.mp3" type="audio/mpeg">
</audio>
<!-- <button class="btn btn-sm btn-primary playaudio" role="button"> Play Theme ! </button>
<button class="btn btn-sm btn-secondary pauseaudio" role="button"> Pause Audio </button> -->
</div>
</div>
<div class="container-fluid">
<div class="row">
<div class="col-md-5">
<div class="row">
<div class="card col-md-12 m-1">
<h5 class="card-header">How to play ? </h5>
<div class="card-body">
<p class="card-text ul">
<li> The Durmstrang School of wizardary is giving a target for hogwarts to meet </li>
<li> Click on house crests to contribute to the score </li>
<li>Keep clicking till you reach the exact target score </li>
<li>If you go above the target you'll lose </li>
</p>
</div>
</div>
</div>
<div class="row">
<div class="card col-md-12 m-1 ">
<h5 class="card-header"> Scoreboard </h5>
<div class="card-body">
<div> Durmstrang challeges you with target : <span id="target-score" class="stats"></span>
</div>
<div> Your score : <span id="user-score" class="stats"></span></div>
</div>
</div>
</div>
<div class="row">
<div class="card col-md-12 m-1">
<h5 class="card-header"> Standings </h5>
<div class="card-body">
<div> Yayy! You won this many times : <span id="wins" class="stats"></span></div>
<div> oops.. You've lost this many times : <span id="losses" class="stats"></span></div>
</div>
</div>
</div>
</div>
<div class="col-md-7">
<div class="row">
<div class="col-md-6 text-center mb-3">
<img id="red-image" class="crestimg" src="assets/images/Gryffindor-flag.jpg" width="250px"
height="250px">
</div>
<div class="col-md-6 ">
<img id="blue-image" class="crestimg" src="assets/images/ravenclaw_flag_full.jpg" width="250px"
height="250px">
</div>
</div>
<div class="row">
<div class="col-md-6 text-center ">
<img id="green-image" class="crestimg" src="assets/images/Best-Slytherin-flag.jpg" width="250px"
height="250px">
</div>
<div class="col-md-6">
<img id="yellow-image" class="crestimg" src="assets/images/hufflepuff_flag.jfif" width="250px"
height="250px">
</div>
</div>
</div>
</div>
</div>
<script type="text/javascript" src="https://code.jquery.com/jquery-3.3.1.slim.min.js"
integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
crossorigin="anonymous"></script>
<script type="text/javascript" src="assets/javascript/game.js"></script>
</body>
</html>