-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
38 lines (34 loc) · 1.5 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
<!DOCTYPE html>
<html>
<head>
<title>Crystal Collector</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<link rel="stylesheet" type="text/css" href="assets/css/reset.css">
<link rel="stylesheet" type="text/css" href="assets/css/style.css">
</head>
<body>
<div id="container">
<h1>~Game of Numbers~</h1>
<h2>Winter is Here!</h2>
<p>You will be given a random number at the start of the game.
<br> There are four crystals below.By clicking on a crystal you will add a specific amount of points to your total score.
<br> You win the game by matching your total score to random number, you lose the game if your total score goes above the random number.
<br> The value of each crystal is hidden from you until you click on it.
<br> Each time when the game starts, the game will change the values of each crystal.</p>
<p id="randomNum"></p>
<div class="row">
<p>Match These Numbers!</p>
<div id="images">
<img id="stark1" src="assets/images/jon.jpg">
<img id="stark2" src="assets/images/arya.jpg">
<img id="stark3" src="assets/images/bran.jpg">
<img id="stark4" src="assets/images/sansa.jpg">
</div>
</div>
<p id="score"></p>
<p id="result"></p>
</div>
<script type="text/javascript" src="assets/javascript/game.js">
</script>
</body>
</html>