word-games-theme 1.2.4 → 1.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/_includes/WordPointTables/table.html +8 -8
- data/_includes/autogenerated/content.html +13 -15
- data/_includes/custom-head.html +58 -20
- data/_includes/section/commonPage.html +1 -1
- data/_includes/section/feature.html +8 -6
- data/_includes/section/news.html +3 -3
- data/_includes/section/recent_posts.html +2 -2
- data/_includes/section/wordGroup.html +0 -1
- data/_includes/seo.html +5 -3
- data/_includes/word-game/word-game-generator-online.html +1 -0
- data/_includes/word-game/word-game-play.html +11 -3
- data/_includes/wordfinderstrategy/content.html +8 -8
- data/_layouts/autogencontent.html +2 -1
- data/_layouts/blog.html +4 -3
- data/_layouts/page.html +2 -1
- data/_layouts/page2.html +2 -1
- data/_layouts/post.html +2 -1
- data/_layouts/xyzpages.html +2 -1
- data/assets/css/game.css +25 -1
- data/assets/css/home.css +2 -2
- data/assets/images/timer.svg +47 -0
- data/assets/js/createWordle.js +5 -0
- data/assets/js/game.js +57 -5
- data/assets/js/wordScrabble-test.js +5 -1
- data/assets/js/wordScrabble.js +1 -1
- data/assets/js/xyz.js +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9f747fbe9f2cf0c2712706aa223d8c7afdd6e727d73248a17df658ace18b05fb
|
|
4
|
+
data.tar.gz: e91d475c88fd3b95c69d863943b3a17d00fdd2bac9dd6e4858d6547089f54395
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b2ead3bd56ebb4de04d61404e385060742b7ece59819a15952df956f81cc6336e260d6c6885529a1897ea071fe9fda64704426e6ad8441dc7fdded7500015419
|
|
7
|
+
data.tar.gz: 2e9243a86ec7db0b052abe2c4e715be11b5080b6a084afe765b2257f1b146230e61a9bc9e439d0fef937293b0897e2828af5828cde579fd973b78ee0147c9f12
|
|
@@ -52,37 +52,37 @@
|
|
|
52
52
|
{%- if forloop.index == 1 -%}
|
|
53
53
|
|
|
54
54
|
{%- if site.name == "wordswithletters" -%}
|
|
55
|
-
<
|
|
55
|
+
<h3 class="{{item.x}}-letter" role="heading" style="font-size: 18px;">
|
|
56
56
|
Top scoring {{item.x}} letter words with letters <span class="joinString">{{item.letter}}</span> for
|
|
57
57
|
{{item.gameName}}
|
|
58
|
-
</
|
|
58
|
+
</h3>
|
|
59
59
|
|
|
60
60
|
{%- endif -%}
|
|
61
61
|
|
|
62
62
|
|
|
63
63
|
{%- if site.name == "wordfinders" -%}
|
|
64
|
-
<
|
|
64
|
+
<h3 class="{{item.x}}-letter-words-heading" style="font-size: 18px;">
|
|
65
65
|
{{item.x}} letter words with highest score for {{item.gameName}} containing letters
|
|
66
66
|
<span class="joinString">{{item.letter }}</span> using {{item.x}} letter word finder
|
|
67
|
-
</
|
|
67
|
+
</h3>
|
|
68
68
|
{%- endif -%}
|
|
69
69
|
|
|
70
70
|
{%- if site.name == "wordscramblers" -%}
|
|
71
|
-
<
|
|
71
|
+
<h3 class="{{item.x}}-letter-words-heading" style="font-size: 18px;">
|
|
72
72
|
Top scoring {{item.x}} letter words for {{item.gameName}} containing letters
|
|
73
73
|
<span class="joinString">{{item.letter}}</span>
|
|
74
74
|
using our {{item.x}} letter
|
|
75
75
|
word scrambler
|
|
76
|
-
</
|
|
76
|
+
</h3>
|
|
77
77
|
{%- endif -%}
|
|
78
78
|
|
|
79
79
|
{%- if site.name == "wordunscramblerss" -%}
|
|
80
|
-
<
|
|
80
|
+
<h3 class="{{item.x}}-letter-words-heading" style="font-size: 18px;">
|
|
81
81
|
{{item.x}} letter words with highest score for {{item.gameName}} with letters
|
|
82
82
|
<span class="joinString">{{item.letter}}</span>
|
|
83
83
|
using our {{item.x}} letter
|
|
84
84
|
word unscrambler
|
|
85
|
-
</
|
|
85
|
+
</h3>
|
|
86
86
|
|
|
87
87
|
{%- endif -%}
|
|
88
88
|
{%- endif -%}
|
|
@@ -36,38 +36,38 @@
|
|
|
36
36
|
</div>
|
|
37
37
|
<div class="subHeading" style="margin: 50px 0;">
|
|
38
38
|
{%- if site.name == "wordswithletters" -%}
|
|
39
|
-
<
|
|
39
|
+
<h4 class="content_sub_heading pb-0 m-0">
|
|
40
40
|
Using our {{dataToShow.x}} letter words with letters , you can find following high
|
|
41
41
|
scoring words
|
|
42
42
|
using
|
|
43
43
|
{{dataToShow.letter | capitalize }}
|
|
44
|
-
</
|
|
44
|
+
</h4>
|
|
45
45
|
{%- endif -%}
|
|
46
46
|
{%- if site.name == "wordfinders" -%}
|
|
47
|
-
<
|
|
47
|
+
<h4 class="content_sub_heading pb-0 m-0">
|
|
48
48
|
Using our {{dataToShow.x}} letter Word Finder you can find the following high scoring words with
|
|
49
49
|
given letters
|
|
50
50
|
{{dataToShow.letter | capitalize }}
|
|
51
|
-
</
|
|
51
|
+
</h4>
|
|
52
52
|
{%- endif -%}
|
|
53
53
|
{%- if site.name == "wordscramblers" -%}
|
|
54
|
-
<
|
|
54
|
+
<h4 class="content_sub_heading pb-0 m-0">
|
|
55
55
|
|
|
56
56
|
All possible high scoring words from scrambled letters {{dataToShow.letter | capitalize }} which you
|
|
57
57
|
can find
|
|
58
58
|
using our
|
|
59
59
|
unscramble {{dataToShow.x}}
|
|
60
60
|
letter tool are as following
|
|
61
|
-
</
|
|
61
|
+
</h4>
|
|
62
62
|
{%- endif -%}
|
|
63
63
|
{%- if site.name == "wordunscramblerss" -%}
|
|
64
|
-
<
|
|
64
|
+
<h4 class="content_sub_heading pb-0 m-0">
|
|
65
65
|
Following are the high scoring unscrambled words with the letters {{dataToShow.letter | capitalize}}
|
|
66
66
|
which you
|
|
67
67
|
can find using
|
|
68
68
|
our {{dataToShow.x}}
|
|
69
69
|
letter word scramble
|
|
70
|
-
</
|
|
70
|
+
</h4>
|
|
71
71
|
{%- endif -%}
|
|
72
72
|
</div>
|
|
73
73
|
<div class="listofwords">
|
|
@@ -75,17 +75,15 @@
|
|
|
75
75
|
{%- for item in letter -%}
|
|
76
76
|
<div class="wordsdata" id="{{item.word}}">
|
|
77
77
|
<a>
|
|
78
|
-
<
|
|
78
|
+
<h3 class="word-heading">
|
|
79
79
|
{{forloop.index}}.
|
|
80
80
|
{{dataToShow.wordLength }}
|
|
81
|
-
</
|
|
81
|
+
</h3>
|
|
82
82
|
</a>
|
|
83
83
|
<ul class="word-details">
|
|
84
|
-
<
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
</h2>
|
|
88
|
-
</a>
|
|
84
|
+
<li style="font-size: 18px; list-style: none;" class="word-title">
|
|
85
|
+
{{item.word | capitalize }}
|
|
86
|
+
</li>
|
|
89
87
|
<li class="wordsDetails">
|
|
90
88
|
{{item.scrabble}}
|
|
91
89
|
</li>
|
data/_includes/custom-head.html
CHANGED
|
@@ -1,27 +1,65 @@
|
|
|
1
1
|
<head>
|
|
2
|
-
{% assign favicon = site.favicon %}
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
{%- assign seo_description = seo_description |
|
|
2
|
+
{% assign favicon = site.favicon %} {%- assign seo_description =
|
|
3
|
+
page.description | default: page.content | markdownify | strip_html |
|
|
4
|
+
truncatewords: 50 | default: page.excerpt | default: site.description -%} {%-
|
|
5
|
+
if seo_description -%} {%- assign seo_description = seo_description |
|
|
6
|
+
markdownify | strip_html | strip_newlines | escape_once -%} {%- endif -%} {%-
|
|
7
|
+
if page.date -%} {%- assign og_type = "article" -%} {%- else -%} {%- assign
|
|
8
|
+
og_type = "website" -%} {%- endif -%}
|
|
9
|
+
{%- assign title = page.title | split: ' ' -%}
|
|
10
|
+
{%- assign newtitle = '' %}
|
|
11
|
+
{% for operation in title %}
|
|
12
|
+
{%- if forloop.first -%}
|
|
13
|
+
{% assign word = operation | capitalize %}
|
|
14
|
+
{% assign newtitle = newtitle | append : word %}
|
|
15
|
+
{% assign newtitle = newtitle | append : " " %}
|
|
16
|
+
{%- else -%}
|
|
17
|
+
{% assign word = operation %}
|
|
18
|
+
{%- if forloop.last -%}
|
|
19
|
+
{% assign newtitle = newtitle | append : word %}
|
|
20
|
+
{%- else -%}
|
|
21
|
+
{% assign newtitle = newtitle | append : word %}
|
|
22
|
+
{% assign newtitle = newtitle | append : " " %}
|
|
23
|
+
{%- endif -%}
|
|
6
24
|
{%- endif -%}
|
|
7
|
-
{
|
|
8
|
-
{%- assign
|
|
25
|
+
{% endfor %}
|
|
26
|
+
{%- assign description = description | split: ' ' -%}
|
|
27
|
+
{% assign pagedescription = '' %}
|
|
28
|
+
{% for operation in description %}
|
|
29
|
+
{%- if forloop.first -%}
|
|
30
|
+
{% assign word = operation | capitalize %}
|
|
31
|
+
{% assign pagedescription = pagedescription | append : word %}
|
|
32
|
+
{% assign pagedescription = pagedescription | append : " " %}
|
|
9
33
|
{%- else -%}
|
|
10
|
-
{
|
|
34
|
+
{% assign word = operation %}
|
|
35
|
+
{%- if forloop.last -%}
|
|
36
|
+
{% assign pagedescription = pagedescription | append : word %}
|
|
37
|
+
{%- else -%}
|
|
38
|
+
{% assign pagedescription = pagedescription | append : word %}
|
|
39
|
+
{% assign pagedescription = pagedescription | append : " " %}
|
|
40
|
+
{%- endif -%}
|
|
11
41
|
{%- endif -%}
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
<meta
|
|
17
|
-
<
|
|
18
|
-
<
|
|
19
|
-
<meta
|
|
20
|
-
<meta
|
|
21
|
-
<meta
|
|
22
|
-
<meta
|
|
23
|
-
<meta
|
|
24
|
-
<
|
|
42
|
+
{% endfor %}
|
|
43
|
+
{%- assign title = newtitle -%}
|
|
44
|
+
{%- assign description = pagedescription-%}
|
|
45
|
+
|
|
46
|
+
<meta charset="UTF-8" />
|
|
47
|
+
<link rel="shortcut icon" href="{{favicon}}" />
|
|
48
|
+
<link rel="canonical" href="{{site.url | append: page.url}}" />
|
|
49
|
+
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
|
|
50
|
+
<meta name="keywords" content="{{site.keyboard}}" />
|
|
51
|
+
<meta name="description" content="{{ seo_description | slice: 0, 155 }}" />
|
|
52
|
+
<meta name="og:description" content="{{ seo_description | slice: 0, 155 }}" />
|
|
53
|
+
<meta property="og:title" content="{{ title | default: site.title }}" />
|
|
54
|
+
<meta property="og:type" content="{{og_type}}" />
|
|
55
|
+
<meta property="og:locale" content="en_US" />
|
|
56
|
+
<meta property="og:site_name" content="{{site.name}}" />
|
|
57
|
+
<meta property="og:url" content="{{site.url | append: page.url}}" />
|
|
58
|
+
<meta name="author" content="{{ site.author_name }}" />
|
|
59
|
+
<title>{{title}}</title>
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
|
|
25
63
|
<link href="https://fonts.googleapis.com/css2?family=Open+Sans&display=swap" rel="stylesheet">
|
|
26
64
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css" />
|
|
27
65
|
<link rel="stylesheet" href="{{'/assets/css/blog.css' | relative_url }}">
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
|
|
19
19
|
{%- if site.MonumetricID -%}
|
|
20
20
|
|
|
21
|
-
<span class="mobile_bars"><i id="bars_style" class="bi bi-list bi-2x bars"></i></span>
|
|
21
|
+
<span class="mobile_bars"><i style="top:0px" id="bars_style" class="bi bi-list bi-2x bars"></i></span>
|
|
22
22
|
<div id="open_list_bar">
|
|
23
23
|
{%- if header.megaMenu -%}
|
|
24
24
|
<div style="padding:2rem 0">
|
|
@@ -25,10 +25,11 @@
|
|
|
25
25
|
{% for entry in dataToShow.featureList %}
|
|
26
26
|
<div class="col-md-8 my-3 mx-auto">
|
|
27
27
|
<div class="card-body h-100">
|
|
28
|
-
<img src="{{ entry.fa_class }}" width="25px"
|
|
29
|
-
|
|
28
|
+
<img src="{{ entry.fa_class }}" loading="lazy" height="25px" width="25px"
|
|
29
|
+
alt="{{entry.feature_heading}}"></img>
|
|
30
|
+
<h3 class="card-title">
|
|
30
31
|
{{ entry.feature_heading }}
|
|
31
|
-
</
|
|
32
|
+
</h3>
|
|
32
33
|
<p class="card-text" style="color: #a7a7a7;
|
|
33
34
|
font-size: 14px;">{{ entry.feature_text}}</p>
|
|
34
35
|
</div>
|
|
@@ -38,10 +39,11 @@
|
|
|
38
39
|
{% for entry in dataToShow.featureList %}
|
|
39
40
|
<div class="col-lg-4 col-md-6 my-3">
|
|
40
41
|
<div class="card-body h-100">
|
|
41
|
-
<img src="{{ entry.fa_class }}" width="25px"
|
|
42
|
-
|
|
42
|
+
<img src="{{ entry.fa_class }}" loading="lazy" height="25px" width="25px"
|
|
43
|
+
alt="{{entry.feature_heading}}"></img>
|
|
44
|
+
<h3 class="card-title">
|
|
43
45
|
{{ entry.feature_heading }}
|
|
44
|
-
</
|
|
46
|
+
</h3>
|
|
45
47
|
<p class="card-text" style="color: #a7a7a7;
|
|
46
48
|
font-size: 14px;">{{ entry.feature_text}}</p>
|
|
47
49
|
</div>
|
data/_includes/section/news.html
CHANGED
|
@@ -26,14 +26,14 @@
|
|
|
26
26
|
{% if site.MonumetricID and page.url != '/' %}
|
|
27
27
|
{% for entry in dataToShow.faqList %}
|
|
28
28
|
<div class="col-md-8 mx-auto pt-5">
|
|
29
|
-
<
|
|
30
|
-
|
|
29
|
+
<h3 class="meduim-text2 text-center mb-2">{{entry.Question}}</h2>
|
|
30
|
+
<p class="meduim-text text-center mb-0">{{entry.Answer}}</p>
|
|
31
31
|
</div>
|
|
32
32
|
{% endfor %}
|
|
33
33
|
{%- else -%}
|
|
34
34
|
{% for entry in dataToShow.faqList %}
|
|
35
35
|
<div class="col-md-6 pt-5">
|
|
36
|
-
<
|
|
36
|
+
<h3 class="meduim-text2 mb-2">{{entry.Question}}</h3>
|
|
37
37
|
<p class="meduim-text mb-0">{{entry.Answer}}</p>
|
|
38
38
|
</div>
|
|
39
39
|
{% endfor %}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<div class="row">
|
|
6
6
|
<div class="col-lg-8 mx-auto">
|
|
7
7
|
{%- if site.posts.size>0 -%}
|
|
8
|
-
<
|
|
8
|
+
<h2 class="related_post_heading text-center">Recent Posts</h2>
|
|
9
9
|
{%- endif -%}
|
|
10
10
|
<div class="row">
|
|
11
11
|
{% assign posts = site.posts | where_exp:"post","post.url != page.url" %}
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
</div>
|
|
48
48
|
{%- else -%}
|
|
49
49
|
{%- if site.posts.size>0 -%}
|
|
50
|
-
<
|
|
50
|
+
<h2 class="related_post_heading">Recent Posts</h2>
|
|
51
51
|
{%- endif -%}
|
|
52
52
|
<div class="row">
|
|
53
53
|
{% assign posts = site.posts | where_exp:"post","post.url != page.url" %}
|
data/_includes/seo.html
CHANGED
|
@@ -31,9 +31,11 @@
|
|
|
31
31
|
{% endif %}
|
|
32
32
|
|
|
33
33
|
{% unless page.layout == 'post' %}
|
|
34
|
-
<meta name="description" content="{{ dataToShow.meta
|
|
35
|
-
|
|
36
|
-
<meta
|
|
34
|
+
<meta name="description" content="{{ dataToShow.meta | default: page.description | default:
|
|
35
|
+
site.description }}">
|
|
36
|
+
<meta name="og:description" content="{{ dataToShow.meta | default: page.description | default:
|
|
37
|
+
site.description }}">
|
|
38
|
+
<meta property="og:title" content="{{ dataToShow.title | default:page.title | default: site.title }}">
|
|
37
39
|
{% endunless%}
|
|
38
40
|
|
|
39
41
|
{% if page.layout == 'post'%}
|
|
@@ -32,6 +32,7 @@
|
|
|
32
32
|
<div class="wordle-game-play-links">
|
|
33
33
|
<a style="font-size: 13px;" class="wordle-game-link"></a>
|
|
34
34
|
<br><br>
|
|
35
|
+
<a id="wordle-play-button" class="btn game-play-btn mt-2">Play Game</a>
|
|
35
36
|
<button type="button" class="btn copy-btn mt-2">Copy Link</button>
|
|
36
37
|
<!-- <button type="button" class="btn btn-primary">Play Random Word</button> -->
|
|
37
38
|
</div>
|
|
@@ -1,20 +1,27 @@
|
|
|
1
1
|
<div class="game">
|
|
2
2
|
<div class="game-container">
|
|
3
3
|
<div class="d-flex justify-content-center align-items-center">
|
|
4
|
-
<div
|
|
5
|
-
<i style="font-size:
|
|
4
|
+
<div class="pt-2" style="cursor: pointer;" data-toggle="modal" data-target="#how-to-play-wordle">
|
|
5
|
+
<i style="font-size:18px" class="bi bi-question-circle"></i>
|
|
6
6
|
</div>
|
|
7
7
|
<h1 class="text-center font-weight-bolder mb-0 my-4">
|
|
8
8
|
<a class="word-generator-link" href="/word-game-generator-online"> Make your own wordle </a>
|
|
9
9
|
</h1>
|
|
10
10
|
|
|
11
|
+
<div class="wordle-time pt-2" style="cursor: pointer;">
|
|
12
|
+
<i class="bi bi-stopwatch" style="font-size: 18px;"></i>
|
|
13
|
+
</div>
|
|
14
|
+
|
|
11
15
|
<!-- <div data-toggle="modal" data-target="#exampleModal">
|
|
12
|
-
<
|
|
16
|
+
<img src="/assets/images/timer.svg" alt="">
|
|
13
17
|
</div> -->
|
|
14
18
|
|
|
15
19
|
</div>
|
|
16
20
|
|
|
17
21
|
|
|
22
|
+
<div class="text-center" style="font-size: 14px;
|
|
23
|
+
color: #444;" id="wordle-running-timer"></div>
|
|
24
|
+
|
|
18
25
|
<div class="alert-container hide">
|
|
19
26
|
<span id="errorMsg"></span>
|
|
20
27
|
</div>
|
|
@@ -106,6 +113,7 @@
|
|
|
106
113
|
<div class="result-content">
|
|
107
114
|
<span id="answer" style="font-size: 20px;">You guessed the word</span>
|
|
108
115
|
<div id="result-guess-word" class="guess-word"></div>
|
|
116
|
+
<div style="font-size: 15px; margin-top: 15px;" id="game-result-time"></div>
|
|
109
117
|
</div>
|
|
110
118
|
<div class="wordle-game-play-links pt-4" style="padding:0 30px">
|
|
111
119
|
<a class="wordle-game-restart" href="/word-game-generator-online">
|
|
@@ -35,32 +35,32 @@
|
|
|
35
35
|
|
|
36
36
|
<div class="subHeading template-heading" style="margin: 50px 0;">
|
|
37
37
|
{%- if site.name == "wordswithletters" -%}
|
|
38
|
-
<
|
|
38
|
+
<h4 class="content_sub_heading pb-0 m-0">
|
|
39
39
|
Using our {{dataToShow.x}} letter word finder you can create high scoring {{dataToShow.x}} letter
|
|
40
40
|
words in
|
|
41
41
|
scrabble/word with friends as follows.
|
|
42
|
-
</
|
|
42
|
+
</h4>
|
|
43
43
|
{%- endif -%}
|
|
44
44
|
{%- if site.name == "wordfinders" -%}
|
|
45
|
-
<
|
|
45
|
+
<h4 class="content_sub_heading pb-0 m-0">
|
|
46
46
|
Using our {{dataToShow.x}} letter word finder you can create high scoring {{dataToShow.x}} letter
|
|
47
47
|
words in
|
|
48
48
|
scrabble/word with friends as follows.
|
|
49
|
-
</
|
|
49
|
+
</h4>
|
|
50
50
|
{%- endif -%}
|
|
51
51
|
{%- if site.name == "wordscramblers" -%}
|
|
52
|
-
<
|
|
52
|
+
<h4 class="content_sub_heading pb-0 m-0">
|
|
53
53
|
Using our {{dataToShow.x}} letter word finder you can create high scoring {{dataToShow.x}} letter
|
|
54
54
|
words in
|
|
55
55
|
scrabble/word with friends as follows.
|
|
56
|
-
</
|
|
56
|
+
</h4>
|
|
57
57
|
{%- endif -%}
|
|
58
58
|
{%- if site.name == "wordunscramblerss" -%}
|
|
59
|
-
<
|
|
59
|
+
<h4 class="content_sub_heading pb-0 m-0">
|
|
60
60
|
Using our {{dataToShow.x}} letter word finder you can create high scoring {{dataToShow.x}} letter
|
|
61
61
|
words in
|
|
62
62
|
scrabble/word with friends as follows.
|
|
63
|
-
</
|
|
63
|
+
</h4>
|
|
64
64
|
{%- endif -%}
|
|
65
65
|
</div>
|
|
66
66
|
|
data/_layouts/blog.html
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
2
3
|
|
|
3
4
|
{% include custom-head.html %}
|
|
4
5
|
|
|
@@ -35,7 +36,7 @@
|
|
|
35
36
|
<div class="card h-100">
|
|
36
37
|
<a href="{{ post.url }}">
|
|
37
38
|
<img src="{{ post.image }}" loading="lazy" height="215px" width="100%"
|
|
38
|
-
class="card-img-top" alt="">
|
|
39
|
+
class="card-img-top" alt="{{post.title}}">
|
|
39
40
|
</a>
|
|
40
41
|
<div class="card-body">
|
|
41
42
|
<a href="{{ post.url }}" class="anchor_link">
|
|
@@ -75,7 +76,7 @@
|
|
|
75
76
|
<div class="card h-100">
|
|
76
77
|
<a href="{{ post.url }}">
|
|
77
78
|
<img src="{{ post.image }}" loading="lazy" height="215px" width="100%" class="card-img-top"
|
|
78
|
-
alt="">
|
|
79
|
+
alt="{{post.title}}">
|
|
79
80
|
</a>
|
|
80
81
|
<div class="card-body">
|
|
81
82
|
<a href="{{ post.url }}" class="anchor_link">
|
data/_layouts/page.html
CHANGED
data/_layouts/page2.html
CHANGED
data/_layouts/post.html
CHANGED
data/_layouts/xyzpages.html
CHANGED
data/assets/css/game.css
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
color:#404040;
|
|
12
12
|
box-shadow: 0 0 1px rgba(0,0,0,0.1);
|
|
13
13
|
border-radius: 4px;
|
|
14
|
-
margin: 0
|
|
14
|
+
margin: 0 15px;
|
|
15
15
|
border:1px solid rgba(0,0,0,.1)
|
|
16
16
|
}
|
|
17
17
|
.create-wordle .custom-word{
|
|
@@ -39,6 +39,26 @@
|
|
|
39
39
|
font-size: 12px;
|
|
40
40
|
font-weight: 600;
|
|
41
41
|
}
|
|
42
|
+
|
|
43
|
+
.game-play-btn{
|
|
44
|
+
display: block;
|
|
45
|
+
margin: 5px auto;
|
|
46
|
+
background-color: #6aaa64;
|
|
47
|
+
border: #6aaa64;
|
|
48
|
+
color: #fff;
|
|
49
|
+
padding: 12px 15px;
|
|
50
|
+
width: 120px;
|
|
51
|
+
border-radius: 40px;
|
|
52
|
+
font-size: 12px;
|
|
53
|
+
font-weight: 600;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.game-play-btn:hover{
|
|
57
|
+
color:#fff !important
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
|
|
42
62
|
.create-wordle .generate-word-game-link:hover,.copy-btn:hover{
|
|
43
63
|
color:#fff !important
|
|
44
64
|
}
|
|
@@ -80,6 +100,7 @@
|
|
|
80
100
|
justify-content: center;
|
|
81
101
|
}
|
|
82
102
|
.game .game-container .game-board .tile{
|
|
103
|
+
caret-color: transparent;
|
|
83
104
|
display: flex;
|
|
84
105
|
justify-content: center;
|
|
85
106
|
align-items: center;
|
|
@@ -96,6 +117,9 @@
|
|
|
96
117
|
text-transform: uppercase;
|
|
97
118
|
transition: transform 240ms linear;
|
|
98
119
|
}
|
|
120
|
+
.game .game-container .game-board .tile:focus-visible{
|
|
121
|
+
outline: none !important;
|
|
122
|
+
}
|
|
99
123
|
.popAni{
|
|
100
124
|
animation: popAni 495ms ease-in-out;
|
|
101
125
|
}
|
data/assets/css/home.css
CHANGED
|
@@ -323,7 +323,7 @@ input:-webkit-autofill:active {
|
|
|
323
323
|
.mobile_bars{
|
|
324
324
|
cursor: pointer;
|
|
325
325
|
position: absolute;
|
|
326
|
-
top:
|
|
326
|
+
top:0px;
|
|
327
327
|
margin:0 40px
|
|
328
328
|
}
|
|
329
329
|
|
|
@@ -351,7 +351,7 @@ input:-webkit-autofill:active {
|
|
|
351
351
|
position: absolute;
|
|
352
352
|
right: 8px;
|
|
353
353
|
font-size: 28px;
|
|
354
|
-
top:
|
|
354
|
+
top: 15px;
|
|
355
355
|
cursor: pointer;
|
|
356
356
|
}
|
|
357
357
|
.cat_bar_logo_link{
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
2
|
+
<!-- Generator: Adobe Illustrator 17.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
|
3
|
+
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
|
4
|
+
<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
|
5
|
+
viewBox="0 0 352.214 352.214" style="enable-background:new 0 0 352.214 352.214;" xml:space="preserve">
|
|
6
|
+
<g>
|
|
7
|
+
<path d="M306.78,134.119c3.26-1.166,6.216-3.137,8.555-5.791l0.369-0.418c7.539-8.551,6.717-21.641-1.834-29.181l-45.647-40.251
|
|
8
|
+
c-3.779-3.333-8.634-5.168-13.669-5.168c-5.935,0-11.589,2.552-15.509,6.997l-0.376,0.425c-1.853,2.101-3.229,4.506-4.095,7.084
|
|
9
|
+
c-10.61-4.573-21.856-7.938-33.566-9.927V42h6.393c11.363,0,20.607-9.245,20.607-20.607v-0.785C228.008,9.245,218.764,0,207.4,0
|
|
10
|
+
h-62.785c-11.363,0-20.607,9.245-20.607,20.607v0.785c0,11.363,9.244,20.607,20.607,20.607h7.393v15.756
|
|
11
|
+
C81.705,69.301,27.894,130.48,27.894,204c0,81.726,66.488,148.214,148.213,148.214c81.726,0,148.214-66.488,148.214-148.214
|
|
12
|
+
C324.32,178.746,317.965,154.951,306.78,134.119z M176.106,316.214c-61.874,0-112.213-50.339-112.213-112.214
|
|
13
|
+
S114.232,91.786,176.106,91.786c61.875,0,112.214,50.339,112.214,112.214S237.981,316.214,176.106,316.214z"/>
|
|
14
|
+
<path d="M191.008,177.583V133c0-8.284-6.716-15-15-15c-8.284,0-15,6.716-15,15v44.697c-8.778,5.186-14.683,14.742-14.683,25.656
|
|
15
|
+
c0,16.422,13.359,29.783,29.781,29.783c16.422,0,29.782-13.36,29.782-29.783C205.889,192.358,199.895,182.742,191.008,177.583z"/>
|
|
16
|
+
</g>
|
|
17
|
+
<g>
|
|
18
|
+
</g>
|
|
19
|
+
<g>
|
|
20
|
+
</g>
|
|
21
|
+
<g>
|
|
22
|
+
</g>
|
|
23
|
+
<g>
|
|
24
|
+
</g>
|
|
25
|
+
<g>
|
|
26
|
+
</g>
|
|
27
|
+
<g>
|
|
28
|
+
</g>
|
|
29
|
+
<g>
|
|
30
|
+
</g>
|
|
31
|
+
<g>
|
|
32
|
+
</g>
|
|
33
|
+
<g>
|
|
34
|
+
</g>
|
|
35
|
+
<g>
|
|
36
|
+
</g>
|
|
37
|
+
<g>
|
|
38
|
+
</g>
|
|
39
|
+
<g>
|
|
40
|
+
</g>
|
|
41
|
+
<g>
|
|
42
|
+
</g>
|
|
43
|
+
<g>
|
|
44
|
+
</g>
|
|
45
|
+
<g>
|
|
46
|
+
</g>
|
|
47
|
+
</svg>
|
data/assets/js/createWordle.js
CHANGED
|
@@ -3,6 +3,10 @@ let generateLinkButton = document.querySelector(".generate-word-game-link")
|
|
|
3
3
|
let wordleGameLink = document.querySelector(".wordle-game-link")
|
|
4
4
|
let copy_btn = document.querySelector(".copy-btn")
|
|
5
5
|
|
|
6
|
+
|
|
7
|
+
let wordlePlayButton = document.querySelector("#wordle-play-button")
|
|
8
|
+
|
|
9
|
+
|
|
6
10
|
let form = document.querySelector('#create-wordle-form')
|
|
7
11
|
let openPopup = document.querySelector(".open-popup")
|
|
8
12
|
|
|
@@ -43,6 +47,7 @@ const createWordle = (e) => {
|
|
|
43
47
|
openPopup.click()
|
|
44
48
|
copy_btn.innerHTML = "Copy"
|
|
45
49
|
copy_btn.style.background = "dodgerblue"
|
|
50
|
+
wordlePlayButton.setAttribute("href", `/word-game-play?q=${btoa(customWord.value.toLocaleLowerCase())}`)
|
|
46
51
|
wordleGameLink.setAttribute("href", `/word-game-play?q=${btoa(customWord.value.toLocaleLowerCase())}`)
|
|
47
52
|
wordleGameLink.innerHTML = `${window.location.protocol + "//" + window.location.hostname}/word-game-play?q=${btoa(customWord.value.toLocaleLowerCase())}`
|
|
48
53
|
}
|
data/assets/js/game.js
CHANGED
|
@@ -26,6 +26,52 @@ document.querySelector(".relatedPosts").style.display = "none"
|
|
|
26
26
|
document.querySelector(".footer-section").style.display = "none"
|
|
27
27
|
document.querySelector(".rating-tool").style.display = "none"
|
|
28
28
|
|
|
29
|
+
let wordleTime = document.querySelector(".wordle-time")
|
|
30
|
+
let gameResultTime = document.querySelector("#game-result-time")
|
|
31
|
+
let wordleRunningTimer = document.querySelector("#wordle-running-timer")
|
|
32
|
+
// wordleRunningTimer.innerHTML = "00:00"
|
|
33
|
+
|
|
34
|
+
let second = 0
|
|
35
|
+
let minutes = 0
|
|
36
|
+
let clear
|
|
37
|
+
let bool = false
|
|
38
|
+
function startTime() {
|
|
39
|
+
second++
|
|
40
|
+
if (second == 59) {
|
|
41
|
+
minutes++
|
|
42
|
+
second = 0
|
|
43
|
+
}
|
|
44
|
+
min = checkTime(minutes)
|
|
45
|
+
sec = checkTime(second)
|
|
46
|
+
|
|
47
|
+
console.log(min + ":" + sec)
|
|
48
|
+
|
|
49
|
+
wordleRunningTimer.innerText = min + ":" + sec
|
|
50
|
+
gameResultTime.innerHTML = "Your game ended :" + " " + min + ":" + sec
|
|
51
|
+
|
|
52
|
+
clear = setTimeout(function () {
|
|
53
|
+
startTime()
|
|
54
|
+
}, 1000)
|
|
55
|
+
}
|
|
56
|
+
function expriyTime() {
|
|
57
|
+
clearInterval(clear)
|
|
58
|
+
}
|
|
59
|
+
function checkTime(i) {
|
|
60
|
+
if (i < 10) {
|
|
61
|
+
i = '0' + i
|
|
62
|
+
}
|
|
63
|
+
return i
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
// wordleTime.addEventListener("click", (() => {
|
|
67
|
+
// if (bool) {
|
|
68
|
+
// bool = false
|
|
69
|
+
// wordleRunningTimer.style.display = "block"
|
|
70
|
+
// } else {
|
|
71
|
+
// bool = true
|
|
72
|
+
// wordleRunningTimer.style.display = "none"
|
|
73
|
+
// }
|
|
74
|
+
// }))
|
|
29
75
|
|
|
30
76
|
let dictionary
|
|
31
77
|
let attempt = 0
|
|
@@ -38,6 +84,10 @@ getData()
|
|
|
38
84
|
|
|
39
85
|
const handleClick = (e) => {
|
|
40
86
|
if (e.target.matches("[data-key]")) {
|
|
87
|
+
pressCount++;
|
|
88
|
+
if (pressCount == 1) {
|
|
89
|
+
startTime()
|
|
90
|
+
}
|
|
41
91
|
pressKey(e.target.dataset.key)
|
|
42
92
|
return
|
|
43
93
|
}
|
|
@@ -50,7 +100,12 @@ const handleClick = (e) => {
|
|
|
50
100
|
return
|
|
51
101
|
}
|
|
52
102
|
}
|
|
103
|
+
let pressCount = 0;
|
|
53
104
|
const handleKeyPress = (e) => {
|
|
105
|
+
pressCount++;
|
|
106
|
+
if (pressCount == 1) {
|
|
107
|
+
startTime()
|
|
108
|
+
}
|
|
54
109
|
if (e.key === "Enter") {
|
|
55
110
|
handleSubmit()
|
|
56
111
|
return
|
|
@@ -59,7 +114,6 @@ const handleKeyPress = (e) => {
|
|
|
59
114
|
deleteKey()
|
|
60
115
|
return
|
|
61
116
|
}
|
|
62
|
-
|
|
63
117
|
if (e.key.match(/^[a-zA-Z]$/)) {
|
|
64
118
|
pressKey(e.key)
|
|
65
119
|
return
|
|
@@ -125,7 +179,6 @@ const handleSubmit = () => {
|
|
|
125
179
|
const evaluateTiles = (allTiles, matchedLettersCount, guessWord) => {
|
|
126
180
|
let reEvaluate = []
|
|
127
181
|
allTiles.map((tile, index) => {
|
|
128
|
-
|
|
129
182
|
if (targetWord !== guessWord) {
|
|
130
183
|
setTimeout(() => {
|
|
131
184
|
tile.classList.add("flip")
|
|
@@ -137,8 +190,6 @@ const evaluateTiles = (allTiles, matchedLettersCount, guessWord) => {
|
|
|
137
190
|
tile.classList.remove("flip")
|
|
138
191
|
})
|
|
139
192
|
}
|
|
140
|
-
|
|
141
|
-
|
|
142
193
|
let letter = tile.dataset.letter
|
|
143
194
|
let key = keyboard.querySelector(`[data-key="${letter}"i]`)
|
|
144
195
|
if (targetWord[index] === letter) {
|
|
@@ -161,7 +212,6 @@ const evaluateTiles = (allTiles, matchedLettersCount, guessWord) => {
|
|
|
161
212
|
tile.dataset.state = "wrong-word"
|
|
162
213
|
key.dataset.state = "wrong-word"
|
|
163
214
|
}
|
|
164
|
-
|
|
165
215
|
})
|
|
166
216
|
startAllEventListeners()
|
|
167
217
|
gameOver(guessWord, allTiles)
|
|
@@ -186,6 +236,7 @@ const gameOver = (guessWord, tiles) => {
|
|
|
186
236
|
})
|
|
187
237
|
}
|
|
188
238
|
if (guessWord === targetWord) {
|
|
239
|
+
expriyTime()
|
|
189
240
|
// console.log(`Wordle guessed in ${attempt}/6!`)
|
|
190
241
|
facebookSHareLink.setAttribute("href",
|
|
191
242
|
`https://www.facebook.com/share.php?u=${window.location.protocol + "//" + window.location.hostname}/word-game-play?q=${(serachValue)}"e=
|
|
@@ -212,6 +263,7 @@ const gameOver = (guessWord, tiles) => {
|
|
|
212
263
|
}
|
|
213
264
|
const remainingTiles = gameBoard.querySelectorAll(":not([data-letter])")
|
|
214
265
|
if (remainingTiles.length === 0) {
|
|
266
|
+
expriyTime()
|
|
215
267
|
facebookSHareLink.setAttribute("href",
|
|
216
268
|
`https://www.facebook.com/share.php?u=${window.location.protocol + "//" + window.location.hostname}/word-game-play?q=${(serachValue)}"e=
|
|
217
269
|
I guessed this wordle in ${attempt}/6 tries. Can you do better ?
|
|
@@ -5,6 +5,7 @@ const getScript = document.currentScript
|
|
|
5
5
|
let form = document.querySelector('#form')
|
|
6
6
|
let wordCount = document.querySelector('.wordCount')
|
|
7
7
|
let main = document.querySelector('.main')
|
|
8
|
+
// let loader = document.querySelector(".main-loader")
|
|
8
9
|
let errorMsg = document.querySelector('.errorMsg')
|
|
9
10
|
let script = document.currentScript
|
|
10
11
|
|
|
@@ -359,6 +360,8 @@ function getWords(data) {
|
|
|
359
360
|
`
|
|
360
361
|
let tabs = document.getElementsByClassName('tab_link')
|
|
361
362
|
tabs[0] ? tabs[0].classList.add('active-tab') : ''
|
|
363
|
+
|
|
364
|
+
|
|
362
365
|
main.innerHTML += `
|
|
363
366
|
<div class="allGroupWords wordlistContainer" id="alpha_${i}">
|
|
364
367
|
<div class="wordListHeading">
|
|
@@ -371,6 +374,7 @@ function getWords(data) {
|
|
|
371
374
|
</div>
|
|
372
375
|
</div>
|
|
373
376
|
`
|
|
377
|
+
|
|
374
378
|
}
|
|
375
379
|
}
|
|
376
380
|
}
|
|
@@ -759,7 +763,7 @@ function Filtering(id) {
|
|
|
759
763
|
}
|
|
760
764
|
})
|
|
761
765
|
|
|
762
|
-
document.
|
|
766
|
+
document.documentElement.scrollTop = sections[sort_val + '_' + id] + 5
|
|
763
767
|
}
|
|
764
768
|
|
|
765
769
|
// next && previous functionality
|
data/assets/js/wordScrabble.js
CHANGED
data/assets/js/xyz.js
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: word-games-theme
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.2.
|
|
4
|
+
version: 1.2.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- manpreet-appscms
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-04-
|
|
11
|
+
date: 2022-04-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|
|
@@ -262,6 +262,7 @@ files:
|
|
|
262
262
|
- assets/images/star.png
|
|
263
263
|
- assets/images/star.svg
|
|
264
264
|
- assets/images/test.png
|
|
265
|
+
- assets/images/timer.svg
|
|
265
266
|
- assets/images/twitter-square.svg
|
|
266
267
|
- assets/images/twitter.svg
|
|
267
268
|
- assets/images/twitter2.svg
|