This repository has been archived by the owner on Jun 27, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
887 lines (704 loc) · 38.8 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
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="description" content="A front-end template that helps you build fast, modern mobile web apps.">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Blog</title>
<!-- Add to homescreen for Chrome on Android -->
<meta name="mobile-web-app-capable" content="yes">
<link rel="icon" sizes="192x192" href="/assets/images/icon_192_192.png">
<link rel="manifest" href="/manifest.json">
<!-- Add to homescreen for Safari on iOS -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-title" content="Material Design Lite">
<link rel="apple-touch-icon-precomposed" href="/assets/images/icon_192_192.png">
<!-- Tile icon for Win8 (144x144 + tile color) -->
<meta name="msapplication-TileImage" content="images/touch/ms-touch-icon-144x144-precomposed.png">
<meta name="msapplication-TileColor" content="#3372DF">
<meta name="theme-color" content="#3F51B5">
<link rel="shortcut icon" href="/assets/images/favicon.png">
<meta name="google-site-verification" content="G5DNU81K0TiZ4pd6NaBXaUwv0XgI_bI7NHlaMymkrN8" />
<!-- SEO: If your mobile URL is different from the desktop URL, add a canonical link to the desktop page https://developers.google.com/webmasters/smartphone-sites/feature-phones -->
<link rel="canonical" href="https://whiteseeker.github.io/index.html">
<link rel="stylesheet" href="/css/critical.min.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<!-- Google Analytics -->
<script>
var host = "whiteseeker.github.io";
if ((host == window.location.host) && (window.location.protocol != "https:"))
window.location.protocol = "https";
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
ga('create', 'UA-70962121-1', {'siteSpeedSampleRate': 40});
ga('send', 'pageview');
</script>
<script async src='//www.google-analytics.com/analytics.js'></script>
<script src="/scripts/modernizr-custom.min.js"></script>
<!-- End Google Analytics -->
</head>
<body class="mdl-demo mdl-color--grey-100 mdl-color-text--grey-700 mdl-base">
<div class="mdl-layout mdl-js-layout mdl-layout--fixed-header">
<!-- Always shows a header, even in smaller screens. -->
<header class="mdl-layout__header">
<div class="mdl-layout__header-row">
<a href="/" class="mdl-navigation__link site_title"><span class="mdl-layout-title" >Blog</span></a>
<div class="mdl-layout-spacer"></div>
<nav class="mdl-navigation mdl-layout--large-screen-only">
<a class="mdl-navigation__link" href="/about/">About</a>
</nav>
</div>
</header>
<div class="mdl-layout__drawer blog-drawer">
<div class="mdl-card__title"><h2 class="mdl-card__title-text">Blog</h2></div>
<!--button data-rv-vanilla-modal="#target-modal" class="mdl-button mdl-js-button mdl-button--fab mdl-js-ripple-effect mdl-button--colored blog-button-login">
<i class="material-icons">add</i>
</button-->
<nav class="mdl-navigation">
<a class="mdl-navigation__link" href="/">Home</a>
<a class="mdl-navigation__link" href="/about/">About</a>
<label id="switch-notif" class="mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect blog-notif-switch" for="switch-notif-input">
<input type="checkbox" id="switch-notif-input" class="mdl-checkbox__input" disabled>
<span class="mdl-checkbox__label">Notifications</span>
</label>
<!--label id="switch-notif" class="mdl-switch mdl-js-switch mdl-js-ripple-effect blog-notif-switch" for="switch-notif-input">
<input id="switch-notif-input" type="checkbox" class="mdl-switch__input">
<span id="switch-notif-label" class="mdl-switch__label">Notifications</span>
</label-->
</nav>
</div>
<main class="mdl-layout__content">
<div class="mdl-layout__tab-panel is-active" style="padding: 10px">
<section class="section--center mdl-grid mdl-grid--no-spacing mdl-shadow--2dp home_sections">
<style type = "text/css">
.webp .scr2 {
background-image: url('/assets/images/pwa/banner_small.png.webp');
}
.no-webp .scr2 {
background-image: url('/assets/images/pwa/banner_small.png');
}
</style>
<header class="section__play-btn mdl-cell mdl-cell--3-col-desktop mdl-cell--2-col-tablet mdl-cell--4-col-phone mdl-color-text--white scr2"><a href="/development/2016/05/04/pwa.html" class="image_post_link"></a>
</header>
<div class="mdl-card mdl-cell mdl-cell--9-col-desktop mdl-cell--6-col-tablet mdl-cell--4-col-phone">
<!--div class="mdl-card mdl-cell mdl-cell--12-col"-->
<div class="mdl-card__supporting-text">
<h4>PWA: Progressive Web App<span class="post_date">04 May 2016</span></h4>
<p>No game this time ! Over the last few weeks I tried to make that website a “PWA”. Curious what it is, or how to do it ?</p>
</div>
<div class="mdl-card__actions">
<a href="/development/2016/05/04/pwa.html" class="mdl-button">Read</a>
</div>
</div>
</section>
<section class="section--center mdl-grid mdl-grid--no-spacing mdl-shadow--2dp home_sections">
<style type = "text/css">
.webp .scr4 {
background-image: url('/assets/images/greedy_cave/screenshot_0_small.png.webp');
}
.no-webp .scr4 {
background-image: url('/assets/images/greedy_cave/screenshot_0_small.png');
}
</style>
<header class="section__play-btn mdl-cell mdl-cell--3-col-desktop mdl-cell--2-col-tablet mdl-cell--4-col-phone mdl-color-text--white scr4"><a href="/mobile/game/2016/04/16/the-greedy-cave.html" class="image_post_link"></a>
</header>
<div class="mdl-card mdl-cell mdl-cell--9-col-desktop mdl-cell--6-col-tablet mdl-cell--4-col-phone">
<!--div class="mdl-card mdl-cell mdl-cell--12-col"-->
<div class="mdl-card__supporting-text">
<h4>The Greedy Cave<span class="post_date">16 April 2016</span></h4>
<p><em>The Greedy Cave</em> is an <a href="https://en.wikipedia.org/wiki/Action_role-playing_game" target="_blank">ARPG</a>. Ready your spells, sharpen your swords, boost your stats, enchant your equipement, study your enemies and beat the crap out of that dungeon !! If you like <a href="https://en.wikipedia.org/wiki/Diablo_(video_game)" target="_blank">Diablo</a> or <a href="http://store.steampowered.com/app/200710/" target="_blank">Torchlight</a>, the greedy cave is made for you !</p>
</div>
<div class="mdl-card__actions">
<a href="/mobile/game/2016/04/16/the-greedy-cave.html" class="mdl-button">Read</a>
</div>
</div>
</section>
<section class="section--center mdl-grid mdl-grid--no-spacing mdl-shadow--2dp home_sections">
<style type = "text/css">
.webp .scr5 {
background-image: url('/assets/images/digf/screenshot_0_small.png.webp');
}
.no-webp .scr5 {
background-image: url('/assets/images/digf/screenshot_0_small.png');
}
</style>
<header class="section__play-btn mdl-cell mdl-cell--3-col-desktop mdl-cell--2-col-tablet mdl-cell--4-col-phone mdl-color-text--white scr5"><a href="/mobile/game/2015/12/18/digfender.html" class="image_post_link"></a>
</header>
<div class="mdl-card mdl-cell mdl-cell--9-col-desktop mdl-cell--6-col-tablet mdl-cell--4-col-phone">
<!--div class="mdl-card mdl-cell mdl-cell--12-col"-->
<div class="mdl-card__supporting-text">
<h4>Digfender<span class="post_date">18 December 2015</span></h4>
<p><em>Digfender</em> is the best tower defense I played in 2015. It’s not a creative game, it doesn’t have any surprises, but it’s well executed and perfectly balanced. All the towers are usefull, each specialisation has it’s importance, and there isn’t one better than the others. The gameplay is deep and has a lot of variety.</p>
</div>
<div class="mdl-card__actions">
<a href="/mobile/game/2015/12/18/digfender.html" class="mdl-button">Read</a>
</div>
</div>
</section>
<section class="section--center mdl-grid mdl-grid--no-spacing mdl-shadow--2dp home_sections">
<style type = "text/css">
.webp .scr6 {
background-image: url('/assets/images/quest_keeper/screenshot_0_small.png.webp');
}
.no-webp .scr6 {
background-image: url('/assets/images/quest_keeper/screenshot_0_small.png');
}
</style>
<header class="section__play-btn mdl-cell mdl-cell--3-col-desktop mdl-cell--2-col-tablet mdl-cell--4-col-phone mdl-color-text--white scr6"><a href="/mobile/game/2015/12/10/the-quest-keeper.html" class="image_post_link"></a>
</header>
<div class="mdl-card mdl-cell mdl-cell--9-col-desktop mdl-cell--6-col-tablet mdl-cell--4-col-phone">
<!--div class="mdl-card mdl-cell mdl-cell--12-col"-->
<div class="mdl-card__supporting-text">
<h4>The Quest Keeper<span class="post_date">10 December 2015</span></h4>
<p><em>The Quest Keeper</em> is <em>THE</em> cross over between a <strong>dungeon crawler</strong> and <a href="https://youtu.be/a3pTw0jmxlg" target="_blank">Crossy Road</a>. You play an adventurer trying to complete quests given by (no surpise here) <em>The Quest Keeper</em> (^_^). The quests will bring you in various environement full of danger: fire, spiders, traps, flying axes, dead archers, rotating saw, …</p>
</div>
<div class="mdl-card__actions">
<a href="/mobile/game/2015/12/10/the-quest-keeper.html" class="mdl-button">Read</a>
</div>
</div>
</section>
<section class="section--center mdl-grid mdl-grid--no-spacing mdl-shadow--2dp home_sections">
<style type = "text/css">
.webp .scr7 {
background-image: url('/assets/images/mh/screenshot_3_small.png.webp');
}
.no-webp .scr7 {
background-image: url('/assets/images/mh/screenshot_3_small.png');
}
</style>
<header class="section__play-btn mdl-cell mdl-cell--3-col-desktop mdl-cell--2-col-tablet mdl-cell--4-col-phone mdl-color-text--white scr7"><a href="/mobile/game/2015/12/04/monster-hotel.html" class="image_post_link"></a>
</header>
<div class="mdl-card mdl-cell mdl-cell--9-col-desktop mdl-cell--6-col-tablet mdl-cell--4-col-phone">
<!--div class="mdl-card mdl-cell mdl-cell--12-col"-->
<div class="mdl-card__supporting-text">
<h4>Monster Hotel<span class="post_date">04 December 2015</span></h4>
<p><em>Monster Hotel</em> let you run your very own hotel for (cute) monsters. Some monsters like stinky room, others super cold room, some are super angry and just break everything in your hotel… And your goal is to please them all ! So more happy they are the more money they’ll give you when leaving.</p>
</div>
<div class="mdl-card__actions">
<a href="/mobile/game/2015/12/04/monster-hotel.html" class="mdl-button">Read</a>
</div>
</div>
</section>
<section class="section--center mdl-grid mdl-grid--no-spacing mdl-shadow--2dp home_sections">
<style type = "text/css">
.webp .scr8 {
background-image: url('/assets/images/thug_racer/screenshot_0_small.png.webp');
}
.no-webp .scr8 {
background-image: url('/assets/images/thug_racer/screenshot_0_small.png');
}
</style>
<header class="section__play-btn mdl-cell mdl-cell--3-col-desktop mdl-cell--2-col-tablet mdl-cell--4-col-phone mdl-color-text--white scr8"><a href="/mobile/game/2015/10/01/thug-racer.html" class="image_post_link"></a>
</header>
<div class="mdl-card mdl-cell mdl-cell--9-col-desktop mdl-cell--6-col-tablet mdl-cell--4-col-phone">
<!--div class="mdl-card mdl-cell mdl-cell--12-col"-->
<div class="mdl-card__supporting-text">
<h4>Thug Racer<span class="post_date">01 October 2015</span></h4>
<p><em>Thug Racer</em> bring <a href="https://en.wikipedia.org/wiki/Out_Run" target="_blank"><em>Out Run</em></a> on mobile! Driving a sport car, escaping the cops, time limit … One really cool indie game with retro graphics!</p>
</div>
<div class="mdl-card__actions">
<a href="/mobile/game/2015/10/01/thug-racer.html" class="mdl-button">Read</a>
</div>
</div>
</section>
<section class="section--center mdl-grid mdl-grid--no-spacing mdl-shadow--2dp home_sections">
<style type = "text/css">
.webp .scr9 {
background-image: url('/assets/images/cards_and_castles/screenshot_0_small.png.webp');
}
.no-webp .scr9 {
background-image: url('/assets/images/cards_and_castles/screenshot_0_small.png');
}
</style>
<header class="section__play-btn mdl-cell mdl-cell--3-col-desktop mdl-cell--2-col-tablet mdl-cell--4-col-phone mdl-color-text--white scr9"><a href="/mobile/game/2015/09/28/cards-and-castles.html" class="image_post_link"></a>
</header>
<div class="mdl-card mdl-cell mdl-cell--9-col-desktop mdl-cell--6-col-tablet mdl-cell--4-col-phone">
<!--div class="mdl-card mdl-cell mdl-cell--12-col"-->
<div class="mdl-card__supporting-text">
<h4>Cards and Castles<span class="post_date">28 September 2015</span></h4>
<p><em>Cards and Castles</em> is a fresh mix of <strong>T</strong>rading <strong>C</strong>ard <strong>G</strong>ame & turn-based strategy game. Lately I haven’t been a fan of all the clones of Magic the Gathering that popped up lately on mobile apart from Hearthstone! But Cards and Castles get me intrigued, and pleasantly surprised.</p>
</div>
<div class="mdl-card__actions">
<a href="/mobile/game/2015/09/28/cards-and-castles.html" class="mdl-button">Read</a>
</div>
</div>
</section>
<section class="section--center mdl-grid mdl-grid--no-spacing mdl-shadow--2dp home_sections">
<style type = "text/css">
.webp .scr10 {
background-image: url('/assets/images/uppercup/screenshot_0_small.png.webp');
}
.no-webp .scr10 {
background-image: url('/assets/images/uppercup/screenshot_0_small.png');
}
</style>
<header class="section__play-btn mdl-cell mdl-cell--3-col-desktop mdl-cell--2-col-tablet mdl-cell--4-col-phone mdl-color-text--white scr10"><a href="/mobile/game/2015/08/09/uppercup-football.html" class="image_post_link"></a>
</header>
<div class="mdl-card mdl-cell mdl-cell--9-col-desktop mdl-cell--6-col-tablet mdl-cell--4-col-phone">
<!--div class="mdl-card mdl-cell mdl-cell--12-col"-->
<div class="mdl-card__supporting-text">
<h4>Uppercup Football<span class="post_date">09 August 2015</span></h4>
<p><em>Uppercup Football</em> is an intense <strong>fantasy soccer-ball</strong> mobile game with crazy rules. Believe me, I’m not usually a fan of soccer-ball and even less in a video game, but Uppercup Football add a ton of fun into it !</p>
</div>
<div class="mdl-card__actions">
<a href="/mobile/game/2015/08/09/uppercup-football.html" class="mdl-button">Read</a>
</div>
</div>
</section>
<section class="section--center mdl-grid mdl-grid--no-spacing mdl-shadow--2dp home_sections">
<style type = "text/css">
.webp .scr11 {
background-image: url('/assets/images/sorcery/screenshot_0_small.png.webp');
}
.no-webp .scr11 {
background-image: url('/assets/images/sorcery/screenshot_0_small.png');
}
</style>
<header class="section__play-btn mdl-cell mdl-cell--3-col-desktop mdl-cell--2-col-tablet mdl-cell--4-col-phone mdl-color-text--white scr11"><a href="/mobile/game/2015/07/30/sorcery.html" class="image_post_link"></a>
</header>
<div class="mdl-card mdl-cell mdl-cell--9-col-desktop mdl-cell--6-col-tablet mdl-cell--4-col-phone">
<!--div class="mdl-card mdl-cell mdl-cell--12-col"-->
<div class="mdl-card__supporting-text">
<h4>Sorcery<span class="post_date">30 July 2015</span></h4>
<p>Today let’s check <em>Sorcery</em>. Do you know the “books where you are the Hero”? If you liked these books as much as me, you’ll love Sorcery, and if you don’t know them but like Fantastic books, you should really try it!</p>
</div>
<div class="mdl-card__actions">
<a href="/mobile/game/2015/07/30/sorcery.html" class="mdl-button">Read</a>
</div>
</div>
</section>
<section class="section--center mdl-grid mdl-grid--no-spacing mdl-shadow--2dp home_sections">
<style type = "text/css">
.webp .scr12 {
background-image: url('/assets/images/rymd/screenshot_0_small.png.webp');
}
.no-webp .scr12 {
background-image: url('/assets/images/rymd/screenshot_0_small.png');
}
</style>
<header class="section__play-btn mdl-cell mdl-cell--3-col-desktop mdl-cell--2-col-tablet mdl-cell--4-col-phone mdl-color-text--white scr12"><a href="/mobile/game/2015/07/21/rymdkapsel.html" class="image_post_link"></a>
</header>
<div class="mdl-card mdl-cell mdl-cell--9-col-desktop mdl-cell--6-col-tablet mdl-cell--4-col-phone">
<!--div class="mdl-card mdl-cell mdl-cell--12-col"-->
<div class="mdl-card__supporting-text">
<h4>Rymdkapsel<span class="post_date">21 July 2015</span></h4>
<p><em>Rymdkapsel</em> took the essence realtime strategy (RTS) games and released it in a unique and pure experience.</p>
</div>
<div class="mdl-card__actions">
<a href="/mobile/game/2015/07/21/rymdkapsel.html" class="mdl-button">Read</a>
</div>
</div>
</section>
<section class="section--center mdl-grid mdl-grid--no-spacing mdl-shadow--2dp home_sections">
<style type = "text/css">
.webp .scr13 {
background-image: url('/assets/images/tinyg/screenshot_0_small.png.webp');
}
.no-webp .scr13 {
background-image: url('/assets/images/tinyg/screenshot_0_small.png');
}
</style>
<header class="section__play-btn mdl-cell mdl-cell--3-col-desktop mdl-cell--2-col-tablet mdl-cell--4-col-phone mdl-color-text--white scr13"><a href="/mobile/game/2015/07/18/tiny-guardians.html" class="image_post_link"></a>
</header>
<div class="mdl-card mdl-cell mdl-cell--9-col-desktop mdl-cell--6-col-tablet mdl-cell--4-col-phone">
<!--div class="mdl-card mdl-cell mdl-cell--12-col"-->
<div class="mdl-card__supporting-text">
<h4>Tiny Guardians<span class="post_date">18 July 2015</span></h4>
<p><em>Tiny Guardians</em> is a surprising strategy game where your role is to protect one enchantress, Lunalie, as she journeys in search of the Sorceress.</p>
</div>
<div class="mdl-card__actions">
<a href="/mobile/game/2015/07/18/tiny-guardians.html" class="mdl-button">Read</a>
</div>
</div>
</section>
<section class="section--center mdl-grid mdl-grid--no-spacing mdl-shadow--2dp home_sections">
<style type = "text/css">
.webp .scr14 {
background-image: url('/assets/images/hth/screenshot_0_small.png.webp');
}
.no-webp .scr14 {
background-image: url('/assets/images/hth/screenshot_0_small.png');
}
</style>
<header class="section__play-btn mdl-cell mdl-cell--3-col-desktop mdl-cell--2-col-tablet mdl-cell--4-col-phone mdl-color-text--white scr14"><a href="/mobile/game/2015/07/15/haunt-the-house.html" class="image_post_link"></a>
</header>
<div class="mdl-card mdl-cell mdl-cell--9-col-desktop mdl-cell--6-col-tablet mdl-cell--4-col-phone">
<!--div class="mdl-card mdl-cell mdl-cell--12-col"-->
<div class="mdl-card__supporting-text">
<h4>Haunt the house: Terrortown<span class="post_date">15 July 2015</span></h4>
<p>In <em>Haunt the house: Terrortown</em> you play a mischievous ghost and scare people by possessing object, moving them around, making scary sounds or even spooking dinosaurs!</p>
</div>
<div class="mdl-card__actions">
<a href="/mobile/game/2015/07/15/haunt-the-house.html" class="mdl-button">Read</a>
</div>
</div>
</section>
</div>
<div id="demo-snackbar-example" class="mdl-js-snackbar mdl-snackbar">
<div class="mdl-snackbar__text"></div>
<button class="mdl-snackbar__action" type="button"></button>
</div>
<footer class="mdl-mega-footer">
<div class="mdl-mega-footer__middle-section">
<div class="mdl-mega-footer__drop-down-section">
<input class="mdl-mega-footer__heading-checkbox" type="checkbox" checked>
<h1 class="mdl-mega-footer__heading">Informations</h1>
<ul class="mdl-mega-footer__link-list">
<li><a class="footer_link" href="#">License</a></li>
<li><a class="footer_link" href="mailto:[email protected]">Send an email</a></li>
</ul>
</div>
<!--div class="mdl-mega-footer__drop-down-section">
<input class="mdl-mega-footer__heading-checkbox" type="checkbox" checked>
<h1 class="mdl-mega-footer__heading">Details</h1>
<ul class="mdl-mega-footer__link-list">
<li><a href="#">Specs</a></li>
<li><a href="#">Tools</a></li>
<li><a href="#">Resources</a></li>
</ul>
</div-->
<div class="mdl-mega-footer__drop-down-section">
<input class="mdl-mega-footer__heading-checkbox" type="checkbox" checked>
<h1 class="mdl-mega-footer__heading">Social</h1>
<ul class="mdl-mega-footer__link-list">
<li>
<a class="footer_link" href="https://plus.google.com/+DamienMABIN" target="_blank">
<span>
<svg style="fill: #ff0000;" height="16px" id="Layer_1" version="1.1" viewBox="0 0 128 128" width="16px" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g><circle cx="64" cy="64" fill="#9e9e9e" r="64"/><g><path fill="#424242" d="M49.424,97.875c-19.018,0-34.491-15.193-34.491-33.874c0-18.68,15.473-33.875,34.491-33.875 c8.318,0,16.354,2.952,22.624,8.309l-8.771,9.899c-3.838-3.279-8.758-5.086-13.853-5.086c-11.652,0-21.13,9.31-21.13,20.752 c0,11.441,9.479,20.75,21.13,20.75c9.858,0,16.311-4.723,18.407-13.197H49.587V58.432h32.347v6.562 C81.934,84.659,68.869,97.875,49.424,97.875z"/></g><polygon fill="#424242" points="117.934,58.438 107.934,58.438 107.934,48.438 99.934,48.438 99.934,58.438 89.934,58.438 89.934,66.438 99.934,66.438 99.934,76.438 107.934,76.438 107.934,66.438 117.934,66.438 "/></g>
</svg>
</span>
<span>+DamienMabin</span>
</a>
</li>
<li>
<a class="footer_link" href="https://twitter.com/yindie" target="_blank">
<svg viewBox="0 0 16 16" height="16px" width="16px">
<path fill="#9e9e9e" d="M15.969,3.058c-0.586,0.26-1.217,0.436-1.878,0.515c0.675-0.405,1.194-1.045,1.438-1.809
c-0.632,0.375-1.332,0.647-2.076,0.793c-0.596-0.636-1.446-1.033-2.387-1.033c-1.806,0-3.27,1.464-3.27,3.27 c0,0.256,0.029,0.506,0.085,0.745C5.163,5.404,2.753,4.102,1.14,2.124C0.859,2.607,0.698,3.168,0.698,3.767 c0,1.134,0.577,2.135,1.455,2.722C1.616,6.472,1.112,6.325,0.671,6.08c0,0.014,0,0.027,0,0.041c0,1.584,1.127,2.906,2.623,3.206 C3.02,9.402,2.731,9.442,2.433,9.442c-0.211,0-0.416-0.021-0.615-0.059c0.416,1.299,1.624,2.245,3.055,2.271 c-1.119,0.877-2.529,1.4-4.061,1.4c-0.264,0-0.524-0.015-0.78-0.046c1.447,0.928,3.166,1.469,5.013,1.469 c6.015,0,9.304-4.983,9.304-9.304c0-0.142-0.003-0.283-0.009-0.423C14.976,4.29,15.531,3.714,15.969,3.058z"/>
</svg>
<span class="username">yindie</span>
</a>
</li>
</ul>
</div>
<!-- div class="mdl-mega-footer__drop-down-section">
<input class="mdl-mega-footer__heading-checkbox" type="checkbox" checked>
<h1 class="mdl-mega-footer__heading">FAQ</h1>
<ul class="mdl-mega-footer__link-list">
<li><a href="#">Questions</a></li>
<li><a href="#">Answers</a></li>
<li><a href="#">Contact us</a></li>
</ul>
</div -->
</div>
<!-- div class="mdl-mega-footer__bottom-section">
<div class="mdl-logo">Title</div>
<ul class="mdl-mega-footer__link-list">
<li><a href="#">Help</a></li>
<li><a href="#">Privacy & Terms</a></li>
</ul>
</div -->
</footer>
</main>
</div>
<script type="text/javascript">
function downloadJSAtOnload() {
var element = document.createElement("script");
element.src = "/css/photoswipe/photoswipe.min.js";
document.body.appendChild(element);
element = document.createElement("script");
element.src = "/css/photoswipe/photoswipe-ui-default.min.js";
document.body.appendChild(element);
}
if (window.addEventListener)
window.addEventListener("load", downloadJSAtOnload, false);
else if (window.attachEvent)
window.attachEvent("onload", downloadJSAtOnload);
else
window.onload = downloadJSAtOnload;
</script>
<script src="https://www.gstatic.com/firebasejs/3.1.0/firebase.js"></script>
<script>
// Initialize Firebase
var config = {
apiKey: "AIzaSyBaKSt8JOUUokXd4vzVwg7covsTpzNM5jo",
authDomain: "luminous-inferno-9971.firebaseapp.com",
databaseURL: "https://luminous-inferno-9971.firebaseio.com",
storageBucket: "luminous-inferno-9971.appspot.com",
};
firebase.initializeApp(config);
console.log("navigator.language: " + navigator.language);
var isPushEnabled = false;
var pushNotifToken;
var pushNotifEndPoint;
function initialiseState() {
console.log('initialiseState');
// Are Notifications supported in the service worker?
if (!('showNotification' in ServiceWorkerRegistration.prototype)) {
console.warn('Notifications aren\'t supported.');
return;
}
// Check the current Notification permission.
// If its denied, it's a permanent block until the
// user changes the permission
if (Notification.permission === 'denied') {
console.warn('The user has blocked notifications.');
return;
}
// Check if push messaging is supported
if (!('PushManager' in window)) {
console.warn('Push messaging isn\'t supported.');
return;
}
console.log("check for a subscription ");
// We need the service worker registration to check for a subscription
navigator.serviceWorker.ready.then(function(serviceWorkerRegistration) {
console.log("service worker is ready");
// Do we already have a push message subscription?
serviceWorkerRegistration.pushManager.getSubscription()
.then(function(subscription) {
console.log("enable ui");
// Enable any UI which subscribes / unsubscribes from
// push messages.
var pushButton = document.querySelector('#switch-notif');
if(pushButton) {
pushButton.MaterialCheckbox.enable();
}
if (!subscription) {
if(pushButton) {
pushButton.MaterialCheckbox.uncheck();
}
setTimeout(displaySnackBar,3000);
return;
}
if(pushButton) {
pushButton.MaterialCheckbox.check();
}
// Keep your server in sync with the latest subscriptionId
sendSubscriptionToServer(subscription);
// Set your UI to show they have subscribed for
// push messages
//pushButton.textContent = 'Disable Push Messages';
isPushEnabled = true;
})
.catch(function(err) {
console.warn('Error during getSubscription()', err);
});
});
}
function snackbarHandler() {
var snck = document.getElementById("demo-snackbar-example");
//snck.style.display = "none";
snck.classList.remove('mdl-snackbar--active');
subscribe();
}
function displaySnackBar() {
var snackbarContainer = document.querySelector('#demo-snackbar-example');
if(snackbarContainer) {
var data = {
message: 'Stay in touch ! Subscribe to notification (^_^)',
timeout: 8000,
actionHandler: snackbarHandler,
actionText: 'Subscribe'
};
snackbarContainer.MaterialSnackbar.showSnackbar(data);
}
}
function sendSubscriptionToServer(subscription) {
var timeOffset = new Date().getTimezoneOffset();
pushNotifEndPoint = subscription.endpoint;
if(subscription.endpoint.startsWith("https://android.googleapis.com/gcm/send/")) {
pushNotifToken = subscription.endpoint.substring("https://android.googleapis.com/gcm/send/".length);
console.log("push token: " + pushNotifToken);
var wilmaRef = firebase.database().ref('pntokens/'+pushNotifToken);
wilmaRef.set({platform: "chrome", topic: "games", token: pushNotifToken, time_offset: timeOffset, endpoint: pushNotifEndPoint});
} else if (subscription.endpoint.startsWith("https://updates.push.services.mozilla.com/push/")) {
pushNotifToken = subscription.endpoint.substring("https://updates.push.services.mozilla.com/push/".length);
console.log("push token: " + pushNotifToken);
var wilmaRef = firebase.database().ref('pntokens/'+pushNotifToken);
wilmaRef.set({platform: "firefox", topic: "games", token: pushNotifToken, time_offset: timeOffset, endpoint: pushNotifEndPoint});
} else {
console.log("Unknown pusk token type: " + subscription.endpoint);
}
var pnTokenElt = document.getElementById('div_pn_token');
if(pnTokenElt) {
pnTokenElt.innerHTML = pushNotifToken;
}
var pnEndpointElt = document.getElementById('div_pn_endpoint');
if(pnEndpointElt) {
pnEndpointElt.innerHTML = pushNotifEndPoint;
}
}
function subscribe() {
// Disable the button so it can't be changed while
// we process the permission request
var pushButton = document.querySelector('#switch-notif');
//pushButton.disabled = true;
pushButton.MaterialCheckbox.disable();
navigator.serviceWorker.ready.then(function(serviceWorkerRegistration) {
serviceWorkerRegistration.pushManager.subscribe({userVisibleOnly: true})
.then(function(subscription) {
// The subscription was successful
isPushEnabled = true;
//pushButton.textContent = 'Disable Push Messages';
//pushButton.disabled = false;
pushButton.MaterialCheckbox.enable();
pushButton.MaterialCheckbox.check();
// TODO: Send the subscription.endpoint to your server
// and save it to send a push message at a later date
return sendSubscriptionToServer(subscription);
})
.catch(function(e) {
if (Notification.permission === 'denied') {
// The user denied the notification permission which
// means we failed to subscribe and the user will need
// to manually change the notification permission to
// subscribe to push messages
console.warn('Permission for Notifications was denied');
//pushButton.disabled = true;
pushButton.MaterialCheckbox.disable();
} else {
// A problem occurred with the subscription; common reasons
// include network errors, and lacking gcm_sender_id and/or
// gcm_user_visible_only in the manifest.
console.error('Unable to subscribe to push.', e);
//pushButton.disabled = false;
pushButton.MaterialCheckbox.enable();
pushButton.MaterialCheckbox.uncheck();
//pushButton.textContent = 'Enable Push Messages';
}
});
});
}
function unsubscribe() {
var pushButton = document.querySelector('#switch-notif');
//pushButton.disabled = true;
pushButton.MaterialCheckbox.disable();
navigator.serviceWorker.ready.then(function(serviceWorkerRegistration) {
// To unsubscribe from push messaging, you need get the
// subscription object, which you can call unsubscribe() on.
serviceWorkerRegistration.pushManager.getSubscription().then(
function(subscription) {
// Check we have a subscription to unsubscribe
if (!subscription) {
// No subscription object, so set the state
// to allow the user to subscribe to push
isPushEnabled = false;
//pushButton.disabled = false;
pushButton.MaterialCheckbox.enable();
pushButton.MaterialCheckbox.uncheck();
//pushButton.textContent = 'Enable Push Messages';
return;
}
if(subscription.endpoint.startsWith("https://android.googleapis.com/gcm/send/")) {
// This is a chrome push
var endpoint = subscription.endpoint;
// Make a request to your server to remove
// the subscriptionId from your data store so you
// don't attempt to send them push messages anymore
var pntoken = endpoint.substring("https://android.googleapis.com/gcm/send/".length);
console.log("push token: " + pntoken);
var onComplete = function(error) {
if (error) {
console.log('Synchronization failed');
} else {
console.log('Synchronization succeeded');
}
};
var dataRef = firebase.database().ref('pntokens/'+pntoken);
dataRef.remove(onComplete);
// We have a subscription, so call unsubscribe on it
subscription.unsubscribe().then(function(successful) {
//pushButton.disabled = false;
pushButton.MaterialCheckbox.enable();
pushButton.MaterialCheckbox.uncheck();
//pushButton.textContent = 'Enable Push Messages';
isPushEnabled = false;
}).catch(function(e) {
// We failed to unsubscribe, this can lead to
// an unusual state, so may be best to remove
// the users data from your data store and
// inform the user that you have done so
console.log('Unsubscription error: ', e);
//pushButton.disabled = false;
pushButton.MaterialCheckbox.enable();
//pushButton.textContent = 'Enable Push Messages';
});
} else if (subscription.endpoint.startsWith("https://updates.push.services.mozilla.com/push/")) {
// This is a firefox push
var endpoint = subscription.endpoint;
// Make a request to your server to remove
// the subscriptionId from your data store so you
// don't attempt to send them push messages anymore
var pntoken = endpoint.substring("https://updates.push.services.mozilla.com/push/".length);
console.log("push token: " + pntoken);
var onComplete = function(error) {
if (error) {
console.log('Synchronization failed');
} else {
console.log('Synchronization succeeded');
}
};
var dataRef = firebase.database().ref('pntokens/'+pntoken);
dataRef.remove(onComplete);
// We have a subscription, so call unsubscribe on it
subscription.unsubscribe().then(function(successful) {
//pushButton.disabled = false;
pushButton.MaterialCheckbox.enable();
pushButton.MaterialCheckbox.uncheck();
//pushButton.textContent = 'Enable Push Messages';
isPushEnabled = false;
}).catch(function(e) {
// We failed to unsubscribe, this can lead to
// an unusual state, so may be best to remove
// the users data from your data store and
// inform the user that you have done so
console.log('Unsubscription error: ', e);
//pushButton.disabled = false;
pushButton.MaterialCheckbox.enable();
//pushButton.textContent = 'Enable Push Messages';
});
} else {
console.log("Unknown pusk token type: " + subscription.endpoint);
}
}).catch(function(e) {
console.error('Error thrown while unsubscribing from push messaging.', e);
});
});
}
window.addEventListener('load', function() {
var pushButton = document.getElementById('switch-notif');
if(pushButton) {
pushButton.addEventListener('click', function() {
if (isPushEnabled) {
console.log("unsubscribe()");
unsubscribe();
} else {
console.log("subscribe()");
subscribe();
}
});
}
var pushSectionButton = document.getElementById('button-notif-subscribe');
if (pushSectionButton) {
pushSectionButton.addEventListener('click', function() {
console.log("subscribe()");
subscribe();
});
}
// Check that service workers are supported, if so, progressively
// enhance and add push messaging support, otherwise continue without it.
if ('serviceWorker' in navigator) {
console.log("serviceWorker in navigator");
navigator.serviceWorker.register('/service-worker.js')
.then(initialiseState);
} else {
console.warn('Service workers aren\'t supported in this browser.');
}
});
</script>
<script src="/scripts/material.min.js"></script>
<link rel="stylesheet" href="/css/merged.min.css">
</body>
</html>