-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
141 lines (128 loc) · 6.44 KB
/
index.html
File metadata and controls
141 lines (128 loc) · 6.44 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
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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
<!DOCTYPE html>
<html lang="en">
<head>
<!-- meta data -->
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1, user-scalable=0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<!-- style sheets -->
<link href="https://fonts.googleapis.com/css?family=Audiowide|Bungee+Shade&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.2.1/css/bootstrap.min.css" />
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.1/css/all.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.7.2/animate.css" />
<link rel="stylesheet" href="assets/css/main.css" type="text/css" />
<!-- favicon -->
<link rel="shortcut icon" type="image/png" href="favicon.png"/>
<title>Mem'rise</title>
<!-- Email.js -->
<script type="text/javascript" src="https://cdn.emailjs.com/sdk/2.3.2/email.min.js"></script>
<script type="text/javascript">
(function() {
emailjs.init("user_A3bRjrIGlAwVkonzwfcRG");
})();
</script>
</head>
<body>
<header>
<div id="back-and-menu-icons" class="d-none">
<i id="back-arrow" class="fas fa-arrow-left fa-2x blue-shadow-hover z-index-2"></i>
<i id="menu-icon" class="fas fa-bars fa-2x blue-shadow-hover z-index-2"></i>
</div>
</header>
<div id="background-overlay" class="d-none"></div>
<section id="main-menu" class="position-absolute-center">
<div class="vertical-wrapper">
<h1 class="my-5 text-flash">Mem'rise</h1>
<button id="start-btn" class="btn my-5">Start</button>
<div class="d-block">
<h3 class="help-menu-link blue-shadow-hover d-inline">How to play?</h3>
<div class="audio-button mt-5">
<i class="mute fas fa-2x fa-volume-mute blue-shadow-hover z-index-2"></i>
<i class="unmute fas fa-2x fa-volume-up blue-shadow-hover z-index-2 d-none"></i>
</div>
</div>
<h2 id="leaderboard">Leaderboard</h2>
<div class="d-inline-block">
<div class="text-left d-flex">
<ol class="mr-5">
<li>Fernando</li>
<li>Jeofrey</li>
<li>Matilda</li>
</ol>
<ul class="list-unstyled">
<li>78</li>
<li>65</li>
<li>32</li>
</ul>
</div>
</div>
</div>
</section>
<section id="help-menu" class="d-none position-absolute-center">
<div class="vertical-wrapper">
<h1>How To Play</h1>
<p>Repeat the sequence of symbols shown to move to the next level.</p>
<p>When in the game area press the back arrow to return to the main menu.</p>
<p>Press the back arrow now to return to the game.</p>
<p>Press the menu icon to show the menu with a list of links.</p>
<p>Mute or play the background music in the main menu or menu list.</p>
</div>
</section>
<section id="menu-list" class="d-none position-absolute-center">
<div class="vertical-wrapper">
<h3 id="main-menu-link" class="blue-shadow-hover">Main Menu</h3>
<h3 id="contact-link" class="blue-shadow-hover">Contact</h3>
<h3 class="help-menu-link blue-shadow-hover">Help</h3>
<div class="audio-button mt-5">
<i class="mute fas fa-2x fa-volume-mute blue-shadow-hover z-index-2"></i>
<i class="unmute fas fa-2x fa-volume-up blue-shadow-hover z-index-2 d-none"></i>
</div>
</div>
</section>
<section id="game-view" class="d-none position-absolute-center">
<div class="vertical-wrapper">
<div id="score" class="d-none">
<h2>Score</h2>
<h2 id="score-number">0</h2>
</div>
<div id="symbol-set">
<div class="top-row">
<img id="blue" class="symbol" src="assets/images/blue-symbol.svg" alt="Blue symbol">
</div>
<div class="middle-row">
<img id="yellow" class="symbol" src="assets/images/yellow-symbol.svg" alt="Yellow symbol">
<img id="orange" class="symbol" src="assets/images/orange-symbol.svg" alt="Orange symbol">
</div>
<div class="bottom-row">
<img id="green" class="symbol mr-4" src="assets/images/green-symbol.svg" alt="Green symbol">
<img id="purple" class="symbol ml-4" src="assets/images/purple-symbol.svg" alt="Purple symbol">
</div>
</div>
<p id="game-view-text" class="position-absolute-center">Click Ready<br>To Begin</p>
<button id="ready-btn" class="btn">Ready</button>
<button id="continue-btn" class="btn d-none">Continue</button>
</div>
</section>
<section id="contact" class="d-none position-absolute-center">
<div class="vertical-wrapper">
<div>
<h3 class="text-center">Contact Us</h3>
</div>
<div class="center-form">
<form id="contact-form" onsubmit="return sendMail(this);" method="POST">
<input type="text" name="name" class="form-control" id="fullname" placeholder="Name" required/>
<input type="text" name="emailaddress" class="form-control" id="emailaddress" placeholder="Email" required/>
<textarea rows="5" name="message" class="form-control" id="message" placeholder="Type your message here" required></textarea>
<button type="submit" class="btn">Send</button>
</form>
</div>
</div>
</section>
<!-- scripts -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/lettering.js/0.7.0/jquery.lettering.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/textillate/0.4.0/jquery.textillate.min.js"></script>
<script src="assets/js/game.js"></script>
</body>
</html>