-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathgame.html
112 lines (104 loc) · 3.85 KB
/
game.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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta
name="description"
content="Say No More: Semaphore! is a learning game for learning flag communication. It uses the poseNet() API and ml5 to test your poses against semaphore presets."
/>
<title>Say No More: Semaphore!</title>
<link rel="stylesheet" href="styles/reset.css" />
<link rel="stylesheet" href="styles/global.css" />
<link rel="stylesheet" href="styles/game.css" />
<link rel="stylesheet" href="styles/type.css" />
<link rel="icon" href="favicon.png" type="image/x-icon" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.8.0/p5.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.8.0/addons/p5.dom.min.js"></script>
<script src="https://unpkg.com/ml5@0.3.1/dist/ml5.min.js"></script>
<script src="scripts/timer.js"></script>
<script src="scripts/sketch.js"></script>
</head>
<body class="game__wrapper">
<div class="game__main">
<!-- Hint SideBar -->
<aside class="hint hint-mid">
<p class="hint__toptxt hint__toptxt-mid">Wave Arms</p>
<img
src="images/wave.gif"
alt=""
class="hint__img hint__img-mid"
id="img-1"
/>
<p class="hint__bottomtxt hint__bottomtxt-mid">To Start</p>
<h3 class="hint__letter hint__letter-mid"></h3>
</aside>
<!-- Alphabet SideBar -->
<aside class="hint hint-bttm">
<p class="hint__toptxt hint__toptxt-bttm">Wave Arms</p>
<img
src="images/wave.gif"
alt=""
class="hint__img hint__img-bttm"
id="img-2"
/>
<p class="hint__bottomtxt hint__bottomtxt-bttm">To Start</p>
<h3 class="hint__letter hint__letter-bttm">4</h3>
</aside>
<!-- Final Score Card -->
<aside class="hint hint-end">
<div class="final__score">
<p class="hint__toptxt hint__toptxt-bttm final__score">Final Score</p>
<h1 class="hint__bottomtxt hint__final-score">10</h1>
</div>
<a href="game.html"><h2 class="hint__final-again">Play Again</h2></a>
</aside>
<!-- Score -->
<div class="score">
<img src="images/countup.svg" alt="" class="score__img" />
<h5 class="score__num">00</h5>
</div>
<!-- Countdown -->
<div class="countdown">
<p class="countdown__txt">Countdown</p>
<h4 class="countdown__num">20</h4>
</div>
<!-- Ending Info -->
<div class="info">
<h1 class="info__txt--icon">👯♀</h1>
<p class="info__txt">Say No More: Semaphore! uses pose recognition to identify your poses.
<a href="" class="info__link">Learn How</a> & <a href="" class="info__link">Star it on GitHub</a>
</p>
</div>
<!-- Start, end and correct arrows -->
<img
src="/images/correct.svg"
alt=""
class="correct__img correct__img-init"
/>
<img src="/images/start-end.svg" alt="" class="start-end__img" />
</div>
<div class="mobile">
<div class="mobile__content">
<img src="/images/logo.svg" alt="" class="mobile__logo" />
<div class="mobile__card">
<h4 class="mobile__card__text">
Say No More: Semaphore!
<span class="mobile__card__text__inst"
>is best played on a computer.</span
>
</h4>
</div>
<p class="mobile__content__email">
<a
rel="noopener noreferrer"
target="_blank"
href="mailto:name@mail.com?subject=The%20subject&body=This%20is%20a%20message%20body"
class="intro__credits--link"
>Email Link To Play Later</a
>
</p>
</div>
</div>
</body>
</html>