-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
154 lines (145 loc) · 4 KB
/
index.html
File metadata and controls
154 lines (145 loc) · 4 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
142
143
144
145
146
147
148
149
150
151
152
153
154
<!doctype html>
<!-- initial structure from: https://getbootstrap.com/docs/4.3/getting-started/introduction/ -->
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Guitar Hero TinyType</title>
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.3.1/dist/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<link rel="stylesheet" href="style.css">
<!-- <link rel="stylesheet" href="lib/jquery-ui.min.css" /> -->
</head>
<body>
<h1>Guitar Hero TinyType M2</h1>
<!-- A table containing 4 columns and 7 rows to store the alphabet -->
<!-- TODO: replace the table with lottery slot machine wheels like this: https://stackoverflow.com/questions/33157307/how-to-make-a-html5-spinning-list-rotating-wheel-selector-picker -->
<table id="TEXT-table">
<tr>
<th>1</th>
<th>2</th>
<th>3</th>
<th>4</th>
</tr>
<tbody id="TEXT-alphabet">
<tr>
<td>a</td>
<td>h</td>
<td>o</td>
<td>v</td>
</tr>
<tr>
<td>b</td>
<td>i</td>
<td>p</td>
<td>w</td>
</tr>
<tr>
<td>c</td>
<td>j</td>
<td>q</td>
<td>x</td>
</tr>
<tr>
<td>d</td>
<td>k</td>
<td>r</td>
<td>y</td>
</tr>
<tr>
<td>e</td>
<td>l</td>
<td>s</td>
<td>z</td>
</tr>
<tr>
<td>f</td>
<td>m</td>
<td>t</td>
<td>_</td>
</tr>
<tr>
<td>g</td>
<td>n</td>
<td>u</td>
<td>~</td>
</tr>
</tbody>
</table>
<!-- A table containing 4 columns and 7 rows to store the EMOJI alphabet -->
<table id="EMOJI-table">
<tr>
<th>1</th>
<th>2</th>
<th>3</th>
<th>4</th>
</tr>
<tbody id="EMOJI-alphabet">
<tr>
<td>😀</td>
<td>😁</td>
<td>😂</td>
<td>😃</td>
</tr>
<tr>
<td>😅</td>
<td>😇</td>
<td>😡</td>
<td>😉</td>
</tr>
<tr>
<td>😊</td>
<td>😋</td>
<td>😌</td>
<td>😍</td>
</tr>
<tr>
<td>😎</td>
<td>😑</td>
<td>😓</td>
<td>😖</td>
</tr>
<tr>
<td>😘</td>
<td>😜</td>
<td>😠</td>
<td>😢</td>
</tr>
<tr>
<td>😤</td>
<td>😥</td>
<td>😨</td>
<td>_</td>
</tr>
<tr>
<td>😭</td>
<td>😱</td>
<td>😴</td>
<td>🔙</td>
</tr>
</tbody>
</table>
<!-- A Text bar where the existing message is displayed -->
<div id="message">
</div>
<table id="tbMain">
<tbody>
<tr id="trCanvas">
<td>
<canvas id="cvsMain"></canvas>
</td>
</tr>
<tr>
<td id="gesture">
</td>
</tr>
</tbody>
</table>
<!-- JavaScript -->
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script type="text/javascript" src="main.js"></script>
<script type="text/javascript" src="unistroke_recognizer.js"></script>
<script type="text/javascript" src="sketch.js"></script>
</body>
</html>