-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
64 lines (62 loc) · 3 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Crystal Game</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<link rel="stylesheet" type="text/css" href="assets/css/style.css">
</head>
<body>
<div class="container-fluid">
<div class="row">
<h1 class="text-center">CRYSTAL COLLECTOR</h1>
</div>
<br>
<div class="container">
<div class="row jumbotron">
<p class="text-center">You will be assigned a random target number to start the game.</p>
<p class="text-center">Below you will find four magic crystals. Clicking a crystal will add a specific number of points to your total score.</p>
<p class="text-center">To win the game, match your score with the target number. Be careful not to exceed the target.</p>
<p class="text-center">Warning: Crystal values may change for subsequent games!</p>
</div>
<br>
<div class="row">
<div class="col-xs-6 col-sm-4 col-sm-offset-1 well well-lg text-center row1">
<h3>TARGET SCORE:</h3>
<p id="targetScore"></p>
</div>
<div class="col-xs-6 col-sm-4 col-sm-offset-2 well well-lg text-center row1">
<h4 id="winCount">WINS : 0</h4>
<h4 id="lossCount">LOSSES : 0</h4>
</div>
</div>
<div class="row">
<div class="col-xs-6 col-sm-3">
<img class="img-responsive center-block clickMe" id=ruby src="assets/images/Ruby-gem-icon.png" alt="Ruby" data-num="0">
</div>
<div class="col-xs-6 col-sm-3">
<img class="img-responsive center-block clickMe" id=blue src="assets/images/Blue-sapphire-icon.png" alt="Sapphire" data-num="1">
</div>
<div class="col-xs-6 col-sm-3">
<img class="img-responsive center-block clickMe" id=yellow src="assets/images/Gold-zircon-icon.png" alt="Zircon" data-num="2">
</div>
<div class="col-xs-6 col-sm-3">
<img class="img-responsive center-block clickMe" id=purple src="assets/images/Purpl-diamond-icon.png" alt="Diamond" data-num="3">
</div>
</div>
<br>
<div class="row">
<div class="col-xs-8 col-xs-offset-2 col-sm-4 col-sm-offset-4 well well-lg text-center row3">
<h3>PLAYER SCORE:</h3>
<p id="playerScore"></p>
</div>
</div>
</div>
</div>
<script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
<script src="assets/javascript/game.js">
</script>
</body>
</html>