-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
1182 lines (1082 loc) · 64.7 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
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover">
<meta name="full-screen" content="yes">
<meta name="browsermode" content="application">
<meta name="x5-fullscreen" content="true">
<meta name="x5-page-mode" content="app">
<title>AI Game Collection</title>
<link rel="icon" type="image/png" href="images/icons/favicon-96x96.png" sizes="96x96" />
<link rel="icon" type="image/svg+xml" href="images/icons/favicon.svg" />
<link rel="shortcut icon" href="images/icons/favicon.ico" />
<link rel="apple-touch-icon" sizes="180x180" href="images/icons/apple-touch-icon.png" />
<meta name="apple-mobile-web-app-title" content="AI Game Collection" />
<link rel="manifest" href="site.webmanifest" />
<meta name="description" content="This site and all games were built using AI with minimal code changes.">
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website">
<meta property="og:url" content="https://aigamecollection.com/>
<meta property="og:title" content="AI Game Collection - aigamecollection.com">
<meta property="og:description" content="This site and all games were built using AI with minimal code changes.">
<meta property="og:image" content="https://aigamecollection.com/images/icons/web-app-manifest-512x512.png">
<!-- Twitter -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:url" content="https://aigamecollection.com/">
<meta name="twitter:title" content="AI Game Collection - aigamecollection.com">
<meta name="twitter:description" content="This site and all games were built using AI with minimal code changes.">
<meta name="twitter:image" content="https://aigamecollection.com/images/icons/web-app-manifest-512x512.png">
<!-- Additional Tags -->
<link rel="canonical" href="https://aigamecollection.com/">
<meta property="og:site_name" content="aigamecollection.com">
<meta property="og:locale" content="en_US">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
body {
background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
color: #fff;
min-height: 100vh;
padding: 2rem;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
letter-spacing: -0.015em;
/* Add padding for iOS safe area */
padding-top: env(safe-area-inset-top);
padding-bottom: env(safe-area-inset-bottom);
padding-left: env(safe-area-inset-left);
padding-right: env(safe-area-inset-right);
/* Ensure proper viewport height on iOS */
min-height: -webkit-fill-available;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding-top: max(2rem, env(safe-area-inset-top));
}
header {
text-align: center;
padding-bottom: max(2rem, env(safe-area-inset-top));
}
h1 {
font-size: 2.5rem;
margin-bottom: 1rem;
color: #fff;
font-weight: 700;
letter-spacing: -0.025em;
}
.subtitle {
color: #a0a0a0;
font-size: 1.1rem;
font-weight: 400;
line-height: 1.6;
}
.games-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
padding: 1rem;
}
.game-card {
background: rgba(255, 255, 255, 0.05);
border-radius: 15px;
padding: 1.5rem;
cursor: pointer;
transition: all 0.3s ease;
border: 1px solid rgba(255, 255, 255, 0.1);
position: relative;
overflow: hidden;
display: flex;
flex-direction: column;
height: 100%;
}
.game-card:hover {
transform: translateY(-5px);
background: rgba(255, 255, 255, 0.1);
border-color: rgba(255, 255, 255, 0.2);
}
.game-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.05));
pointer-events: none;
}
.game-icon {
width: 48px;
height: 48px;
margin-bottom: 1rem;
}
.game-icon svg {
width: 100%;
height: 100%;
}
.game-title {
font-size: 1.5rem;
margin-bottom: 0.5rem;
color: #fff;
font-weight: 600;
letter-spacing: -0.015em;
}
.game-description {
color: #a0a0a0;
font-size: 1rem;
line-height: 1.5;
margin-bottom: 20px;
font-weight: 400;
}
.game-meta {
margin-top: 1rem;
font-size: 0.8rem;
color: #666;
margin-bottom: auto;
}
.play-button {
display: inline-block;
width: auto;
max-width: fit-content;
padding: 0.5rem 1rem;
background: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 5px;
color: #fff;
text-decoration: none;
transition: all 0.3s ease;
margin-top: auto;
margin-left: auto;
text-align: left;
cursor: pointer;
font-weight: 500;
letter-spacing: 0.01em;
align-self: flex-end;
}
.play-button:hover {
background: rgba(255, 255, 255, 0.2);
}
.game-iframe-container {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: #000;
z-index: 1000;
display: none;
padding-top: env(safe-area-inset-top);
}
.game-iframe {
width: 100%;
height: 100%;
border: none;
}
.back-button {
position: fixed;
bottom: 30px;
left: 30px;
z-index: 1001;
background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
color: white;
border: none;
padding: 12px;
border-radius: 50%;
cursor: pointer;
display: none;
transition: all 0.3s ease;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
align-items: center;
justify-content: center;
width: 48px;
height: 48px;
}
.back-button:hover {
background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
transform: translateY(-2px);
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
opacity: 90%;
}
.back-button:active {
transform: translateY(0);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.back-button svg {
width: 24px;
height: 24px;
}
.footer-container {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1rem 2rem;
}
.footer-text {
color: #a0a0a0;
font-size: 1rem;
font-weight: 400;
}
.footer-link {
color: #fff;
text-decoration: none;
transition: opacity 0.3s ease;
font-weight: 500;
}
.footer-link:hover {
opacity: 0.8;
}
.icon-container {
display: flex;
gap: 1rem;
}
.github-link, .dockerhub-link {
opacity: 0.7;
transition: all 0.3s ease;
background: rgba(255, 255, 255, 0.05);
padding: 0.75rem;
border-radius: 50%;
border: 1px solid rgba(255, 255, 255, 0.1);
display: flex;
align-items: center;
justify-content: center;
}
.github-link:hover, .dockerhub-link:hover {
opacity: 1;
background: rgba(255, 255, 255, 0.1);
border-color: rgba(255, 255, 255, 0.2);
transform: translateY(-2px);
}
.google-play-container {
display: flex;
justify-content: center;
margin-top: 50px;
}
#googlePlayButton {
display: none;
}
#mobileOptimizedText {
margin-bottom: 50px;
}
@media (max-width: 768px) {
body {
padding: 1rem;
}
h1 {
font-size: 2rem;
}
.games-grid {
grid-template-columns: 1fr;
}
.footer-container {
padding: 1rem;
}
.footer-text {
font-size: 0.9rem;
}
.icon-container {
gap: 0.75rem;
}
.github-link, .dockerhub-link {
transform: scale(0.9);
}
.github-link:hover, .dockerhub-link:hover {
transform: scale(0.9) translateY(-2px);
}
}
/* iOS install prompt */
.ios-install-prompt {
position: fixed;
top: 20px;
right: 20px;
background: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(22, 33, 62, 0.95) 100%);
color: #fff;
padding: 20px;
border-radius: 12px;
text-align: left;
display: none;
z-index: 1000;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
border: 1px solid rgba(255, 255, 255, 0.1);
max-width: 300px;
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
}
.ios-install-prompt p {
margin: 0 0 15px 0;
color: #fff;
}
.ios-install-steps {
margin: 0;
padding-left: 20px;
color: #a0a0a0;
}
.ios-install-steps li {
margin-bottom: 8px;
}
.close-prompt {
position: absolute;
top: 10px;
right: 10px;
background: none;
border: none;
color: #fff;
font-size: 20px;
cursor: pointer;
opacity: 0.7;
transition: opacity 0.3s ease;
}
.close-prompt:hover {
opacity: 1;
}
/* When in game view, adjust install prompt positions */
.game-view
.game-view .ios-install-prompt {
display: none !important;
}
.app-prompt {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.75);
display: flex;
align-items: center;
justify-content: center;
z-index: 1000;
backdrop-filter: blur(5px);
-webkit-backdrop-filter: blur(5px);
}
.app-prompt-content {
background: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(22, 33, 62, 0.95) 100%);
padding: 30px;
border-radius: 12px;
color: #fff;
max-width: 350px;
width: 90%;
border: 1px solid rgba(255, 255, 255, 0.1);
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.app-prompt-content h3 {
margin: 0 0 10px 0;
font-size: 1.2rem;
font-weight: 600;
text-align: center;
}
.app-prompt-content p {
margin: 0 0 20px 0;
color: #a0a0a0;
font-size: 0.9rem;
text-align: center;
line-height: 1.4;
}
.app-prompt-button {
display: block;
width: 100%;
padding: 12px;
margin-bottom: 8px;
background: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 6px;
color: #fff;
font-weight: 500;
cursor: pointer;
transition: all 0.3s ease;
}
.app-prompt-button:hover {
background: rgba(255, 255, 255, 0.2);
transform: translateY(-1px);
}
.app-prompt-button.secondary {
background: transparent;
border: 1px solid rgba(255, 255, 255, 0.1);
}
.app-prompt-button.secondary:hover {
background: rgba(255, 255, 255, 0.05);
}
</style>
</head>
<body>
<div class="container">
<header>
<h1>AI Game Collection</h1>
<p class="subtitle">This site and all games were built using AI with minimal code changes.</p>
<p class="subtitle" id="mobileOptimizedText">All games are optimized for mobile. For the best experience visit this site on your mobile device or install the Android app.</p>
<!-- Add Google Play button container -->
<div class="google-play-container" id="googlePlayButton">
<a href="https://play.google.com/store/apps/details?id=dev.jereme.games.twa" target="_blank">
<svg width="200px" viewBox="0 0 135 40" xmlns="http://www.w3.org/2000/svg">
<style>.st0{fill:#a6a6a6}.st1{stroke:#ffffff;stroke-width:.2;stroke-miterlimit:10}.st1,.st2{fill:#fff}.st3{fill:url(#d)}.st4{fill:url(#c)}.st5{fill:url(#b)}.st6{fill:url(#a)}.st7,.st8,.st9{opacity:.2;enable-background:new}.st8,.st9{opacity:.12}.st9{opacity:.25;fill:#fff}</style>
<path d="M130 40H5c-2.8 0-5-2.2-5-5V5c0-2.8 2.2-5 5-5h125c2.8 0 5 2.2 5 5v30c0 2.8-2.2 5-5 5z"/>
<path class="st0" d="M130 .8c2.3 0 4.2 1.9 4.2 4.2v30c0 2.3-1.9 4.2-4.2 4.2H5C2.7 39.2.8 37.3.8 35V5C.8 2.7 2.7.8 5 .8h125m0-.8H5C2.2 0 0 2.3 0 5v30c0 2.8 2.2 5 5 5h125c2.8 0 5-2.2 5-5V5c0-2.7-2.2-5-5-5z"/>
<path class="st1" d="M47.4 10.2c0 .8-.2 1.5-.7 2-.6.6-1.3.9-2.2.9-.9 0-1.6-.3-2.2-.9-.6-.6-.9-1.3-.9-2.2 0-.9.3-1.6.9-2.2.6-.6 1.3-.9 2.2-.9.4 0 .8.1 1.2.3.4.2.7.4.9.7l-.5.5c-.4-.5-.9-.7-1.6-.7-.6 0-1.2.2-1.6.7-.5.4-.7 1-.7 1.7s.2 1.3.7 1.7c.5.4 1 .7 1.6.7.7 0 1.2-.2 1.7-.7.3-.3.5-.7.5-1.2h-2.2v-.8h2.9v.4zM52 7.7h-2.7v1.9h2.5v.7h-2.5v1.9H52v.8h-3.5V7H52v.7zM55.3 13h-.8V7.7h-1.7V7H57v.7h-1.7V13zM59.9 13V7h.8v6h-.8zM64.1 13h-.8V7.7h-1.7V7h4.1v.7H64V13zM73.6 12.2c-.6.6-1.3.9-2.2.9-.9 0-1.6-.3-2.2-.9-.6-.6-.9-1.3-.9-2.2s.3-1.6.9-2.2c.6-.6 1.3-.9 2.2-.9.9 0 1.6.3 2.2.9.6.6.9 1.3.9 2.2 0 .9-.3 1.6-.9 2.2zm-3.8-.5c.4.4 1 .7 1.6.7.6 0 1.2-.2 1.6-.7.4-.4.7-1 .7-1.7s-.2-1.3-.7-1.7c-.4-.4-1-.7-1.6-.7-.6 0-1.2.2-1.6.7-.4.4-.7 1-.7 1.7s.2 1.3.7 1.7zM75.6 13V7h.9l2.9 4.7V7h.8v6h-.8l-3.1-4.9V13h-.7z"/>
<path class="st2" d="M68.1 21.8c-2.4 0-4.3 1.8-4.3 4.3 0 2.4 1.9 4.3 4.3 4.3s4.3-1.8 4.3-4.3c0-2.6-1.9-4.3-4.3-4.3zm0 6.8c-1.3 0-2.4-1.1-2.4-2.6s1.1-2.6 2.4-2.6c1.3 0 2.4 1 2.4 2.6 0 1.5-1.1 2.6-2.4 2.6zm-9.3-6.8c-2.4 0-4.3 1.8-4.3 4.3 0 2.4 1.9 4.3 4.3 4.3s4.3-1.8 4.3-4.3c0-2.6-1.9-4.3-4.3-4.3zm0 6.8c-1.3 0-2.4-1.1-2.4-2.6s1.1-2.6 2.4-2.6c1.3 0 2.4 1 2.4 2.6 0 1.5-1.1 2.6-2.4 2.6zm-11.1-5.5v1.8H52c-.1 1-.5 1.8-1 2.3-.6.6-1.6 1.3-3.3 1.3-2.7 0-4.7-2.1-4.7-4.8s2.1-4.8 4.7-4.8c1.4 0 2.5.6 3.3 1.3l1.3-1.3c-1.1-1-2.5-1.8-4.5-1.8-3.6 0-6.7 3-6.7 6.6 0 3.6 3.1 6.6 6.7 6.6 2 0 3.4-.6 4.6-1.9 1.2-1.2 1.6-2.9 1.6-4.2 0-.4 0-.8-.1-1.1h-6.2zm45.4 1.4c-.4-1-1.4-2.7-3.6-2.7s-4 1.7-4 4.3c0 2.4 1.8 4.3 4.2 4.3 1.9 0 3.1-1.2 3.5-1.9l-1.4-1c-.5.7-1.1 1.2-2.1 1.2s-1.6-.4-2.1-1.3l5.7-2.4-.2-.5zm-5.8 1.4c0-1.6 1.3-2.5 2.2-2.5.7 0 1.4.4 1.6.9l-3.8 1.6zM82.6 30h1.9V17.5h-1.9V30zm-3-7.3c-.5-.5-1.3-1-2.3-1-2.1 0-4.1 1.9-4.1 4.3s1.9 4.2 4.1 4.2c1 0 1.8-.5 2.2-1h.1v.6c0 1.6-.9 2.5-2.3 2.5-1.1 0-1.9-.8-2.1-1.5l-1.6.7c.5 1.1 1.7 2.5 3.8 2.5 2.2 0 4-1.3 4-4.4V22h-1.8v.7zm-2.2 5.9c-1.3 0-2.4-1.1-2.4-2.6s1.1-2.6 2.4-2.6c1.3 0 2.3 1.1 2.3 2.6s-1 2.6-2.3 2.6zm24.4-11.1h-4.5V30h1.9v-4.7h2.6c2.1 0 4.1-1.5 4.1-3.9s-2-3.9-4.1-3.9zm.1 6h-2.7v-4.3h2.7c1.4 0 2.2 1.2 2.2 2.1-.1 1.1-.9 2.2-2.2 2.2zm11.5-1.8c-1.4 0-2.8.6-3.3 1.9l1.7.7c.4-.7 1-.9 1.7-.9 1 0 1.9.6 2 1.6v.1c-.3-.2-1.1-.5-1.9-.5-1.8 0-3.6 1-3.6 2.8 0 1.7 1.5 2.8 3.1 2.8 1.3 0 1.9-.6 2.4-1.2h.1v1h1.8v-4.8c-.2-2.2-1.9-3.5-4-3.5zm-.2 6.9c-.6 0-1.5-.3-1.5-1.1 0-1 1.1-1.3 2-1.3.8 0 1.2.2 1.7.4-.2 1.2-1.2 2-2.2 2zm10.5-6.6l-2.1 5.4h-.1l-2.2-5.4h-2l3.3 7.6-1.9 4.2h1.9l5.1-11.8h-2zm-16.8 8h1.9V17.5h-1.9V30z"/>
<linearGradient id="d" x1="21.8" x2="5.017" y1="33.29" y2="16.508" gradientTransform="matrix(1 0 0 -1 0 42)" gradientUnits="userSpaceOnUse">
<stop stop-color="#00a0ff" offset="0"/>
<stop stop-color="#00a1ff" offset=".007"/>
<stop stop-color="#00beff" offset=".26"/>
<stop stop-color="#00d2ff" offset=".512"/>
<stop stop-color="#00dfff" offset=".76"/>
<stop stop-color="#00e3ff" offset="1"/>
</linearGradient>
<path class="st3" d="M10.4 7.5c-.3.3-.4.8-.4 1.4V31c0 .6.2 1.1.5 1.4l.1.1L23 20.1v-.2L10.4 7.5z"/>
<linearGradient id="c" x1="33.834" x2="9.637" y1="21.999" y2="21.999" gradientTransform="matrix(1 0 0 -1 0 42)" gradientUnits="userSpaceOnUse">
<stop stop-color="#ffe000" offset="0"/>
<stop stop-color="#ffbd00" offset=".409"/>
<stop stop-color="orange" offset=".775"/>
<stop stop-color="#ff9c00" offset="1"/>
</linearGradient>
<path class="st4" d="M27 24.3l-4.1-4.1V19.9l4.1-4.1.1.1 4.9 2.8c1.4.8 1.4 2.1 0 2.9l-5 2.7z"/>
<linearGradient id="b" x1="24.827" x2="2.069" y1="19.704" y2="-3.054" gradientTransform="matrix(1 0 0 -1 0 42)" gradientUnits="userSpaceOnUse">
<stop stop-color="#ff3a44" offset="0"/>
<stop stop-color="#c31162" offset="1"/>
</linearGradient>
<path class="st5" d="M27.1 24.2L22.9 20 10.4 32.5c.5.5 1.2.5 2.1.1l14.6-8.4"/>
<linearGradient id="a" x1="7.297" x2="17.46" y1="41.824" y2="31.661" gradientTransform="matrix(1 0 0 -1 0 42)" gradientUnits="userSpaceOnUse">
<stop stop-color="#32a071" offset="0"/>
<stop stop-color="#2da771" offset=".069"/>
<stop stop-color="#15cf74" offset=".476"/>
<stop stop-color="#06e775" offset=".801"/>
<stop stop-color="#00f076" offset="1"/>
</linearGradient>
<path class="st6" d="M27.1 15.8L12.5 7.5c-.9-.5-1.6-.4-2.1.1L22.9 20l4.2-4.2z"/>
<path class="st7" d="M27 24.1l-14.5 8.2c-.8.5-1.5.4-2 0l-.1.1.1.1c.5.4 1.2.5 2 0L27 24.1z"/>
<path class="st8" d="M10.4 32.3c-.3-.3-.4-.8-.4-1.4v.1c0 .6.2 1.1.5 1.4v-.1h-.1zM32 21.3l-5 2.8.1.1 4.9-2.8c.7-.4 1-.9 1-1.4 0 .5-.4.9-1 1.3z"/>
<path class="st9" d="M12.5 7.6L32 18.7c.6.4 1 .8 1 1.3 0-.5-.3-1-1-1.4L12.5 7.5c-1.4-.8-2.5-.2-2.5 1.4V9c0-1.5 1.1-2.2 2.5-1.4z"/>
</svg>
</a>
</div>
</header>
<div class="games-grid" id="gamesContainer">
<!-- Games will be dynamically inserted here -->
</div>
<div class="footer-container">
<div class="footer-text">
AI project by: <a href="https://jeremehancock.com" target="_blank" class="footer-link">Jereme Hancock</a>
</div>
<div class="icon-container">
<a href="https://hub.docker.com/repository/docker/bozodev/ai-game-collection/general" target="_blank" class="dockerhub-link" title="Check it out on Docker Hub">
<svg xmlns="http://www.w3.org/2000/svg" height="32" width="32" viewBox="49 140 442 235">
<path stroke="#ffffff" stroke-width="38" d="M296 226h42m-92 0h42m-91 0h42m-91 0h41m-91 0h42m8-46h41m8 0h42m7 0h42m-42-46h42"/>
<path fill="#ffffff" d="m472 228s-18-17-55-11c-4-29-35-46-35-46s-29 35-8 74c-6 3-16 7-31 7H68c-5 19-5 145 133 145 99 0 173-46 208-130 52 4 63-39 63-39"/>
</svg>
</a>
<a href="https://github.com/jeremehancock/AI-Game-Collection?tab=readme-ov-file#ai-game-collection" target="_blank" class="github-link" title="Check it out on GitHub">
<svg height="24" width="24" viewBox="0 0 24 24" style="margin: 4px" fill="none" stroke="#ffffff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22"></path>
</svg>
</a>
</div>
</div>
</div>
<!-- New elements for iframe and back button -->
<div class="game-iframe-container" id="gameContainer">
<iframe class="game-iframe" id="gameFrame"></iframe>
</div>
<button class="back-button" id="backButton" aria-label="Return to game selection">
<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M15 18L9 12L15 6" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</button>
<!-- iOS Install Prompt -->
<div id="iosInstallPrompt" class="ios-install-prompt">
<button class="close-prompt" onclick="closeIOSPrompt()">×</button>
<p>Install this web app on your iPhone:</p>
<ol class="ios-install-steps">
<li>Tap the Share button</li>
<li>Scroll down and tap "Add to Home Screen"</li>
<li>Tap "Add" to install</li>
</ol>
</div>
<div id="appPrompt" class="app-prompt" style="display: none;">
<div class="app-prompt-content">
<h3>Open AI Game Collection App</h3>
<p>Would you like to open the installed app?</p>
<button id="openInApp" class="app-prompt-button">Open App</button>
<button id="stayInBrowser" class="app-prompt-button secondary">Continue in Browser</button>
</div>
</div>
</div>
<script>
document.addEventListener('DOMContentLoaded', () => {
const appPrompt = document.getElementById('appPrompt');
const openInAppBtn = document.getElementById('openInApp');
const stayInBrowserBtn = document.getElementById('stayInBrowser');
// Check if we're on Android and not already in the app/PWA
const isAndroid = /Android/i.test(navigator.userAgent);
const isStandalone = window.matchMedia('(display-mode: standalone)').matches ||
document.referrer.includes('android-app://');
// Show prompt if we're on Android and not in the app
if (isAndroid && !isStandalone) {
appPrompt.style.display = 'flex'; // Changed to flex for centering
}
// Handle opening in Android app
openInAppBtn.addEventListener('click', () => {
window.location.href =
`intent://${window.location.host}${window.location.pathname}` +
'#Intent;' +
'scheme=https;' +
'package=dev.jereme.games.twa;' +
'action=android.intent.action.VIEW;' +
'category=android.intent.category.BROWSABLE;' +
'end';
});
// Handle staying in browser
stayInBrowserBtn.addEventListener('click', () => {
appPrompt.style.display = 'none';
handleGooglePlayButton();
});
});
let deferredPrompt;
const iosInstallPrompt = document.getElementById('iosInstallPrompt');
// Check if it's iOS
function isIOS() {
return /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream;
}
// Show iOS install prompt
function showIOSInstall() {
if (isIOS() && !navigator.standalone) {
iosInstallPrompt.style.display = 'block';
}
}
// Close iOS prompt
function closeIOSPrompt() {
iosInstallPrompt.style.display = 'none';
}
// Modify loadGame to handle install button visibility
function loadGame(gamePath) {
const container = document.getElementById('gameContainer');
const iframe = document.getElementById('gameFrame');
const backButton = document.getElementById('backButton');
iframe.src = gamePath;
container.style.display = 'block';
backButton.style.display = 'block';
document.body.style.overflow = 'hidden';
document.body.classList.add('game-view');
}
// Modify goBack to handle install button visibility
function goBack() {
const container = document.getElementById('gameContainer');
const iframe = document.getElementById('gameFrame');
const backButton = document.getElementById('backButton');
iframe.src = '';
container.style.display = 'none';
backButton.style.display = 'none';
document.body.style.overflow = 'auto';
document.body.classList.remove('game-view');
// Show appropriate install button when returning to main page
if (isIOS() && !navigator.standalone) {
showIOSInstall();
}
}
// Track installation
window.addEventListener('appinstalled', (evt) => {
iosInstallPrompt.style.display = 'none';
});
// Function to get URL parameters
function getUrlParameter(name) {
name = name.replace(/[\[]/, '\\[').replace(/[\]]/, '\\]');
var regex = new RegExp('[\\?&]' + name + '=([^&#]*)');
var results = regex.exec(location.search);
return results === null ? '' : decodeURIComponent(results[1].replace(/\+/g, ' '));
}
// Function to handle Google Play button visibility
function handleGooglePlayButton() {
const isAndroid = /Android/i.test(navigator.userAgent);
const modeParam = getUrlParameter('mode'); // Assumes this function extracts the "mode" URL parameter
const isFullscreen = window.matchMedia('(display-mode: fullscreen)').matches; // Detect PWA mode
const googlePlayButton = document.getElementById('googlePlayButton');
const mobileOptimizedText = document.getElementById('mobileOptimizedText');
const isStandalone = window.matchMedia('(display-mode: standalone)').matches ||
document.referrer.includes('android-app://');
if ((isAndroid && isFullscreen) || modeParam === 'app' || isIOS()) {
googlePlayButton.style.display = 'none'; // Hide in Android PWA or app mode
mobileOptimizedText.style.display = 'none'; // Hide in Android PWA or app mode
}
else if ((isAndroid && !isStandalone) || isIOS()) {
googlePlayButton.style.display = 'none'; // Hide in Android PWA or app mode
mobileOptimizedText.style.display = 'none'; // Hide in Android PWA or app mode
}
else if ((isAndroid && !isFullscreen)) {
mobileOptimizedText.style.display = 'none'; // Hide in Android PWA or app mode
googlePlayButton.style.display = 'block'; // Show otherwise
}
else {
googlePlayButton.style.display = 'block'; // Show otherwise
}
}
// Game collection data with SVG icons
const games = {
nerdle: {
title: 'Nerdle',
path: '/games/nerdle/',
description: 'A nerdy twist on the famous word game. Guess the hidden "nerdy" word in 6 tries.',
icon: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64">
<path fill="white" d="M32 2C15.432 2 2 15.432 2 32s13.432 30 30 30 30-13.432 30-30S48.568 2 32 2m18.103 9.324c-2.818-1.123-5.925-1.463-8.979-.915-.703.135-.192 2.27.388 2.156 4.168-.748 8.456.4 11.69 3.133.163.142.469.015.765-.222 1.734 2.3 3.11 4.881 4.06 7.66C55.73 19.456 51.657 17 47 17c-4.533 0-8.521 2.323-10.848 5.842-2.688-1.168-5.805-1.061-8.301.007C25.525 19.326 21.537 17 17 17c-4.657 0-8.73 2.457-11.026 6.137.962-2.818 2.367-5.433 4.136-7.758.27.197.538.299.686.169 3.237-2.732 7.524-3.881 11.692-3.133.58.113 1.092-2.021.389-2.156-2.944-.528-5.936-.228-8.672.8C19.006 6.973 25.218 4.5 32 4.5c6.928 0 13.262 2.581 18.103 6.824M57 30c0 5.521-4.479 10-10 10s-10-4.479-10-10c0-5.524 4.479-10 10-10s10 4.476 10 10m-29.999 0c0 5.523-4.479 10-10.001 10-5.522 0-10-4.477-10-10 0-5.524 4.477-10 10-10s10.001 4.476 10.001 10M32 59.5c-14.563 0-26.511-11.379-27.436-25.712C6.187 39.119 11.139 43 17 43c7.18 0 13-5.82 13-13 0-1.276-.191-2.506-.534-3.671 1.53-.436 3.54-.434 5.068.001C34.191 27.494 34 28.725 34 30c0 7.18 5.82 13 13 13 5.861 0 10.813-3.881 12.436-9.212C58.511 48.121 46.563 59.5 32 59.5"/>
<ellipse fill="white" cx="20" cy="30.5" rx="4" ry="5"/>
<ellipse fill="white" cx="44" cy="30.5" rx="4" ry="5"/>
<path fill="white" d="M41.404 45.15c-3.223 2.269-8.353 3.834-13.66 2.433-1.421-.377-2.535 3.31-1.018 3.733 5.767 1.55 12.049.429 16.93-3.014 1.205-.868-1.054-4.027-2.252-3.152"/>
</svg>`,
mobileOnly: false
},
pipes: {
title: 'Pipes',
path: '/games/pipes/',
description: 'Connect the pipes to create a continuous flow. A challenging puzzle game that will test your logical thinking.',
icon: `<svg viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg" fill="white">
<g>
<path d="M18.8,25c-0.5,0.5-0.8,1.2-0.8,2v2c0,0.6,0.4,1,1,1h10c0.6,0,1-0.4,1-1v-2c0-0.8-0.3-1.5-0.8-2H18.8z"/>
<path d="M13.2,7C13.7,6.5,14,5.8,14,5V3c0-0.6-0.4-1-1-1H3C2.4,2,2,2.4,2,3v2c0,0.8,0.3,1.5,0.8,2H13.2z"/>
<path d="M18.7,20h1.1c0.1,0,0.2,0.1,0.2,0.2V23h8v-4c0-3.9-3.1-7-7-7h-2.3c-0.3-0.6-1-1-1.7-1h-2c-0.7,0-1.4,0.4-1.7,1h-1.1
c-0.1,0-0.2-0.1-0.2-0.2V9H4v4c0,3.9,3.1,7,7,7h2.3c0.3,0.6,1,1,1.7,1h2C17.7,21,18.4,20.6,18.7,20z"/>
</g>
</svg>`,
mobileOnly: false
},
memory: {
title: 'Memory',
path: '/games/memory/',
description: 'Test your memory by matching pairs of cards. A classic game that improves concentration and recall.',
icon: `<svg height="800px" width="800px" version="1.1" id="_x32_" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
viewBox="0 0 512 512" xml:space="preserve">
<style type="text/css">
.st0{fill:#fff;}
</style>
<g>
<path class="st0" d="M410.34,153.043c-1.278-1.293-2.712-2.477-4.288-3.527l-1.615-0.337c-0.846-0.368-1.52-0.972-1.96-1.702
c-2.524-1.191-5.166-1.959-7.854-2.343c-2.321-0.322-3.951-2.477-3.614-4.814c0.313-2.336,2.484-3.966,4.805-3.645
c2.658,0.392,5.322,1.067,7.878,2.07c0.415-1.866,0.65-3.771,0.65-5.691c-0.008-4.202-0.995-8.443-3.096-12.433
c-2.399-4.562-5.918-8.121-10.034-10.55c-3.606-2.132-7.682-3.402-11.868-3.7c-0.305,3.817-1.214,7.619-2.798,11.303
c-0.941,2.163-3.441,3.159-5.612,2.226c-2.164-0.925-3.167-3.433-2.234-5.597c1.52-3.55,2.234-7.203,2.25-10.825l-0.055-1.544
c-0.29-5.017-1.952-9.861-4.782-13.992c-2.83-4.124-6.796-7.502-11.734-9.642c-3.543-1.513-7.212-2.226-10.826-2.226
c-6.922,0-13.624,2.666-18.687,7.368c0.948,3.222,1.489,6.616,1.489,10.144c0,2.352-1.928,4.264-4.28,4.264
s-4.272-1.912-4.272-4.264c0-3.457-0.635-6.734-1.795-9.783h0.008c-1.968-5.134-5.448-9.555-9.908-12.675
c-4.445-3.119-9.83-4.946-15.693-4.946c-5.087,0-9.83,1.388-13.906,3.786c-3.261,1.928-6.075,4.531-8.285,7.588
c4.319,5.918,6.874,13.232,6.874,21.118c0,2.351-1.92,4.256-4.28,4.256c-2.352,0-4.272-1.905-4.272-4.256
c0-6.929-2.548-13.232-6.788-18.053c-5.032-5.746-12.377-9.343-20.608-9.343c-5.714,0-10.974,1.732-15.372,4.711
c-4.382,2.979-7.87,7.196-9.932,12.15c-1.332,3.237-2.093,6.804-2.093,10.535c0,2.351-1.905,4.256-4.264,4.256
c-2.36,0-4.264-1.905-4.264-4.256c0-3.465,0.502-6.804,1.411-9.987c-3.214-1.301-6.694-2.022-10.268-2.022
c-2.03,0-4.068,0.235-6.138,0.698c-6.083,1.403-11.17,4.68-14.894,9.116c-2.681,3.199-4.594,7-5.589,11.084
c8.819,0.156,17.629,3.566,24.434,10.229c1.678,1.654,1.709,4.351,0.063,6.028c-1.654,1.693-4.351,1.709-6.036,0.07
c-5.346-5.212-12.236-7.823-19.166-7.831c-1.238,0-2.477,0.086-3.716,0.243h-0.015h-0.008c-5.808,0.807-11.405,3.456-15.85,7.988
c-5.221,5.33-7.808,12.213-7.815,19.158c0,3.959,0.862,7.948,2.586,11.617c1.34,2.892,3.222,5.589,5.652,7.956v0.007
c2.744,2.697,5.911,4.688,9.29,5.989c2.186,0.855,3.292,3.324,2.43,5.518c-0.854,2.211-3.316,3.309-5.518,2.446
c-4.413-1.709-8.583-4.326-12.19-7.862c-1.575-1.552-2.979-3.206-4.224-4.961c-3.222,4.617-4.97,10.142-4.97,15.771
c0,4.359,1.043,8.756,3.245,12.887c2.477,4.625,6.06,8.231,10.277,10.692c3.331,1.952,7.055,3.183,10.896,3.614l-0.008-0.259
c0-2.258,0.212-4.468,0.596-6.616c0.439-2.32,2.673-3.834,4.978-3.418c2.32,0.431,3.849,2.657,3.433,4.977
c-0.306,1.638-0.47,3.339-0.47,5.056l0.07,1.984l0.227,1.999v0.023l0.008,0.039c1.96,13.389,13.53,23.398,27.075,23.398
l1.968-0.078h0.008c6.004-0.431,11.397-2.752,15.677-6.365c3.002-2.532,5.463-5.706,7.149-9.282
c0.995-2.14,3.558-3.048,5.683-2.038c2.132,1.004,3.042,3.543,2.038,5.676c-1.826,3.849-4.319,7.321-7.313,10.276
c1.677,5.158,4.828,9.587,8.944,12.879c4.704,3.771,10.637,5.997,17.049,5.997l1.976-0.078h0.008
c4.06-0.29,7.815-1.458,11.147-3.277c-0.518-2.453-0.815-4.961-0.815-7.501c0-5.237,1.168-10.575,3.582-15.592
c1.027-2.124,3.574-3.01,5.691-1.983c2.124,1.011,3.026,3.567,1.999,5.691c-1.858,3.849-2.728,7.894-2.728,11.884
c0,2.79,0.431,5.573,1.262,8.214h0.008c2.187,6.969,7.126,13.06,14.235,16.477c3.841,1.858,7.886,2.728,11.868,2.728
c6.326,0,12.511-2.211,17.418-6.216l0.016-0.008c2.979-2.454,5.472-5.558,7.266-9.266l0.008-0.016
c1.67-3.464,2.548-7.093,2.696-10.715c0.11-2.352,2.093-4.186,4.46-4.076c2.352,0.102,4.17,2.092,4.068,4.444
c-0.204,4.75-1.356,9.547-3.543,14.07v-0.008c-1.756,3.661-4.068,6.883-6.78,9.634c5.032,7.227,13.404,11.782,22.458,11.774
c1.677,0,3.386-0.156,5.103-0.486c6.592-1.238,12.15-4.727,16.101-9.524c3.943-4.806,6.24-10.912,6.24-17.356l-0.008-0.579v-0.032
c-0.031-1.45-0.18-2.97-0.462-4.5c-0.682-3.629-2.07-6.922-3.974-9.83c-2.759-2.43-5.824-5.604-8.716-9.132
c-3.081-3.762-5.918-7.878-7.823-12.024c-1.254-2.775-2.148-5.581-2.164-8.536c0-1.309,0.18-2.665,0.674-3.966
c0.478-1.325,1.262-2.579,2.312-3.614c1.662-1.654,4.358-1.654,6.028,0c1.662,1.677,1.662,4.389,0,6.044l-0.322,0.51l-0.164,1.027
c-0.016,1.074,0.431,2.893,1.395,4.985c0.956,2.086,2.375,4.429,4.045,6.741c3.308,4.633,7.596,9.18,10.825,11.954l0.439,0.377
l0.322,0.478c2.642,3.935,4.578,8.466,5.51,13.412v0.008l0.306,2.116l1.278,0.055c5.409-0.008,10.856-1.607,15.646-4.97
c3.81-2.681,6.71-6.122,8.67-9.987c1.967-3.872,2.994-8.152,2.994-12.463c0-4.037-0.91-8.09-2.728-11.86
c-1.686,0.541-3.395,0.972-5.127,1.27c-2.32,0.415-4.523-1.161-4.938-3.48c-0.393-2.328,1.176-4.523,3.496-4.931
c7.556-1.301,14.478-5.706,18.758-12.777c2.712-4.444,3.99-9.336,3.99-14.172c0-7.126-2.752-14.094-7.878-19.26L410.34,153.043z
M214.788,120.481c4.076-4.821,9.485-8.247,15.301-10.489c5.84-2.242,12.095-3.316,18.1-3.316
c5.84,0.008,11.452,0.996,16.218,3.207c2.132,0.971,3.065,3.519,2.077,5.659c-0.98,2.133-3.512,3.073-5.667,2.086
c-3.292-1.544-7.8-2.43-12.628-2.43c-4.97,0-10.268,0.916-15.027,2.767c-4.758,1.826-8.936,4.554-11.876,8.019
c-1.505,1.803-4.209,2.038-6.012,0.502C213.479,124.965,213.252,122.276,214.788,120.481z M311.925,221.396
c-4.962,0-9.462-0.564-13.569-1.512c0.11,1.175,0.188,2.484,0.188,3.872c0,2.783-0.306,5.964-1.176,9.304
c-0.878,3.331-2.359,6.835-4.695,10.198c-1.34,1.944-3.998,2.422-5.934,1.081c-1.944-1.341-2.414-3.99-1.09-5.942
c1.724-2.485,2.798-5.025,3.457-7.525c0.659-2.5,0.902-4.931,0.902-7.117c0.008-3.018-0.455-5.503-0.784-6.922
c-2.085-0.941-4.006-1.999-5.8-3.183c-7.149-4.625-11.93-10.731-14.933-16.54c-2.014-3.896-3.238-7.658-3.896-10.927
c-0.376-1.866-0.564-3.558-0.564-5.096c0-2.367,1.913-4.28,4.272-4.28c2.359,0,4.272,1.913,4.272,4.28
c-0.008,1.238,0.259,3.316,0.933,5.676c0.674,2.367,1.748,5.056,3.3,7.76c3.112,5.44,8.058,10.888,15.693,14.424
c5.103,2.367,11.452,3.903,19.424,3.903c2.359,0,4.272,1.913,4.272,4.272C316.197,219.484,314.285,221.396,311.925,221.396z
M341.979,190.229c-0.878,2.18-3.363,3.246-5.558,2.375c-2.187-0.878-3.237-3.347-2.375-5.534v-0.008l0.024-0.063l0.126-0.376
l0.439-1.536c0.322-1.348,0.651-3.253,0.651-5.346l-0.008-0.298c-5.863,1.991-11.303,2.884-16.312,2.884
c-7.572,0.016-14.125-2.061-19.456-5.212c-5.338-3.15-9.492-7.321-12.597-11.562c-3.527-4.805-8.152-9.116-13.451-12.165
c-5.314-3.058-11.256-4.876-17.566-4.892c-5.526,0.016-11.405,1.395-17.543,4.766c-5.824,3.198-9.571,7.454-11.993,12.126
c-2.406,4.68-3.425,9.79-3.418,14.447c-0.016,4.311,0.894,8.214,2.077,10.676c1.011,2.132,0.094,4.672-2.03,5.683
c-2.124,1.012-4.672,0.094-5.683-2.03c-1.858-3.936-2.892-8.89-2.908-14.329c0.008-5.409,1.082-11.32,3.724-16.971
c-5.298,1.2-10.221,1.733-14.705,1.733c-2.422,0-4.704-0.157-6.875-0.439l-0.792,1.599l-0.008,0.015l-0.063,0.064l-0.227,0.29
l-0.91,1.238c-0.776,1.114-1.85,2.736-3.018,4.805c-2.328,4.1-4.993,9.885-6.287,16.382c-0.462,2.313-2.704,3.826-5.017,3.355
c-2.312-0.462-3.818-2.704-3.339-5.032c1.536-7.706,4.571-14.259,7.212-18.923c1.379-2.414,2.642-4.326,3.566-5.628
c-3.48-1.042-6.49-2.32-8.951-3.622c-5.62-2.987-8.545-5.981-8.795-6.224c-1.631-1.701-1.584-4.398,0.109-6.036
c1.701-1.63,4.39-1.583,6.028,0.094l0.048,0.047l0.25,0.243l1.223,1.026c1.112,0.878,2.83,2.086,5.126,3.308
c4.609,2.43,11.492,4.892,20.718,4.908c6.482,0,14.125-1.238,23.006-4.656c2.25-2.093,4.844-4.005,7.823-5.636
c7.306-4.005,14.666-5.808,21.65-5.808c7.98,0,15.403,2.321,21.831,6.02c6.428,3.716,11.876,8.803,16.069,14.525
c2.548,3.456,5.895,6.804,10.042,9.241c4.17,2.446,9.1,4.038,15.128,4.045c4.131,0,8.787-0.768,14.055-2.618
c-1.285-2.062-3.198-4.053-6.349-5.856c-2.054-1.168-2.783-3.77-1.623-5.816c1.168-2.062,3.763-2.768,5.816-1.623
c5.048,2.846,8.427,6.616,10.386,10.559c1.983,3.927,2.571,7.909,2.571,11.296C343.797,185.652,342.096,189.924,341.979,190.229z
M340.38,137.938c-9.971,0-18.695-2.689-25.75-6.757c-0.995,1.38-2.328,3.112-4.045,4.993c-3.864,4.241-9.54,9.219-17.135,11.946
c-2.234,0.784-4.664-0.36-5.456-2.586c-0.792-2.227,0.376-4.664,2.579-5.448c5.605-1.999,10.292-5.926,13.538-9.477
c1.505-1.623,2.673-3.159,3.52-4.335c-4.21-3.558-7.533-7.611-9.814-11.781c-2.163-3.998-3.418-8.121-3.433-12.127
c0-2.351,1.913-4.264,4.272-4.264c2.352,0,4.264,1.913,4.264,4.264c-0.016,2.156,0.737,5.033,2.398,8.051
c1.638,3.025,4.131,6.176,7.392,8.999c6.522,5.652,15.936,9.978,27.671,9.978c2.359,0,4.264,1.921,4.264,4.28
C344.644,136.025,342.739,137.938,340.38,137.938z M374.023,198.037c-1.497,1.803-4.194,2.069-6.012,0.556
c-1.818-1.497-2.069-4.193-0.58-6.004c4.656-5.652,6.373-11.343,6.388-16.79c0.016-4.962-1.505-9.752-3.888-13.788
c-2.352-4.03-5.604-7.259-8.732-9.054c-2.101-1.207-4.076-1.748-5.644-1.748c-2.36,0-4.264-1.904-4.264-4.264
c0-2.359,1.905-4.272,4.264-4.272c2.594,0,5.134,0.635,7.549,1.701c2.406,1.051,4.68,2.548,6.796,4.375
c4.225,3.652,7.815,8.622,10.073,14.447c1.489,3.887,2.398,8.152,2.398,12.604C382.379,183.12,379.879,190.958,374.023,198.037z"/>
<path class="st0" d="M172.459,411.86l0.291,0.259c-0.008-0.008-0.008-0.008-0.016-0.016L172.459,411.86z"/>
<path class="st0" d="M428.699,66.574C396.943,29.442,349.183,4.155,287.986,0.462C283.008,0.156,278.054,0,273.147,0
c-51.469,0-98.815,16.712-133.524,47.393c-34.733,30.602-56.36,75.408-56.282,129.072c0,1.215,0.008,2.43,0.031,3.653l-0.054,6.474
l-44.179,78.018c-2.375,4.209-3.575,8.905-3.575,13.601c0,3.918,0.832,7.854,2.516,11.522c3.567,7.784,10.582,13.381,18.891,15.309
l-0.016,0.07l20.318,5.597l8.027,77.423l0.063-0.008c0.565,11.28,5.597,21.87,14.142,29.301
c7.596,6.616,17.292,10.206,27.263,10.206c1.01,0,2.006-0.094,3.01-0.164l23.022,1.826l1.153-0.125l0.368-0.016
c0.885,0,1.709,0.314,2.344,0.886l0.038,0.04c0.73,0.658,1.161,1.622,1.161,2.61V512h214.96v-12.04c0,0,0-32.616,0-45.628
c-0.024-5.237,1.019-15.591,3.073-25.578c1.019-5.008,2.28-10.002,3.708-14.32c1.411-4.311,3.042-7.98,4.405-10.12
c14.298-23.046,34.514-41.952,53.028-68.69c18.492-26.714,34.255-61.369,38.574-113.951c0.549-6.592,0.824-13.185,0.824-19.745
C476.436,152.079,460.508,103.674,428.699,66.574z M451.611,219.664c-4.178,48.875-17.849,78.12-34.405,102.303
c-16.531,24.159-36.974,43.152-53.616,69.577c-2.9,4.672-5.025,9.846-6.851,15.348c-2.712,8.239-4.648,17.222-5.973,25.586
c-1.317,8.387-2.014,15.991-2.022,21.854c0,8.356,0,20.992,0,33.588H181.944v-55.231c0-7.847-3.339-15.317-9.188-20.56
c-5.103-4.586-11.687-7.063-18.436-7.063c-0.494,0-0.972,0.054-1.458,0.086l-22.998-1.834l-1.129,0.125l-1.967,0.11
c-4.186,0-8.262-1.513-11.453-4.288c-3.684-3.206-5.864-7.815-6.005-12.714l-0.007-0.454l-9.767-94.221l-36.607-10.096
l-0.439-0.086c-1.113-0.22-2.045-0.957-2.524-1.992l-0.322-1.489l0.455-1.74l47.251-83.443l0.102-13.036v-0.173
c-0.023-1.128-0.031-2.242-0.031-3.354c0.079-47.251,18.444-84.658,48.153-111.035c29.74-26.315,71.27-41.35,117.573-41.35
c4.413,0,8.866,0.141,13.35,0.416l0.744-12.017l-0.737,12.017c55.443,3.488,96.252,25.609,123.914,57.755
c27.616,32.17,41.938,74.898,41.938,119.674C452.356,207.812,452.113,213.73,451.611,219.664z"/>
</g>
</svg>`,
mobileOnly: false
},
minesweeper: {
title: 'Minesweeper',
path: '/games/minesweeper/',
description: 'Classic Minesweeper game with a modern touch. Clear the board without hitting any mines in this strategic puzzle game.',
icon: `<svg fill="#fff" height="800px" width="800px" version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 512 512">
<g>
<path d="m411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z"/>
<path d="m459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z"/>
<path d="m340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z"/>
<path d="m400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.164-16,16v32c0,8.836 7.156,16 16,16z"/>
<path d="m496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z"/>
<path d="m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z"/>
</g>
</svg>`,
mobileOnly: false
},
snake: {
title: 'Snake',
path: '/games/snake/',
description: 'Classic snake game with a modern twist. Eat the food, grow longer, and try not to hit the walls or yourself!',
icon: `
<svg height="800px" width="800px" version="1.1" id="_x32_" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
viewBox="0 0 512 512" xml:space="preserve">
<style type="text/css">
.st0{fill:#fff;}
</style>
<g>
<path class="st0" d="M439.189,346.414h-10.132c14.791-13.319,24.137-32.566,24.147-54.046c-0.01-40.216-32.603-72.792-72.82-72.802
h-41.606c2.075-2.936,4.233-6.15,6.419-9.771c10.058-16.718,20.266-40.81,20.275-70.023c0.009-15.32-2.843-31.983-9.873-49.387
c-9.726-24.147-24.972-42.004-43.172-53.555c-18.191-11.578-39.151-16.866-60.289-16.857c-23.988,0.009-48.284,6.734-69.846,18.969
c-3.224,1.806-6.104,2.63-9.605,3.242c-5.178,0.945-11.939,0.964-20.137,3.52c-8.215,2.556-17.07,7.965-25.97,18.099
c-13.857,15.616-24.962,25.202-32.418,30.797c-3.733,2.806-6.558,4.603-8.364,5.678c-0.899,0.537-1.547,0.888-1.936,1.084
l-0.371,0.185l-0.037,0.018v0.01l-1.195,0.528l-1.056,0.917c-5.475,4.733-8.596,11.596-8.596,18.802l0.019,0.88v-0.066
c0.065,1.862,0.325,4.168,0.824,7.113c0.657,3.705,1.815,8.179,3.529,12.68c-1.362-0.241-2.658-0.435-4.058-0.704
c-6.465-1.213-13.365-2.482-20.672-2.482c-11.346-0.056-23.73,3.269-35.818,14.338l5.158,5.65
c8.235-7.419,15.885-10.651,23.462-11.8c-5.039,4.696-8.411,10.402-10.55,15.088c-2.279,4.956-3.224,8.744-3.261,8.901l7.419,1.862
l0.028-0.029c0.121-0.537,1.787-6.632,5.493-12.698c1.843-3.048,4.186-6.048,6.993-8.402c2.732-2.297,5.9-3.955,9.614-4.64
c3.576,0.444,7.142,1.046,10.726,1.713c3.279,0.621,6.558,1.241,9.856,1.714c0.398,0.565,0.731,1.149,1.186,1.695
c1.148,1.362,2.593,2.658,4.26,3.807c1.843,3.353,5.474,7.094,11.142,9.623c6.002,2.714,14.088,4.381,25.61,4.39
c15.032-0.01,31.306-2.121,46.654-5.826c15.348-3.724,29.695-8.957,41.013-15.719c5.465-3.316,12.912-5.326,19.701-5.288
c6.233-0.028,11.708,1.648,15.024,4.242c1.686,1.306,2.927,2.797,3.862,4.705c0.917,1.926,1.538,4.354,1.547,7.697
c0,5.363-1.417,10.735-4.168,16.256c-4.103,8.262-11.318,16.672-20.164,24.359c-7.956,6.928-17.182,13.236-26.379,18.682h-69.05
c-40.217,0.009-72.801,32.585-72.81,72.802c0.01,21.48,9.355,40.727,24.147,54.046H72.81c-40.217,0-72.802,32.584-72.81,72.802
c0.008,40.216,32.594,72.8,72.81,72.81h366.378c40.217-0.01,72.802-32.594,72.811-72.81
C511.99,378.998,479.406,346.414,439.189,346.414z M249.09,205.998c6.03-6.41,11.263-13.375,15.079-20.998
c3.807-7.604,6.169-15.949,6.169-24.73c0.009-5.807-1.158-11.207-3.418-15.904c-3.371-7.076-9.132-12.226-15.504-15.3
c-6.41-3.113-13.449-4.41-20.479-4.419c-10.272,0.028-20.636,2.742-29.454,8.003c-8.863,5.344-21.776,10.198-35.715,13.551
c-13.94,3.372-28.963,5.298-42.199,5.288c-10.105,0.01-15.478-1.593-18.044-2.824c2.909-1.298,5.77-2.918,8.485-5.317l-5.048-5.761
c-2.51,2.167-5.011,3.566-7.567,4.575l-3.899-1.296l-0.019-0.019c-0.278-0.203-1.158-1.268-1.946-2.908
c-1.222-2.455-2.297-6.039-2.964-9.207c-0.676-3.122-0.982-6.104-0.991-6.743v-0.065v-0.102c0-1.5,0.649-2.88,1.667-3.974
c5.632-3.028,22.878-13.662,47.525-41.466c4.834-5.447,8.882-8.512,12.412-10.429c5.26-2.826,9.771-3.418,16.033-4.159
c6.113-0.723,14.069-1.584,22.442-6.363c18.821-10.689,40.068-16.496,60.482-16.487c18.016,0,35.299,4.474,50.11,13.893
c14.801,9.439,27.314,23.823,35.752,44.645c6.132,15.181,8.494,29.296,8.503,42.292c0.009,24.684-8.697,45.524-17.562,60.251
c-4.418,7.345-8.855,13.143-12.134,17.034c-0.806,0.954-1.537,1.788-2.186,2.51h-80.582
C239.356,215.325,244.496,210.87,249.09,205.998z M77.766,292.368c0-14.903,6.011-28.296,15.764-38.067
c9.78-9.754,23.174-15.756,38.077-15.766h248.776c14.903,0.01,28.306,6.012,38.078,15.766c9.762,9.771,15.764,23.164,15.774,38.067
c-0.01,14.894-6.011,28.296-15.774,38.068c-9.772,9.762-23.175,15.764-38.078,15.774v0.204H131.607v-0.204
c-14.902-0.01-28.296-6.012-38.068-15.774C83.777,320.664,77.766,307.262,77.766,292.368z M477.257,457.283
c-9.772,9.762-23.174,15.764-38.068,15.774H72.81c-14.903-0.009-28.296-6.011-38.068-15.774
c-9.762-9.772-15.773-23.174-15.773-38.067c0-14.895,6.011-28.296,15.764-38.068c9.78-9.753,23.174-15.764,38.077-15.764h366.378
c14.903,0,28.296,6.012,38.068,15.764c9.763,9.772,15.765,23.174,15.774,38.068C493.022,434.109,487.02,447.511,477.257,457.283z"
/>
<path class="st0" d="M169.222,82.207c-5.836,0-10.559,4.724-10.559,10.559c0,5.817,4.723,10.55,10.559,10.55
c5.825,0,10.55-4.733,10.55-10.55C179.772,86.931,175.047,82.207,169.222,82.207z"/>
</g>
</svg>`,
mobileOnly: false
},
soccerJuggle: {
title: 'Soccer Juggle',
path: '/games/soccer-juggle/',
description: 'Keep the soccer ball in the air as long as you can. How many juggles can you achieve?',
icon: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="-2500 -2500 5000 5000">
<title>soccer ball</title>
<g stroke="#000" stroke-width="24">
<circle fill="#fff" r="2376"/>
<path fill="none" d="m-1643-1716 155 158m-550 2364c231 231 538 195 826 202m-524-2040c-491 351-610 1064-592 1060m1216-1008c-51 373 84 783 364 1220m-107-2289c157-157 466-267 873-329m-528 4112c-50 132-37 315-8 510m62-3883c282 32 792 74 1196 303m-404 2644c310 173 649 247 1060 180m-340-2008c-242 334-534 645-872 936m1109-2119c-111-207-296-375-499-534m1146 1281c100 3 197 44 290 141m-438 495c158 297 181 718 204 1140"/>
</g>
<path fill="#000" d="m-1624-1700c243-153 498-303 856-424 141 117 253 307 372 492-288 275-562 544-724 756-274-25-410-2-740-60 3-244 84-499 236-764zm2904-40c271 248 537 498 724 788-55 262-105 553-180 704-234-35-536-125-820-200-138-357-231-625-340-924 210-156 417-296 616-368zm-3273 3033a2376 2376 0 0 1-378-1392l59-7c54 342 124 674 311 928-36 179-2 323 51 458zm1197-1125c365 60 717 120 1060 180 106 333 120 667 156 1000-263 218-625 287-944 420-372-240-523-508-736-768 122-281 257-561 464-832zm3013 678a2376 2376 0 0 1-925 1147l-116-5c84-127 114-297 118-488 232-111 464-463 696-772 86 30 159 72 227 118zm-2287 1527a2376 2376 0 0 1-993-251c199 74 367 143 542 83 53 75 176 134 451 168z"/>
</svg>`,
mobileOnly: false
},
waterRingToss: {
title: 'Water Ring Toss',
path: '/games/water-ring-toss/',
description: 'Test your skill and patience in this classic water game! Use precision to land all the rings onto the pegs. How many can you score?',
icon: `<svg version="1.0" xmlns="http://www.w3.org/2000/svg"
width="512.000000pt" height="512.000000pt" viewBox="0 0 512.000000 512.000000"
preserveAspectRatio="xMidYMid meet">
<g transform="translate(0.000000,512.000000) scale(0.100000,-0.100000)"
fill="#fff" stroke="none">
<path d="M2466 5104 c-67 -21 -114 -53 -169 -114 -58 -64 -93 -138 -109 -228
l-12 -69 -93 -12 c-377 -50 -659 -193 -753 -384 -156 -318 93 -634 636 -808
l136 -44 -6 -125 c-4 -69 -9 -166 -13 -216 l-6 -92 -86 -16 c-199 -39 -429
-112 -592 -189 -371 -176 -525 -453 -399 -713 37 -76 140 -176 234 -229 137
-76 361 -140 581 -165 55 -6 119 -13 143 -16 l42 -5 -5 -52 c-3 -29 -7 -96
-11 -149 l-6 -98 -122 0 c-109 0 -125 -2 -144 -20 -30 -28 -30 -82 0 -110 22
-20 29 -20 1117 -20 1089 0 1095 0 1138 -21 66 -32 88 -70 88 -154 0 -84 -22
-122 -88 -154 -43 -21 -45 -21 -1407 -21 -1362 0 -1364 0 -1407 21 -66 32 -88
70 -88 154 0 84 22 122 88 154 37 18 62 21 163 21 107 0 123 2 142 20 30 28
30 82 0 110 -22 20 -31 21 -168 18 -126 -3 -151 -7 -191 -26 -68 -33 -121 -82
-154 -143 -28 -50 -30 -62 -30 -154 0 -84 4 -107 22 -142 l23 -41 -45 -22
c-57 -28 -119 -98 -139 -157 -23 -67 -23 -526 -1 -580 21 -50 42 -72 90 -94
38 -18 110 -19 1695 -19 1585 0 1657 1 1695 19 48 22 69 44 90 94 37 88 9 167
-60 167 -44 0 -68 -27 -75 -83 l-5 -42 -1645 0 -1645 0 -3 240 c-2 226 -1 242
18 273 41 66 -66 62 1635 62 1687 0 1577 4 1624 -56 16 -20 21 -41 21 -83 0
-70 23 -101 75 -101 55 0 75 30 74 109 -1 116 -51 201 -143 246 l-55 27 22 42
c18 34 22 57 22 141 0 92 -2 104 -30 154 -33 60 -86 109 -154 143 -45 23 -51
23 -457 26 l-411 3 -6 72 c-4 40 -10 134 -13 209 -7 131 -6 138 12 138 34 0
285 89 382 135 266 126 423 290 452 473 43 264 -173 488 -564 587 -105 26
-265 55 -310 55 -52 0 -56 8 -65 136 -4 65 -6 122 -4 127 2 4 57 7 123 7 345
0 687 74 890 194 176 103 261 235 261 406 0 222 -168 408 -503 555 -43 19 -90
35 -104 35 -32 0 -74 -42 -74 -73 0 -38 28 -63 110 -96 178 -73 344 -201 395
-306 55 -111 27 -235 -73 -326 -170 -155 -518 -239 -991 -239 -485 0 -949 91
-1276 250 -243 117 -357 242 -359 390 -3 206 252 363 687 426 l49 6 -8 -108
c-3 -60 -8 -112 -10 -115 -2 -4 -25 -10 -51 -13 -218 -31 -413 -124 -413 -197
0 -42 24 -74 96 -125 332 -237 1190 -361 1749 -254 167 33 275 74 340 131 50
44 48 76 -12 140 -112 120 -451 241 -854 304 l-36 5 -6 107 c-4 58 -5 109 -2
111 8 8 184 -18 304 -44 107 -23 134 -21 161 10 19 24 16 74 -6 97 -21 20
-181 57 -344 79 -136 18 -124 10 -138 91 -16 90 -51 164 -109 229 -56 63 -102
93 -173 114 -66 20 -129 19 -194 0z m179 -153 c75 -35 136 -123 150 -216 5
-34 55 -829 55 -873 0 -12 -12 -14 -77 -8 -105 9 -321 43 -413 64 l-74 18 2
49 c10 208 43 727 48 755 21 127 123 230 229 230 22 0 58 -9 80 -19z m-502
-878 c-3 -49 -6 -89 -7 -90 -4 -5 -110 39 -179 74 -83 41 -86 38 68 78 132 35
124 40 118 -62z m1076 41 c152 -34 305 -85 410 -136 95 -46 95 -46 -20 -77
-117 -33 -260 -51 -440 -58 l-167 -6 -6 119 c-4 65 -9 137 -12 158 l-5 39 62
-7 c34 -3 114 -18 178 -32z m-744 -747 c88 -14 213 -30 278 -36 65 -5 121 -12
125 -15 6 -7 61 -866 62 -972 l0 -62 -112 -21 c-226 -43 -648 -78 -648 -55 0
5 16 268 35 584 19 316 35 583 35 594 0 15 6 17 33 13 17 -2 104 -16 192 -30z
m883 -513 c309 -77 478 -213 476 -384 -2 -148 -118 -275 -359 -391 -187 -90
-404 -155 -658 -199 -65 -11 -127 -25 -138 -31 -30 -15 -42 -55 -27 -87 24
-48 50 -53 178 -31 63 11 122 22 131 24 14 5 17 -10 23 -107 3 -62 9 -148 12
-190 l7 -78 -438 0 -437 0 6 98 c4 53 9 121 12 150 l5 52 114 0 c126 0 158 9
175 50 15 35 -9 87 -43 94 -12 3 -132 7 -267 10 -258 5 -379 18 -551 61 -309
77 -471 210 -471 386 0 112 67 211 206 304 174 115 373 189 728 269 l28 6 -7
-112 c-3 -62 -7 -114 -8 -116 -1 -1 -47 -13 -101 -27 -323 -78 -594 -225 -594
-323 0 -73 145 -147 375 -192 559 -107 1417 17 1749 254 72 51 96 83 96 125 0
76 -182 160 -437 201 -73 12 -73 12 -73 43 0 18 -3 69 -6 113 l-7 81 99 -13
c55 -8 145 -25 202 -40z m-133 -354 c44 -11 98 -25 120 -33 l40 -14 -80 -40
c-84 -42 -203 -88 -209 -82 -2 2 -6 48 -10 101 l-6 98 32 -6 c18 -3 69 -14
113 -24z m-1186 -127 c-4 -54 -7 -113 -8 -132 l-1 -34 -87 6 c-105 8 -229 30
-320 58 -65 20 -65 21 -42 37 60 42 387 160 449 162 13 0 14 -14 9 -97z"/>
</g>
</svg>`,
mobileOnly: true
},
waveform: {
title: 'Waveform',
path: '/games/waveform/',
description: 'Guide particles to their targets by shaping a wave using frequency, amplitude, and phase controls while avoiding obstacles in this unique physics puzzle.',
icon: `<svg class="svg-icon" style="vertical-align: middle;fill: #fff;overflow: hidden;" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M512 51.2c-253.44 0-460.8 207.36-460.8 460.8s207.36 460.8 460.8 460.8 460.8-207.36 460.8-460.8-207.36-460.8-460.8-460.8z m0 51.2c217.6 0 394.24 168.96 407.04 384h-48.64c-43.52 0-76.8 33.28-76.8 76.8v51.2c0 15.36-10.24 25.6-25.6 25.6s-25.6-10.24-25.6-25.6v-204.8c0-43.52-33.28-76.8-76.8-76.8s-76.8 33.28-76.8 76.8v204.8c0 15.36-10.24 25.6-25.6 25.6s-25.6-10.24-25.6-25.6v-204.8c0-43.52-33.28-76.8-76.8-76.8s-76.8 33.28-76.8 76.8v204.8c0 15.36-10.24 25.6-25.6 25.6s-25.6-10.24-25.6-25.6v-179.2c0-43.52-33.28-76.8-76.8-76.8s-76.8 33.28-76.8 76.8v25.6c0 15.36-10.24 25.6-25.6 25.6h-48.64c12.8-215.04 189.44-384 407.04-384z m0 819.2c-217.6 0-394.24-168.96-407.04-384h48.64c43.52 0 76.8-33.28 76.8-76.8v-25.6c0-15.36 10.24-25.6 25.6-25.6s25.6 10.24 25.6 25.6v179.2c0 43.52 33.28 76.8 76.8 76.8s76.8-33.28 76.8-76.8v-204.8c0-15.36 10.24-25.6 25.6-25.6s25.6 10.24 25.6 25.6v204.8c0 43.52 33.28 76.8 76.8 76.8s76.8-33.28 76.8-76.8v-204.8c0-15.36 10.24-25.6 25.6-25.6s25.6 10.24 25.6 25.6v204.8c0 43.52 33.28 76.8 76.8 76.8s76.8-33.28 76.8-76.8v-51.2c0-15.36 10.24-25.6 25.6-25.6h48.64c-12.8 215.04-189.44 384-407.04 384z" /></svg>`,
mobileOnly: false
},
bubblePop: {
title: 'Bubble Pop',
path: '/games/bubble-pop/',
description: 'Pop the bubbles before they escape! A fast-paced game of precision and reflexes that will keep you on your toes.',
icon: `<svg fill="#fff" height="800px" width="800px" version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 363.188 363.188" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 363.188 363.188">
<g>
<path d="m111.667,132.311c-61.574,0-111.667,50.093-111.667,111.666s50.093,111.667 111.667,111.667 111.667-50.094 111.667-111.667-50.094-111.666-111.667-111.666zm0,208.333c-53.303,0-96.667-43.364-96.667-96.667 0-53.302 43.364-96.666 96.667-96.666s96.667,43.364 96.667,96.666c-0.001,53.303-43.365,96.667-96.667,96.667z"/>