-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
78 lines (65 loc) · 2.95 KB
/
Copy pathindex.html
File metadata and controls
78 lines (65 loc) · 2.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
67
68
69
70
71
72
73
74
75
76
77
78
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Memory Game</title>
<link rel="stylesheet prefetch" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.1/css/font-awesome.min.css">
<link rel="stylesheet prefetch" href="https://fonts.googleapis.com/css?family=Roboto">
<link rel="stylesheet" href="css/app.css">
</head>
<body>
<div class="container">
<header>
<h1>Memory Game</h1>
</header>
<section class="overview">
<p>This is a simple card matching game. Click on a card to start the game.<br/>
<a href="#instructions">View instructions below</a>.</p>
</section>
<section class="score-panel">
<ul class="stars">
<li><i class="fa fa-star"></i></li>
<li><i class="fa fa-star"></i></li>
<li><i class="fa fa-star"></i></li>
</ul>
<span class="moves">0</span> Moves
<div class="clock">00:00</div>
<div class="restart">
<i class="fa fa-repeat" title="Restart"></i>
</div>
</section>
<ul class="deck">
</ul>
<section class="instructions">
<a name="instructions"></a>
<h3>How To Play</h3>
<ol class="instructions-list">
<li>The goal is to find cards with matching icons and match all of the cards in the deck.</li>
<li>Click on the card to open and view the icon for that card. The timer starts once you click on the first card of a game.</li>
<li>You can open two cards at a time. If the two cards match, they will remain open. Otherwise, they will flip back over.</li>
<li>Each pair of opened cards counts as one move. Your star rating will decrease with the number of moves taken.</li>
<li>Once all cards are matched, the game is won. You will see a pop-up that shows your Time, Star Rating, and Number of Moves made.</li>
<li>You can use the "Play again" button on the pop-up to start a new game, or you can use the refresh icon on the game board.</li>
</ol>
<div class="back-to-top">
<i class="fa fa-arrow-up" title="Back to top"></i>
</div>
</section>
<div class="modal hide">
<div class="modal-content">
<h3>You win!</h3>
<p>Your time was: <span class="winTime"></span></p>
<p>Number of moves: <span class="winMoves"></span></p>
<p>Star rating: <span class="winRating"></span></p>
<button class="replay">Play again</button>
</div>
</div>
<footer class="footer">
<a href="http://github.com/reyla/memory-game">View on Github</a>
<p class="copyright">Copyright ©2018 Kate Speed</p>
</footer>
</div>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="js/app.js"></script>
</body>
</html>