-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
358 lines (254 loc) · 10.5 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
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
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width">
<title>Word Unknown | Free New Word Game</title>
<meta name="description" content="Word Unknown is a word game that takes inspiration from hangman and mastermind, challenging users in both a deductive and lexical way.">
<meta name="keywords" content="Word Unknown, Hangman, Mastermind, Word Mastermind, Word Game">
<meta name="author" content="Christopher Cinq-Mars Jarvis">
<meta property="og:title" content="Word Unknown" />
<meta property="og:type" content="website" />
<meta property="og:url" content="http://www.wordunknown.com" />
<meta property="og:image" content="http://wordunknown.com/img/wordunknown2.png" />
<meta property="og:description" content="Word Unknown is a word game that takes inspiration from hangman and mastermind, challenging users in both a deductive and lexical way." />
<link async href="lib/ionic/css/ionic.min.css" rel="stylesheet">
<link async href="css/style.css" rel="stylesheet">
<!--<link async href="css/animate.css" rel="stylesheet">-->
<script src="lib/ionic/js/ionic.bundle.min.js"></script>
<script src="js/app.js"></script>
<script src="js/controllers.js"></script>
<script src="js/services.js"></script>
<!--
<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-5666bd928626bea3" async="async"></script>
-->
</head>
<style>
.bar {
background:transparent !important;
font-size:25px !important;
}
.topborder{
border-style: solid;
border-top-width:3px !important;
border-top: thick solid #5dcc96;
}
.item-divider {
padding-top:4px;
padding-bottom:4px;
}
.item {
background-color:rgba(255,255,255,.6);
}
::-webkit-input-placeholder {
padding-top: 4px !important;
}
:-moz-placeholder { /* Firefox 18- */
padding-top: 4px !important;
}
::-moz-placeholder { /* Firefox 19+ */
padding-top: 4px !important;
}
:-ms-input-placeholder {
padding-top: 4px !important;
}
.bcklabel{
background-color:rgba(50,50,50,.1);
}
.popup-title{
font-size:18px;
}
.popup-head{
padding-bottom:0px;
}
.popup-body{
font-size:15px !important;
}
.popup-sub-title{
font-size:15px !important;
}
@media only screen and (max-width: 400px) {
#hideauto {
display: none;
}
}
.item img {
height: 60px;
width: 60px;
float: left;
margin-top: 20px;
margin-right: 10px;
}
.scroll-content{
background: url(../img/wallpaper.png) repeat;
background-size: 150px;
background-color: rgba(255, 255, 255, 1);
}
.bar-header {
background: url(../img/wallpaper.png) repeat !important;
background-color:rgba(255, 255, 255, 1) !important
border-style: solid;
border-bottom-width:1.5px !important;
border-bottom: thick solid #FFFFFF;
}
.shadow{
background: linear-gradient(rgba(255,255,255,0), rgba(255,255,255,1),rgba(255,255,255,1),rgba(255,255,255,0));
}
</style>
<body ng-app="starter" ng-controller="AppCtrl" ng-cloak>
<ion-side-menus>
<ion-side-menu-content>
<ion-nav-bar class="bar-stable">
<ion-nav-title>
<b>{{tit}}</b>
</ion-nav-title>
<ion-nav-buttons side="left">
<button class="button button-large button-icon button-clear ion-android-menu" menu-toggle>
</button>
</ion-nav-buttons>
<ion-nav-buttons side="right" >
<img src="img/wordunknown.png" style="width:50px;height:30px" ng-click="info()" class="button button-icon ion-information-circled" ng-if="options.input" ng-cloak></img>
<!--
<button ng-click="info()" class="button button-icon ion-information-circled" ng-if="options.input" ng-cloak></button>
-->
<button class="button-icon button large" ng-click="newgame()" ng-if="!options.input" ng-cloak>New Game
</button>
</ion-nav-buttons>
</ion-nav-bar>
<ion-content style="padding-top:43px" overflow-scroll="true">
<div class="shadow">
<div style="float:left;width:27vw;max-width:250px !important;padding-top:10px;margin-left:-10px" ng-if="opt.info">
<img src="img/wordunknown.png" ng-click="info()" class="animated bounceInDown" style="width:27vw;max-width:250px !important"></img>
</div>
<div ng-click="info()" ng-if="opt.info" class="padding" style="font-size:calc(4px + 1.4vw);line-height:calc(7px + 3vw);padding-top:calc(8px + .5vw)">
<span class="animated fadeInDown">
Welcome to <strong>Word Unknown</strong>, an elegant mix of hangman and mastermind. Your objective is to guess a random word in as few moves as possible using both lexical and deductive logic. Once a legal guess is made, you'll get <span style="color:#cc5151"><b>X</b></span>'s and <span style="color:#51a3cc"><b>O</b></span>'s in response. Each <span style="color:#cc5151"><b>X</b></span> represents a correct letter in the correct position, and each <span style="color:#51a3cc"><b>O</b></span> represents a correct letter in the wrong position.
</span>
</div>
</div>
<ion-list>
<div ng-if="opt.example" ng-click="example()">
<ion-item ng-cloak style="font-size:24px;padding-bottom:15px" class="animated fadeInDown" >
0. example
<span class="item-note icon animated tada" style="font-size:26px;padding-top:0px">
<span style="color:#cc5151"><b>X</b></span> <span style="color:#51a3cc"><b>O</b>
</span></span>
<span id="hideauto" style="font-size:13px;position:absolute;right:112px;color:grey;padding-top:3px"><b style="color:black">2</b> letters, <b style="color:black">1</b> in the correct place</span>
</ion-item>
</div>
<ion-item ng-repeat="move in moves" ng-cloak style="font-size:24px" class="animated fadeInDown">
{{move.id}}. {{move.guess}}
<span id="hideauto" style="font-size:13px;position:absolute;right:112px;color:grey;padding-top:3px"><b style="color:black">{{move.num[1]}}</b> letter<span ng-if="move.num[1]!==1">s</span>, <b style="color:black">{{move.num[0]}}</b> in the correct place</span>
<span class="item-note icon animated tada" style="font-size:26px">
<!--
<span style="color:#cc5151">X</span> <span style="color:#51a3cc">O
</span></span>
-->
<span compile="move.xo" >
</span>
</span>
</ion-item>
</ion-list>
<div ng-if="options.input" ng-cloak>
<label class="item item-input topborder" >
<input id="mahtext" type="text" style="font-size:20px" placeholder="Guess {{options.text}} {{opt.wordlength}} letter word {{opt.end}}" ng-model="data.guess" ng-change="input()" autofocus>
</label>
</div>
<!--///////-->
<div>
<label class="item item-input" ng-if="opt.notes" ng-cloak>
<input type="text" style="font-size:16px;color:gray" placeholder="Notes">
</label>
</div>
<div style="text-align:center;padding-top:10px">
Now available <b>free</b> for iOS and Android:
<br><a href="https://itunes.apple.com/us/app/word-unknown/id1064901570?mt=8&ign-mpt=uo%3D4" target="_blank"><img src="img/apple.png" style="width:7vmax;max-width:60px;padding-right:2px"></a><a href="https://play.google.com/store/apps/details?id=com.jarvisfilms.wordunknown" target="_blank"><img src="img/googleplay.png" style="width:7vmax;max-width:60px;padding-left:2px"></a>
</div>
<!--
<img src="img/arrow.png" class="pointer" style="position:absolute;top:60px;left:70%;width:30%;height:18%;max-height:50%;max-width:200px;z-index:1000;transform: rotate(120deg)">
-->
<!--
<button class="button button-block button-positive" ng-if="!options.input" ng-cloak ng-click="newgame()">
New Game?
</button>
-->
</ion-content>
</ion-side-menu-content>
<ion-side-menu side="left">
<ion-content has-bouncing="false">
<ion-list>
<div class="list">
<div class="item item-divider bcklabel">
Options
</div>
<ion-item menu-close ng-click="showConfirm()">
New Game
<span class="item-note ion-refresh" style="font-size:20px"></span>
</ion-item>
<label class="item item-input item-select menu-bar">
<div class="input-label">
Word Length (difficulty)
</div>
<select ng-change="wlength()" ng-model="opt.wordlength" class="menu-bar" ng-init="opt.wordlength = 4">
<option value=4 selected>4</option>
<option value=5 >5</option>
<option value=6 >6</option>
<option value=7 >7</option>
<option value=8 >8</option>
</select>
</label>
<ion-list>
<ion-item menu-close ng-click="challengebutton()">
Daily Challenge Word
<span class="item-note ion-chevron-right"></span>
</ion-item>
</ion-list>
<ion-toggle ng-model="opt.notes" toggle-class="toggle-calm">Show 'Notes'</ion-toggle>
<ion-list>
<div class="item item-divider bcklabel">
Other
</div>
<ion-list>
<ion-item menu-close ng-click="synonymy()">
<img src="img/128.png" style="position:absolute;height:35px;width:35px;top:-10px;left:15px">
___||| Synonymy
<span class="item-note ion-chevron-right"></span>
</ion-item>
</ion-list>
<ion-list>
<ion-item menu-close ng-click="birdsupstairs()">
<img src="img/birds.png" style="position:absolute;height:35px;width:35px;top:-10px;left:15px">
___||| The Birds Upstairs
<span class="item-note ion-chevron-right"></span>
</ion-item>
</ion-list>
<ion-list>
<ion-item menu-close ng-click="iconic()">
<img src="img/Iconic.png" style="position:absolute;height:35px;width:35px;top:-10px;left:15px">
___||| Iconic Passwords
<span class="item-note ion-chevron-right"></span>
</ion-item>
</ion-list>
<ion-list>
<ion-item menu-close ng-click="jarvisfilms()">
<img src="img/headshot128.png" style="position:absolute;height:35px;width:35px;top:-10px;left:15px">
___||| About the Author
<span class="item-note ion-chevron-right"></span>
</ion-item>
</ion-list>
<br>
<div style="text-align:center">
<img ng-click="facebook()" src="img/fbook.png" class="pointer" style="width:40px">
<img ng-click="twitter()" src="img/twit.png" class="pointer" style="width:40px">
<img ng-click="stumbleupon()" class="pointer" src="img/stumble.png" style="width:40px">
<img ng-click="github()" class="pointer" src="img/github.png" style="width:40px">
<br>
</div>
<div style="font-size:8px;text-align:center;line-height:15px">
Copyright 2015 Christopher Cinq-Mars Jarvis
</div>
</ion-content>
</ion-side-menu>
</ion-side-menus>
</body>
</html>