-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
42 lines (40 loc) · 2.18 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Crystal Collector</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" media="screen" href="assets/css/reset.css" />
<link rel="stylesheet" type="text/css" media="screen" href="assets/css/style.css" />
<link rel="shortcut icon" type="image/png" href="assets/images/star-favicon.png"/>
<link async href="https://fonts.googleapis.com/css?family=Fredoka%20One" data-generated="http://enjoycss.com" rel="stylesheet" type="text/css"/>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="assets/javascript/game.js"></script>
</head>
<body background="assets/images/background.jpg" onload="game();">
<div class = "wrapper">
<div class="container">
<div id="content">
<h1>♦ Crystal Collector ♦</h1>
<p>You will be given a random number at the start of the game.</p>
<p>There are four crystals below. By clicking on a crystal you will add a specific amount of points to your total score.</p>
<p>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.</p>
<p>The value of each crystal is hidden from you until you click on it.</p>
<p>Each time when the game starts, the game will change the values of each crystal.</p>
</div>
<table>
<tr>
<td><div id="number"></div></td>
<td><div id="wins-losses"></div></td>
</tr>
</table>
<div id="total-score"></div>
</div>
<button id="rose-gem"><img height="150" width="150" src="assets/images/rose-gem.png"></button>
<button id="amethyst-gem"><img height="150" width="150" src="assets/images/amethyst-gem.png"></button>
<button id="ruby-gem"><img height="150" width="150" src="assets/images/ruby-gem.png"></button>
<button id="sapphire-gem"><img height="150" width="150" src="assets/images/sapphire-gem.png"></button>
</div>
</body>
</html>